Use the destination bucket's default encryption settings.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMetadataOptions.Types.KmsKey\u003c/code\u003e enum within the Google Cloud Storage Transfer v1 API, detailing the options for handling KmsKey settings for Google Cloud Storage objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this documentation is 2.8.0, and the current page is for version 2.7.0, with historical versions back to 1.0.0 also being accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadataOptions.Types.KmsKey\u003c/code\u003e enum offers three fields: \u003ccode\u003eDestinationBucketDefault\u003c/code\u003e to use the destination bucket's default encryption, \u003ccode\u003ePreserve\u003c/code\u003e to keep the object's original Cloud KMS key if present, and \u003ccode\u003eUnspecified\u003c/code\u003e to signify unspecified behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation pertains to the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]