public enum TransferTypes.MetadataOptions.KmsKey extends Enum<TransferTypes.MetadataOptions.KmsKey> implements ProtocolMessageEnum
Options for handling the KmsKey setting for Google Cloud Storage objects.
Protobuf enum google.storagetransfer.v1.MetadataOptions.KmsKey
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
KMS_KEY_DESTINATION_BUCKET_DEFAULT |
Use the destination bucket's default encryption settings. |
KMS_KEY_DESTINATION_BUCKET_DEFAULT_VALUE |
Use the destination bucket's default encryption settings. |
KMS_KEY_PRESERVE |
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. |
KMS_KEY_PRESERVE_VALUE |
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. |
KMS_KEY_UNSPECIFIED |
KmsKey behavior is unspecified. |
KMS_KEY_UNSPECIFIED_VALUE |
KmsKey behavior is unspecified. |
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() |