public sealed class TransferOptions : IMessage<TransferOptions>, IEquatable<TransferOptions>, IDeepCloneable<TransferOptions>, IBufferMessage, IMessage
TransferOptions define the actions to be performed on objects in a transfer.
public bool DeleteObjectsFromSourceAfterTransfer { get; set; }
Whether objects should be deleted from the source after they are
transferred to the sink.
Note: This option and [delete_objects_unique_in_sink]
[google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
are mutually exclusive.
public bool DeleteObjectsUniqueInSink { get; set; }
Whether objects that exist only in the sink should be deleted.
Note: This option and [delete_objects_from_source_after_transfer]
[google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer]
are mutually exclusive.
public bool OverwriteObjectsAlreadyExistingInSink { get; set; }
When to overwrite objects that already exist in the sink. The default is
that only objects that are different from the source are ovewritten. If
true, all objects in the sink whose name matches an object in the source
will be overwritten with the source object.
[[["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\u003eThe \u003ccode\u003eTransferOptions\u003c/code\u003e class defines actions to be performed on objects during a transfer process.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.StorageTransfer.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one being a default, and the other taking in \u003ccode\u003eTransferOptions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are three main properties of this class which are; \u003ccode\u003eDeleteObjectsFromSourceAfterTransfer\u003c/code\u003e, \u003ccode\u003eDeleteObjectsUniqueInSink\u003c/code\u003e, and \u003ccode\u003eOverwriteObjectsAlreadyExistingInSink\u003c/code\u003e which each define boolean behavior options for the transfer process.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available, with version 2.8.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]