Interface SecretRefOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SecretRef, SecretRef.Builder

@Generated public interface SecretRefOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    The Cloud Secret Manager secret version.
    com.google.protobuf.ByteString
    The Cloud Secret Manager secret version.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSecret

      String getSecret()
       Required. The name of the secret in Cloud Secret Manager.
       Format: {secret_name}.
       
      string secret = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The secret.
    • getSecretBytes

      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];
      Returns:
      The bytes for secret.
    • getVersion

      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;
      Returns:
      The version.
    • getVersionBytes

      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;
      Returns:
      The bytes for version.