Interface ApiAuth.ApiKeyConfigOrBuilder (3.56.0)

public static interface ApiAuth.ApiKeyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiKeySecretVersion()

public abstract String getApiKeySecretVersion()

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

string api_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The apiKeySecretVersion.

getApiKeySecretVersionBytes()

public abstract ByteString getApiKeySecretVersionBytes()

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

string api_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for apiKeySecretVersion.