Class TransferSpec (2.0.0)

public sealed class TransferSpec : IMessage<TransferSpec>, IEquatable<TransferSpec>, IDeepCloneable<TransferSpec>, IBufferMessage, IMessage

Configuration for running a transfer.

Inheritance

Object > TransferSpec

Namespace

Google.Cloud.StorageTransfer.V1

Assembly

Google.Cloud.StorageTransfer.V1.dll

Constructors

TransferSpec()

public TransferSpec()

TransferSpec(TransferSpec)

public TransferSpec(TransferSpec other)
Parameter
NameDescription
otherTransferSpec

Properties

AwsS3DataSource

public AwsS3Data AwsS3DataSource { get; set; }

An AWS S3 data source.

Property Value
TypeDescription
AwsS3Data

AzureBlobStorageDataSource

public AzureBlobStorageData AzureBlobStorageDataSource { get; set; }

An Azure Blob Storage data source.

Property Value
TypeDescription
AzureBlobStorageData

DataSinkCase

public TransferSpec.DataSinkOneofCase DataSinkCase { get; }
Property Value
TypeDescription
TransferSpec.DataSinkOneofCase

DataSourceCase

public TransferSpec.DataSourceOneofCase DataSourceCase { get; }
Property Value
TypeDescription
TransferSpec.DataSourceOneofCase

GcsDataSink

public GcsData GcsDataSink { get; set; }

A Cloud Storage data sink.

Property Value
TypeDescription
GcsData

GcsDataSource

public GcsData GcsDataSource { get; set; }

A Cloud Storage data source.

Property Value
TypeDescription
GcsData

GcsIntermediateDataLocation

public GcsData GcsIntermediateDataLocation { get; set; }

Cloud Storage intermediate data location.

Property Value
TypeDescription
GcsData

HttpDataSource

public HttpData HttpDataSource { get; set; }

An HTTP URL data source.

Property Value
TypeDescription
HttpData

IntermediateDataLocationCase

public TransferSpec.IntermediateDataLocationOneofCase IntermediateDataLocationCase { get; }
Property Value
TypeDescription
TransferSpec.IntermediateDataLocationOneofCase

ObjectConditions

public ObjectConditions ObjectConditions { get; set; }

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

Property Value
TypeDescription
ObjectConditions

PosixDataSink

public PosixFilesystem PosixDataSink { get; set; }

A POSIX Filesystem data sink.

Property Value
TypeDescription
PosixFilesystem

PosixDataSource

public PosixFilesystem PosixDataSource { get; set; }

A POSIX Filesystem data source.

Property Value
TypeDescription
PosixFilesystem

SinkAgentPoolName

public string SinkAgentPoolName { get; set; }

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

Property Value
TypeDescription
String

SourceAgentPoolName

public string SourceAgentPoolName { get; set; }

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

Property Value
TypeDescription
String

TransferManifest

public TransferManifest TransferManifest { get; set; }

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

Property Value
TypeDescription
TransferManifest

TransferOptions

public TransferOptions TransferOptions { get; set; }

If the option [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink] is true and time-based object conditions such as 'last modification time' are specified, the request fails with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.

Property Value
TypeDescription
TransferOptions