Class TransferSpec (1.1.1)

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

Configuration for running a transfer.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
gcs_data_sink google.cloud.storage_transfer_v1.types.GcsData
A Cloud Storage data sink. This field is a member of oneof_ data_sink.
gcs_data_source google.cloud.storage_transfer_v1.types.GcsData
A Cloud Storage data source. This field is a member of oneof_ data_source.
aws_s3_data_source google.cloud.storage_transfer_v1.types.AwsS3Data
An AWS S3 data source. This field is a member of oneof_ data_source.
http_data_source google.cloud.storage_transfer_v1.types.HttpData
An HTTP URL data source. This field is a member of oneof_ data_source.
azure_blob_storage_data_source google.cloud.storage_transfer_v1.types.AzureBlobStorageData
An Azure Blob Storage data source. This field is a member of oneof_ 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.