View Source GoogleApi.StorageTransfer.V1.Model.TransferOptions (google_api_storage_transfer v0.33.2)

TransferOptions define the actions to be performed on objects in a transfer.


  • deleteObjectsFromSourceAfterTransfer (type: boolean(), default: nil) - 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.
  • deleteObjectsUniqueInSink (type: boolean(), default: nil) - Whether objects that exist only in the sink should be deleted. Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
  • metadataOptions (type: GoogleApi.StorageTransfer.V1.Model.MetadataOptions.t, default: nil) - Represents the selected metadata options for a transfer job.
  • overwriteObjectsAlreadyExistingInSink (type: boolean(), default: nil) - 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.StorageTransfer.V1.Model.TransferOptions{
  deleteObjectsFromSourceAfterTransfer: boolean() | nil,
  deleteObjectsUniqueInSink: boolean() | nil,
  metadataOptions: GoogleApi.StorageTransfer.V1.Model.MetadataOptions.t() | nil,
  overwriteObjectsAlreadyExistingInSink: boolean() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.