Cloud Spanner V1 Client - Class EncryptionType (1.79.0)

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

Encryption types for the database to be restored.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1 \ RestoreDatabaseEncryptionConfig

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 when encryption_config is not specified.

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, kms_key_name must must contain a valid Cloud KMS key.

Generated from protobuf enum CUSTOMER_MANAGED_ENCRYPTION = 3;