Enum CreateBackupEncryptionConfig.EncryptionType (6.69.0)

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

Encryption types for the backup.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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_DATABASE_ENCRYPTION

Use the same encryption configuration as the database. This is the default option when encryption_config is empty. For example, if the database is using Customer_Managed_Encryption, the backup will be using the same Cloud KMS key as the database.

USE_DATABASE_ENCRYPTION = 1;

USE_DATABASE_ENCRYPTION_VALUE

Use the same encryption configuration as the database. This is the default option when encryption_config is empty. For example, if the database is using Customer_Managed_Encryption, the backup will be using the same Cloud KMS key as the database.

USE_DATABASE_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()