Interface Encryption.SecretManagerSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Encryption.SecretManagerSource, Encryption.SecretManagerSource.Builder
Enclosing class:
Encryption

public static interface Encryption.SecretManagerSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getSecretVersion

      String getSecretVersion()
       Required. The name of the Secret Version containing the encryption key in
       the following format:
       `projects/{project}/secrets/{secret_id}/versions/{version_number}`
      
       Note that only numbered versions are supported. Aliases like "latest" are
       not supported.
       
      string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The secretVersion.
    • getSecretVersionBytes

      com.google.protobuf.ByteString getSecretVersionBytes()
       Required. The name of the Secret Version containing the encryption key in
       the following format:
       `projects/{project}/secrets/{secret_id}/versions/{version_number}`
      
       Note that only numbered versions are supported. Aliases like "latest" are
       not supported.
       
      string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for secretVersion.