Class: Google::Apis::JobsV4::BatchUpdateJobsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v4/classes.rb,
generated/google/apis/jobs_v4/representations.rb,
generated/google/apis/jobs_v4/representations.rb

Overview

The result of JobService.BatchUpdateJobs. It's used to replace google. longrunning.Operation.response in case of success.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateJobsResponse

Returns a new instance of BatchUpdateJobsResponse.



253
254
255
# File 'generated/google/apis/jobs_v4/classes.rb', line 253

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#job_resultsArray<Google::Apis::JobsV4::JobResult>

List of job mutation results from a batch update operation. It can change until operation status is FINISHED, FAILED or CANCELLED. Corresponds to the JSON property jobResults



251
252
253
# File 'generated/google/apis/jobs_v4/classes.rb', line 251

def job_results
  @job_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



258
259
260
# File 'generated/google/apis/jobs_v4/classes.rb', line 258

def update!(**args)
  @job_results = args[:job_results] if args.key?(:job_results)
end