GoogleApi.StorageTransfer.V1.Model.ReplicationSpec (google_api_storage_transfer v0.37.3)

View Source

Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket. Existing objects in the source bucket are not copied by a new cross-bucket replication job.

Attributes

  • gcsDataSink (type: GoogleApi.StorageTransfer.V1.Model.GcsData.t, default: nil) - The Cloud Storage bucket to which to replicate objects.
  • gcsDataSource (type: GoogleApi.StorageTransfer.V1.Model.GcsData.t, default: nil) - The Cloud Storage bucket from which to replicate objects.
  • objectConditions (type: GoogleApi.StorageTransfer.V1.Model.ObjectConditions.t, default: nil) - Object conditions that determine which objects are transferred. For replication jobs, only include_prefixes and exclude_prefixes are supported.
  • transferOptions (type: GoogleApi.StorageTransfer.V1.Model.TransferOptions.t, default: nil) - Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@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

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.