Enum CopyBackupEncryptionConfig.EncryptionType (6.72.0)

public enum CopyBackupEncryptionConfig.EncryptionType extends Enum<CopyBackupEncryptionConfig.EncryptionType> implements ProtocolMessageEnum

Encryption types for the backup.

Protobuf enum google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CUSTOMER_MANAGED_ENCRYPTION

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;

CUSTOMER_MANAGED_ENCRYPTION_VALUE

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;

ENCRYPTION_TYPE_UNSPECIFIED

Unspecified. Do not use.

ENCRYPTION_TYPE_UNSPECIFIED = 0;

ENCRYPTION_TYPE_UNSPECIFIED_VALUE

Unspecified. Do not use.

ENCRYPTION_TYPE_UNSPECIFIED = 0;

GOOGLE_DEFAULT_ENCRYPTION

Use Google default encryption.

GOOGLE_DEFAULT_ENCRYPTION = 2;

GOOGLE_DEFAULT_ENCRYPTION_VALUE

Use Google default encryption.

GOOGLE_DEFAULT_ENCRYPTION = 2;

UNRECOGNIZED
USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION

This is the default option for CopyBackup when 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_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE

This is the default option for CopyBackup when 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;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()