MetadataOptionsKmsKey

enum MetadataOptionsKmsKey : Enum<MetadataOptionsKmsKey> , ConvertibleToJava<MetadataOptionsKmsKey>

Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as KMS_KEY_DESTINATION_BUCKET_DEFAULT.

Entries

Link copied to clipboard

KmsKey behavior is unspecified.

Link copied to clipboard

Use the destination bucket's default encryption settings.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: MetadataOptionsKmsKey
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): MetadataOptionsKmsKey
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.