Class: Google::Cloud::BackupDR::V1::CustomerEncryptionKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb

Overview

A customer-supplied encryption key.

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_name::String

Returns Optional. The name of the encryption key that is stored in Google Cloud KMS.

Note: The following fields are mutually exclusive: kms_key_name, raw_key, rsa_encrypted_key. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Optional. The name of the encryption key that is stored in Google Cloud KMS.

    Note: The following fields are mutually exclusive: kms_key_name, raw_key, rsa_encrypted_key. If a field in that set is populated, all other fields in the set will automatically be cleared.



365
366
367
368
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 365

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kms_key_service_account::String

Returns Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Returns:

  • (::String)

    Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.



365
366
367
368
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 365

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#raw_key::String

Returns Optional. Specifies a 256-bit customer-supplied encryption key.

Note: The following fields are mutually exclusive: raw_key, rsa_encrypted_key, kms_key_name. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Optional. Specifies a 256-bit customer-supplied encryption key.

    Note: The following fields are mutually exclusive: raw_key, rsa_encrypted_key, kms_key_name. If a field in that set is populated, all other fields in the set will automatically be cleared.



365
366
367
368
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 365

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rsa_encrypted_key::String

Returns Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

Note: The following fields are mutually exclusive: rsa_encrypted_key, raw_key, kms_key_name. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

    Note: The following fields are mutually exclusive: rsa_encrypted_key, raw_key, kms_key_name. If a field in that set is populated, all other fields in the set will automatically be cleared.



365
366
367
368
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 365

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end