Class TransferSpec (1.11.2)

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.
posix_data_sink google.cloud.storage_transfer_v1.types.PosixFilesystem
A POSIX Filesystem 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.
posix_data_source google.cloud.storage_transfer_v1.types.PosixFilesystem
A POSIX Filesystem 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.
aws_s3_compatible_data_source google.cloud.storage_transfer_v1.types.AwsS3CompatibleData
An AWS S3 compatible data source. This field is a member of oneof_ data_source.
gcs_intermediate_data_location google.cloud.storage_transfer_v1.types.GcsData
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data. See `Transfer data between file systems
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.
transfer_manifest google.cloud.storage_transfer_v1.types.TransferManifest
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.
source_agent_pool_name str
Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.
sink_agent_pool_name str
Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.