Storage Transfer v1 API - Enum TransferOptions.Types.OverwriteWhen (2.2.0)

public enum OverwriteWhen

Reference documentation and code samples for the Storage Transfer v1 API enum TransferOptions.Types.OverwriteWhen.

Specifies when to overwrite an object in the sink when an object with matching name is found in the source.

Namespace

Google.Cloud.StorageTransfer.V1

Assembly

Google.Cloud.StorageTransfer.V1.dll

Fields

NameDescription
Always

Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same.

Different

Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values.

Never

Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred.

Unspecified

Overwrite behavior is unspecified.