class Google::Apis::JobsV4::BatchUpdateJobsRequest

Request to update a batch of jobs.

Attributes

jobs[RW]

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch. Corresponds to the JSON property `jobs` @return [Array<Google::Apis::JobsV4::Job>]

update_mask[RW]

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response. Corresponds to the JSON property `updateMask` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v4/classes.rb, line 231
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v4/classes.rb, line 236
def update!(**args)
  @jobs = args[:jobs] if args.key?(:jobs)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end