Cloud Spanner V1 Client - Class EncryptionType (1.89.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class EncryptionType.

Encryption types for the backup.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1 \ CopyBackupEncryptionConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ENCRYPTION_TYPE_UNSPECIFIED

Value: 0

Unspecified. Do not use.

Generated from protobuf enum ENCRYPTION_TYPE_UNSPECIFIED = 0;

USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION

Value: 1

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.

Generated from protobuf enum USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1;

GOOGLE_DEFAULT_ENCRYPTION

Value: 2

Use Google default encryption.

Generated from protobuf enum GOOGLE_DEFAULT_ENCRYPTION = 2;

CUSTOMER_MANAGED_ENCRYPTION

Value: 3

Use customer managed encryption. If specified, either kms_key_name or kms_key_names must contain valid Cloud KMS key(s).

Generated from protobuf enum CUSTOMER_MANAGED_ENCRYPTION = 3;