Class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
Config for authentication with API key.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig : IDirectResponseSchema
Properties
ApiKeySecret
Optional. The name of the SecretManager secret version resource storing the API key. Format:
projects/{project}/secrets/{secrete}/versions/{version}
- If both api_key_secret
and api_key_string
are specified, this field takes precedence over api_key_string
. - If specified, the
secretmanager.versions.access
permission should be granted to Vertex AI Extension Service Agent
(https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.
Declaration
[JsonProperty("apiKeySecret")]
public virtual string ApiKeySecret { get; set; }
Property Value
Type | Description |
---|---|
string |
ApiKeyString
Optional. The API key to be used in the request directly.
Declaration
[JsonProperty("apiKeyString")]
public virtual string ApiKeyString { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpElementLocation
Optional. The location of the API key.
Declaration
[JsonProperty("httpElementLocation")]
public virtual string HttpElementLocation { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |