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

Specifies the configuration for running a replication job.

Attributes

  • gcsDataSink (type: GoogleApi.StorageTransfer.V1.Model.GcsData.t, default: nil) - Specifies cloud Storage data sink.
  • gcsDataSource (type: GoogleApi.StorageTransfer.V1.Model.GcsData.t, default: nil) - Specifies cloud Storage data source.
  • objectConditions (type: GoogleApi.StorageTransfer.V1.Model.ObjectConditions.t, default: nil) - Specifies the object conditions to only include objects that satisfy these conditions in the set of data source objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.
  • transferOptions (type: GoogleApi.StorageTransfer.V1.Model.TransferOptions.t, default: nil) - Specifies the actions to be performed on the object during replication. Delete options are not supported for replication and when specified, the request fails with an INVALID_ARGUMENT error.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.ReplicationSpec{
  gcsDataSink: GoogleApi.StorageTransfer.V1.Model.GcsData.t() | nil,
  gcsDataSource: GoogleApi.StorageTransfer.V1.Model.GcsData.t() | nil,
  objectConditions:
    GoogleApi.StorageTransfer.V1.Model.ObjectConditions.t() | nil,
  transferOptions: GoogleApi.StorageTransfer.V1.Model.TransferOptions.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.