Class: Google::Apis::JobsV4::BatchDeleteJobsResponse

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

Overview

The result of JobService.BatchDeleteJobs. 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) ⇒ BatchDeleteJobsResponse

Returns a new instance of BatchDeleteJobsResponse.



135
136
137
# File 'lib/google/apis/jobs_v4/classes.rb', line 135

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

Instance Attribute Details

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

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



133
134
135
# File 'lib/google/apis/jobs_v4/classes.rb', line 133

def job_results
  @job_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



140
141
142
# File 'lib/google/apis/jobs_v4/classes.rb', line 140

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