class Google::Apis::StoragetransferV1::TransferOptions
TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer.
Attributes
Whether objects should be deleted from the source after they are transferred to the sink. Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer` @return [Boolean]
Whether objects should be deleted from the source after they are transferred to the sink. Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer` @return [Boolean]
Whether objects that exist only in the sink should be deleted. Corresponds to the JSON property `deleteObjectsUniqueInSink` @return [Boolean]
Whether objects that exist only in the sink should be deleted. Corresponds to the JSON property `deleteObjectsUniqueInSink` @return [Boolean]
Whether overwriting objects that already exist in the sink is allowed. Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink` @return [Boolean]
Whether overwriting objects that already exist in the sink is allowed. Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink` @return [Boolean]
Public Class Methods
# File generated/google/apis/storagetransfer_v1/classes.rb, line 388 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/storagetransfer_v1/classes.rb, line 393 def update!(**args) @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink) @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink) @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer) end