Struct google_storagetransfer1::api::TransferOptions
source · pub struct TransferOptions {
pub delete_objects_from_source_after_transfer: Option<bool>,
pub delete_objects_unique_in_sink: Option<bool>,
pub metadata_options: Option<MetadataOptions>,
pub overwrite_objects_already_existing_in_sink: Option<bool>,
pub overwrite_when: Option<String>,
}
Expand description
TransferOptions define the actions to be performed on objects in a transfer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§delete_objects_from_source_after_transfer: Option<bool>
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: Option<bool>
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: Option<MetadataOptions>
Represents the selected metadata options for a transfer job.
overwrite_objects_already_existing_in_sink: Option<bool>
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: Option<String>
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
Trait Implementations§
source§impl Clone for TransferOptions
impl Clone for TransferOptions
source§fn clone(&self) -> TransferOptions
fn clone(&self) -> TransferOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more