GoogleApi.StorageTransfer.V1.Model.UpdateTransferJobRequest (google_api_storage_transfer v0.24.0) View Source

Request passed to UpdateTransferJob.

Attributes

  • projectId (type: String.t, default: nil) - Required. The ID of the Google Cloud Platform Console project that owns the job.
  • transferJob (type: GoogleApi.StorageTransfer.V1.Model.TransferJob.t, default: nil) - Required. The job to update. transferJob is expected to specify only four fields: description, transfer_spec, notification_config, and status. An UpdateTransferJobRequest that specifies other fields will be rejected with the error INVALID_ARGUMENT. Updating a job satus to DELETED requires storagetransfer.jobs.delete permissions.
  • updateTransferJobFieldMask (type: String.t, default: nil) - The field mask of the fields in transferJob that are to be updated in this request. Fields in transferJob that can be updated are: description, transfer_spec, notification_config, and status. To update the transfer_spec of the job, a complete transfer specification must be provided. An incomplete specification missing any required fields will be rejected with the error INVALID_ARGUMENT.

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.UpdateTransferJobRequest{
  projectId: String.t(),
  transferJob: GoogleApi.StorageTransfer.V1.Model.TransferJob.t(),
  updateTransferJobFieldMask: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.