Class TransferSpec (1.0.2)

TransferSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for running a transfer. .. attribute:: gcs_data_sink

A Cloud Storage data sink.

:type: google.cloud.storage_transfer_v1.types.GcsData

Attributes

NameDescription
gcs_data_source google.cloud.storage_transfer_v1.types.GcsData
A Cloud Storage data source.
aws_s3_data_source google.cloud.storage_transfer_v1.types.AwsS3Data
An AWS S3 data source.
http_data_source google.cloud.storage_transfer_v1.types.HttpData
An HTTP URL data source.
azure_blob_storage_data_source google.cloud.storage_transfer_v1.types.AzureBlobStorageData
An Azure Blob Storage data source.
object_conditions google.cloud.storage_transfer_v1.types.ObjectConditions
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.
transfer_options google.cloud.storage_transfer_v1.types.TransferOptions
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.