Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::TransferSpec.
Configuration for running a transfer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aws_s3_data_source
def aws_s3_data_source() -> ::Google::Cloud::StorageTransfer::V1::AwsS3Data
Returns
- (::Google::Cloud::StorageTransfer::V1::AwsS3Data) — An AWS S3 data source.
#aws_s3_data_source=
def aws_s3_data_source=(value) -> ::Google::Cloud::StorageTransfer::V1::AwsS3Data
Parameter
- value (::Google::Cloud::StorageTransfer::V1::AwsS3Data) — An AWS S3 data source.
Returns
- (::Google::Cloud::StorageTransfer::V1::AwsS3Data) — An AWS S3 data source.
#azure_blob_storage_data_source
def azure_blob_storage_data_source() -> ::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData
Returns
- (::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData) — An Azure Blob Storage data source.
#azure_blob_storage_data_source=
def azure_blob_storage_data_source=(value) -> ::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData
Parameter
- value (::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData) — An Azure Blob Storage data source.
Returns
- (::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData) — An Azure Blob Storage data source.
#gcs_data_sink
def gcs_data_sink() -> ::Google::Cloud::StorageTransfer::V1::GcsData
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data sink.
#gcs_data_sink=
def gcs_data_sink=(value) -> ::Google::Cloud::StorageTransfer::V1::GcsData
Parameter
- value (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data sink.
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data sink.
#gcs_data_source
def gcs_data_source() -> ::Google::Cloud::StorageTransfer::V1::GcsData
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data source.
#gcs_data_source=
def gcs_data_source=(value) -> ::Google::Cloud::StorageTransfer::V1::GcsData
Parameter
- value (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data source.
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — A Cloud Storage data source.
#gcs_intermediate_data_location
def gcs_intermediate_data_location() -> ::Google::Cloud::StorageTransfer::V1::GcsData
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — Cloud Storage intermediate data location.
#gcs_intermediate_data_location=
def gcs_intermediate_data_location=(value) -> ::Google::Cloud::StorageTransfer::V1::GcsData
Parameter
- value (::Google::Cloud::StorageTransfer::V1::GcsData) — Cloud Storage intermediate data location.
Returns
- (::Google::Cloud::StorageTransfer::V1::GcsData) — Cloud Storage intermediate data location.
#http_data_source
def http_data_source() -> ::Google::Cloud::StorageTransfer::V1::HttpData
Returns
- (::Google::Cloud::StorageTransfer::V1::HttpData) — An HTTP URL data source.
#http_data_source=
def http_data_source=(value) -> ::Google::Cloud::StorageTransfer::V1::HttpData
Parameter
- value (::Google::Cloud::StorageTransfer::V1::HttpData) — An HTTP URL data source.
Returns
- (::Google::Cloud::StorageTransfer::V1::HttpData) — An HTTP URL data source.
#object_conditions
def object_conditions() -> ::Google::Cloud::StorageTransfer::V1::ObjectConditions
Returns
- (::Google::Cloud::StorageTransfer::V1::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.
#object_conditions=
def object_conditions=(value) -> ::Google::Cloud::StorageTransfer::V1::ObjectConditions
Parameter
- value (::Google::Cloud::StorageTransfer::V1::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.
Returns
- (::Google::Cloud::StorageTransfer::V1::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.
#posix_data_sink
def posix_data_sink() -> ::Google::Cloud::StorageTransfer::V1::PosixFilesystem
Returns
- (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data sink.
#posix_data_sink=
def posix_data_sink=(value) -> ::Google::Cloud::StorageTransfer::V1::PosixFilesystem
Parameter
- value (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data sink.
Returns
- (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data sink.
#posix_data_source
def posix_data_source() -> ::Google::Cloud::StorageTransfer::V1::PosixFilesystem
Returns
- (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data source.
#posix_data_source=
def posix_data_source=(value) -> ::Google::Cloud::StorageTransfer::V1::PosixFilesystem
Parameter
- value (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data source.
Returns
- (::Google::Cloud::StorageTransfer::V1::PosixFilesystem) — A POSIX Filesystem data source.
#sink_agent_pool_name
def sink_agent_pool_name() -> ::String
Returns
- (::String) — Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.
#sink_agent_pool_name=
def sink_agent_pool_name=(value) -> ::String
Parameter
- value (::String) — Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.
Returns
- (::String) — Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.
#source_agent_pool_name
def source_agent_pool_name() -> ::String
Returns
- (::String) — Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.
#source_agent_pool_name=
def source_agent_pool_name=(value) -> ::String
Parameter
- value (::String) — Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.
Returns
- (::String) — Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.
#transfer_manifest
def transfer_manifest() -> ::Google::Cloud::StorageTransfer::V1::TransferManifest
Returns
- (::Google::Cloud::StorageTransfer::V1::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.
#transfer_manifest=
def transfer_manifest=(value) -> ::Google::Cloud::StorageTransfer::V1::TransferManifest
Parameter
- value (::Google::Cloud::StorageTransfer::V1::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.
Returns
- (::Google::Cloud::StorageTransfer::V1::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.
#transfer_options
def transfer_options() -> ::Google::Cloud::StorageTransfer::V1::TransferOptions
Returns
-
(::Google::Cloud::StorageTransfer::V1::TransferOptions) — If the option
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 error.
#transfer_options=
def transfer_options=(value) -> ::Google::Cloud::StorageTransfer::V1::TransferOptions
Parameter
-
value (::Google::Cloud::StorageTransfer::V1::TransferOptions) — If the option
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 error.
Returns
-
(::Google::Cloud::StorageTransfer::V1::TransferOptions) — If the option
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 error.