public interface SecretRefOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getSecret()
Required.
|
com.google.protobuf.ByteString |
getSecretBytes()
Required.
|
String |
getVersion()
The Cloud Secret Manager secret version.
|
com.google.protobuf.ByteString |
getVersionBytes()
The Cloud Secret Manager secret version.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSecret()
Required. The name of the secret in Cloud Secret Manager.
Format: {secret_name}.
string secret = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getSecretBytes()
Required. The name of the secret in Cloud Secret Manager.
Format: {secret_name}.
string secret = 1 [(.google.api.field_behavior) = REQUIRED];String getVersion()
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
string version = 2;com.google.protobuf.ByteString getVersionBytes()
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
string version = 2;Copyright © 2025 Google LLC. All rights reserved.