Class: Google::Apis::JobsV4::BatchCreateJobsResponse

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.BatchCreateJobs. 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) ⇒ BatchCreateJobsResponse

Returns a new instance of BatchCreateJobsResponse.



93
94
95
# File 'generated/google/apis/jobs_v4/classes.rb', line 93

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

Instance Attribute Details

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

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



91
92
93
# File 'generated/google/apis/jobs_v4/classes.rb', line 91

def job_results
  @job_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



98
99
100
# File 'generated/google/apis/jobs_v4/classes.rb', line 98

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