Enum RestoreDatabaseEncryptionConfig.EncryptionType (6.49.0)

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

Encryption types for the database to be restored.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CUSTOMER_MANAGED_ENCRYPTION

Use customer managed encryption. If specified, kms_key_name must 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 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 when encryption_config is not specified.

USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1;

USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE

This is the default option when encryption_config is not specified.

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