Show / Hide Table of Contents

Class TransferOptions

TransferOptions define the actions to be performed on objects in a transfer.

Inheritance
object
TransferOptions
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storagetransfer.v1.Data
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class TransferOptions : IDirectResponseSchema

Properties

DeleteObjectsFromSourceAfterTransfer

Whether objects should be deleted from the source after they are transferred to the sink. Note: This option and delete_objects_unique_in_sink are mutually exclusive.

Declaration
[JsonProperty("deleteObjectsFromSourceAfterTransfer")]
public virtual bool? DeleteObjectsFromSourceAfterTransfer { get; set; }
Property Value
Type Description
bool?

DeleteObjectsUniqueInSink

Whether objects that exist only in the sink should be deleted. Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.

Declaration
[JsonProperty("deleteObjectsUniqueInSink")]
public virtual bool? DeleteObjectsUniqueInSink { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MetadataOptions

Represents the selected metadata options for a transfer job.

Declaration
[JsonProperty("metadataOptions")]
public virtual MetadataOptions MetadataOptions { get; set; }
Property Value
Type Description
MetadataOptions

OverwriteObjectsAlreadyExistingInSink

When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are overwritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.

Declaration
[JsonProperty("overwriteObjectsAlreadyExistingInSink")]
public virtual bool? OverwriteObjectsAlreadyExistingInSink { get; set; }
Property Value
Type Description
bool?

OverwriteWhen

When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.

Declaration
[JsonProperty("overwriteWhen")]
public virtual string OverwriteWhen { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX