Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::TransferOptions.
TransferOptions define the actions to be performed on objects in a transfer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delete_objects_from_source_after_transfer
def delete_objects_from_source_after_transfer() -> ::Boolean
-
(::Boolean) — Whether objects should be deleted from the source after they are
transferred to the sink.
Note: This option and delete_objects_unique_in_sink are mutually exclusive.
#delete_objects_from_source_after_transfer=
def delete_objects_from_source_after_transfer=(value) -> ::Boolean
-
value (::Boolean) — Whether objects should be deleted from the source after they are
transferred to the sink.
Note: This option and delete_objects_unique_in_sink are mutually exclusive.
-
(::Boolean) — Whether objects should be deleted from the source after they are
transferred to the sink.
Note: This option and delete_objects_unique_in_sink are mutually exclusive.
#delete_objects_unique_in_sink
def delete_objects_unique_in_sink() -> ::Boolean
-
(::Boolean) — Whether objects that exist only in the sink should be deleted.
Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
#delete_objects_unique_in_sink=
def delete_objects_unique_in_sink=(value) -> ::Boolean
-
value (::Boolean) — Whether objects that exist only in the sink should be deleted.
Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
-
(::Boolean) — Whether objects that exist only in the sink should be deleted.
Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
#metadata_options
def metadata_options() -> ::Google::Cloud::StorageTransfer::V1::MetadataOptions
- (::Google::Cloud::StorageTransfer::V1::MetadataOptions) — Represents the selected metadata options for a transfer job. This feature is in Preview.
#metadata_options=
def metadata_options=(value) -> ::Google::Cloud::StorageTransfer::V1::MetadataOptions
- value (::Google::Cloud::StorageTransfer::V1::MetadataOptions) — Represents the selected metadata options for a transfer job. This feature is in Preview.
- (::Google::Cloud::StorageTransfer::V1::MetadataOptions) — Represents the selected metadata options for a transfer job. This feature is in Preview.
#overwrite_objects_already_existing_in_sink
def overwrite_objects_already_existing_in_sink() -> ::Boolean
- (::Boolean) — When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
#overwrite_objects_already_existing_in_sink=
def overwrite_objects_already_existing_in_sink=(value) -> ::Boolean
- value (::Boolean) — When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
- (::Boolean) — When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
#overwrite_when
def overwrite_when() -> ::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen
- (::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen) — When to overwrite objects that already exist in the sink. If not set overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
#overwrite_when=
def overwrite_when=(value) -> ::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen
- value (::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen) — When to overwrite objects that already exist in the sink. If not set overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
- (::Google::Cloud::StorageTransfer::V1::TransferOptions::OverwriteWhen) — When to overwrite objects that already exist in the sink. If not set overwrite behavior is determined by overwrite_objects_already_existing_in_sink.