public interface SecretOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for cloudSecret. |
getValueCase()
public abstract Secret.ValueCase getValueCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the cloudSecret field is set. |