Interface SecretOrBuilder (2.4.0)

public interface SecretOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSecret()

public abstract String getCloudSecret()

The relative resource name of a Secret Manager secret version, in the following form: projects/{project_number}/secrets/{secret_id}/versions/{version_id}.

string cloud_secret = 2;

Returns
TypeDescription
String

The cloudSecret.

getCloudSecretBytes()

public abstract ByteString getCloudSecretBytes()

The relative resource name of a Secret Manager secret version, in the following form: projects/{project_number}/secrets/{secret_id}/versions/{version_id}.

string cloud_secret = 2;

Returns
TypeDescription
ByteString

The bytes for cloudSecret.

getValueCase()

public abstract Secret.ValueCase getValueCase()
Returns
TypeDescription
Secret.ValueCase

hasCloudSecret()

public abstract boolean hasCloudSecret()

The relative resource name of a Secret Manager secret version, in the following form: projects/{project_number}/secrets/{secret_id}/versions/{version_id}.

string cloud_secret = 2;

Returns
TypeDescription
boolean

Whether the cloudSecret field is set.