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

Request passed to UpdateTransferJob.

Attributes

  • projectId (type: String.t, default: nil) - Required. The ID of the Google Cloud 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 one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An UpdateTransferJobRequest that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires storagetransfer.jobs.delete permission.
  • 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, logging_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 is rejected with the error INVALID_ARGUMENT.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.UpdateTransferJobRequest{
  projectId: String.t() | nil,
  transferJob: GoogleApi.StorageTransfer.V1.Model.TransferJob.t() | nil,
  updateTransferJobFieldMask: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.