Interface Encryption.SecretManagerSourceOrBuilder (0.54.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. projects/{project}/secrets/{secret_id}/versions/{version_number}

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

Returns
Type Description
String

The secretVersion.

getSecretVersionBytes()

public abstract ByteString getSecretVersionBytes()

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

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

Returns
Type Description
ByteString

The bytes for secretVersion.