Table of Contents

Class ApiAuthApiKeyConfig

Namespace
GenerativeAI.Types.RagEngine
Assembly
GenerativeAI.dll

The API secret.

public class ApiAuthApiKeyConfig
Inheritance
ApiAuthApiKeyConfig
Inherited Members
Extension Methods

Properties

ApiKeySecretVersion

Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}

[JsonPropertyName("apiKeySecretVersion")]
public string? ApiKeySecretVersion { get; set; }

Property Value

string

ApiKeyString

The API key to be used in the request directly.

[JsonPropertyName("apiKeyString")]
public string? ApiKeyString { get; set; }

Property Value

string