Class: Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/backup.rb
Overview
Encryption configuration for the copied backup.
Defined Under Namespace
Modules: EncryptionType
Instance Attribute Summary collapse
-
#encryption_type ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig::EncryptionType
Required.
-
#kms_key_name ⇒ ::String
Optional.
-
#kms_key_names ⇒ ::Array<::String>
Optional.
Instance Attribute Details
#encryption_type ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig::EncryptionType
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 670 class CopyBackupEncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption types for the backup. module EncryptionType # Unspecified. Do not use. ENCRYPTION_TYPE_UNSPECIFIED = 0 # This is the default option for # {::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#copy_backup CopyBackup} # when # {::Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig encryption_config} # is not specified. For example, if the source backup is using # `Customer_Managed_Encryption`, the backup will be using the same Cloud # KMS key as the source backup. USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1 # Use Google default encryption. GOOGLE_DEFAULT_ENCRYPTION = 2 # Use customer managed encryption. If specified, either `kms_key_name` or # `kms_key_names` must contain valid Cloud KMS key(s). CUSTOMER_MANAGED_ENCRYPTION = 3 end end |
#kms_key_name ⇒ ::String
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 670 class CopyBackupEncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption types for the backup. module EncryptionType # Unspecified. Do not use. ENCRYPTION_TYPE_UNSPECIFIED = 0 # This is the default option for # {::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#copy_backup CopyBackup} # when # {::Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig encryption_config} # is not specified. For example, if the source backup is using # `Customer_Managed_Encryption`, the backup will be using the same Cloud # KMS key as the source backup. USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1 # Use Google default encryption. GOOGLE_DEFAULT_ENCRYPTION = 2 # Use customer managed encryption. If specified, either `kms_key_name` or # `kms_key_names` must contain valid Cloud KMS key(s). CUSTOMER_MANAGED_ENCRYPTION = 3 end end |
#kms_key_names ⇒ ::Array<::String>
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 670 class CopyBackupEncryptionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Encryption types for the backup. module EncryptionType # Unspecified. Do not use. ENCRYPTION_TYPE_UNSPECIFIED = 0 # This is the default option for # {::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client#copy_backup CopyBackup} # when # {::Google::Cloud::Spanner::Admin::Database::V1::CopyBackupEncryptionConfig encryption_config} # is not specified. For example, if the source backup is using # `Customer_Managed_Encryption`, the backup will be using the same Cloud # KMS key as the source backup. USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1 # Use Google default encryption. GOOGLE_DEFAULT_ENCRYPTION = 2 # Use customer managed encryption. If specified, either `kms_key_name` or # `kms_key_names` must contain valid Cloud KMS key(s). CUSTOMER_MANAGED_ENCRYPTION = 3 end end |