class Google::Apis::StoragetransferV1::UpdateTransferJobRequest
Request passed to UpdateTransferJob.
Attributes
The ID of the Google Developers Console project that owns the job. Required. Corresponds to the JSON property `projectId` @return [String]
This resource represents the configuration of a transfer job that runs periodically. Corresponds to the JSON property `transferJob` @return [Google::Apis::StoragetransferV1::TransferJob]
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`, ` transferSpec`, and `status`. To update the `transferSpec` of the job, a complete transfer specification has to be provided. An incomplete specification which misses any required fields will be rejected with the error `INVALID_ARGUMENT`. Corresponds to the JSON property `updateTransferJobFieldMask` @return [String]
Public Class Methods
# File generated/google/apis/storagetransfer_v1/classes.rb, line 550 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/storagetransfer_v1/classes.rb, line 555 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @transfer_job = args[:transfer_job] if args.key?(:transfer_job) @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask) end