Enum EncryptionInfo.Type (6.68.0)

public enum EncryptionInfo.Type extends Enum<EncryptionInfo.Type> implements ProtocolMessageEnum

Possible encryption types.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CUSTOMER_MANAGED_ENCRYPTION

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.

CUSTOMER_MANAGED_ENCRYPTION = 2;

CUSTOMER_MANAGED_ENCRYPTION_VALUE

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.

CUSTOMER_MANAGED_ENCRYPTION = 2;

GOOGLE_DEFAULT_ENCRYPTION

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.

GOOGLE_DEFAULT_ENCRYPTION = 1;

GOOGLE_DEFAULT_ENCRYPTION_VALUE

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.

GOOGLE_DEFAULT_ENCRYPTION = 1;

TYPE_UNSPECIFIED

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

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

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

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

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