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] [google.storagetransfer.v1.TransferOptions.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] [google.storagetransfer.v1.TransferOptions.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] [google.storagetransfer.v1.TransferOptions.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] [google.storagetransfer.v1.TransferOptions.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] [google.storagetransfer.v1.TransferOptions.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] [google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are mutually exclusive.
#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 will be 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 will be 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 will be overwritten with the source object.