Class ApiKeyConfig
Configurations for authentication with API key.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class ApiKeyConfig : IDirectResponseSchema
Properties
ApiKeySecretVersion
Required. The name of the SecretManager secret version resource storing the API key. Format:
projects/{project}/secrets/{secret}/versions/{version} Note: You should grant
roles/secretmanager.secretAccessor role to the CES service agent
service-@gcp-sa-ces.iam.gserviceaccount.com.
Declaration
[JsonProperty("apiKeySecretVersion")]
public virtual string ApiKeySecretVersion { 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 |
KeyName
Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
Declaration
[JsonProperty("keyName")]
public virtual string KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestLocation
Required. Key location in the request.
Declaration
[JsonProperty("requestLocation")]
public virtual string RequestLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |