Google Cloud Storage Transfer V1 Client - Class KmsKey (1.0.6)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class KmsKey.

Options for handling the KmsKey setting for Google Cloud Storage objects.

Protobuf type google.storagetransfer.v1.MetadataOptions.KmsKey

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

KMS_KEY_UNSPECIFIED

Value: 0

KmsKey behavior is unspecified.

Generated from protobuf enum KMS_KEY_UNSPECIFIED = 0;

KMS_KEY_DESTINATION_BUCKET_DEFAULT

Value: 1

Use the destination bucket's default encryption settings.

Generated from protobuf enum KMS_KEY_DESTINATION_BUCKET_DEFAULT = 1;

KMS_KEY_PRESERVE

Value: 2

Preserve the object's original Cloud KMS customer-managed encryption key (CMEK) if present. Objects that do not use a Cloud KMS encryption key will be encrypted using the destination bucket's encryption settings.

Generated from protobuf enum KMS_KEY_PRESERVE = 2;