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

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

Attributes

  • 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.
  • 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 will be overwritten with the source object.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.