Enum CopyBackupEncryptionConfig.EncryptionType (6.25.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

NameDescription
CUSTOMER_MANAGED_ENCRYPTION

Use customer managed encryption. If specified, kms_key_name must contain a valid Cloud KMS key.

CUSTOMER_MANAGED_ENCRYPTION = 3;

CUSTOMER_MANAGED_ENCRYPTION_VALUE

Use customer managed encryption. If specified, kms_key_name must contain a valid Cloud KMS key.

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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()