Interface Encryption.SecretManagerSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getSecretVersion()
      Required.
      com.google.protobuf.ByteString getSecretVersionBytes()
      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 Detail

      • 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.