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

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.
  • 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.
  • overwriteWhen (type: String.t, default: nil) - When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.