Class GoogleCloudApihubV1ApiKeyConfig
Config for authentication with API key.
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1.Data
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class GoogleCloudApihubV1ApiKeyConfig : IDirectResponseSchema
Properties
ApiKey
Required. The name of the SecretManager secret version resource storing the API key. Format:
projects/{project}/secrets/{secrete}/versions/{version}
. The secretmanager.versions.access
permission
should be granted to the service account accessing the secret.
Declaration
[JsonProperty("apiKey")]
public virtual GoogleCloudApihubV1Secret ApiKey { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudApihubV1Secret |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpElementLocation
Required. The location of the API key. The default value is QUERY.
Declaration
[JsonProperty("httpElementLocation")]
public virtual string HttpElementLocation { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. 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 |