Cloud Spanner V1 Client - Class Type (1.55.0)

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

Possible encryption types.

Protobuf type google.spanner.admin.database.v1.EncryptionInfo.Type

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Encryption type was not specified, though data at rest remains encrypted.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

GOOGLE_DEFAULT_ENCRYPTION

Value: 1

The data is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated.

This is the default state.

Generated from protobuf enum GOOGLE_DEFAULT_ENCRYPTION = 1;

CUSTOMER_MANAGED_ENCRYPTION

Value: 2

The data is encrypted at rest with a key that is managed by the customer. The active version of the key. kms_key_version will be populated, and encryption_status may be populated.

Generated from protobuf enum CUSTOMER_MANAGED_ENCRYPTION = 2;