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 document provides reference documentation for the \u003ccode\u003eKmsKey\u003c/code\u003e enum within the Storage Transfer v1 API, detailing options for handling encryption keys in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is version 2.8.0, with versions ranging back to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKey\u003c/code\u003e enum offers three fields: \u003ccode\u003eDestinationBucketDefault\u003c/code\u003e, which uses the destination bucket's default encryption; \u003ccode\u003ePreserve\u003c/code\u003e, which keeps the original Cloud KMS encryption key if present; and \u003ccode\u003eUnspecified\u003c/code\u003e, for when the KmsKey behavior is not defined.\u003c/p\u003e\n"],["\u003cp\u003eAll versions listed are within the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]