Interface Encryption.SecretManagerSourceOrBuilder (1.42.0)

public static interface Encryption.SecretManagerSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecretVersion()

public abstract String getSecretVersion()

Required. The name of the Secret Version containing the encryption key in the following format: projects/{project}/secrets/{secret_id}/versions/{version_number}

Note that only numbered versions are supported. Aliases like "latest" are not supported.

string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The secretVersion.

getSecretVersionBytes()

public abstract ByteString getSecretVersionBytes()

Required. The name of the Secret Version containing the encryption key in the following format: projects/{project}/secrets/{secret_id}/versions/{version_number}

Note that only numbered versions are supported. Aliases like "latest" are not supported.

string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for secretVersion.