Interface Encryption.SecretManagerSourceOrBuilder (0.20.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
TypeDescription
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
TypeDescription
ByteString

The bytes for secretVersion.