Class: Google::Apis::JobsV4::BatchCreateJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::BatchCreateJobsResponse
- 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
-
#job_results ⇒ Array<Google::Apis::JobsV4::JobResult>
List of job mutation results from a batch create operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreateJobsResponse
constructor
A new instance of BatchCreateJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_results ⇒ Array<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 |