Class: Google::Apis::StoragebatchoperationsV1::ListJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::StoragebatchoperationsV1::ListJobsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagebatchoperations_v1/classes.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb
Overview
Message for response to listing Jobs
Instance Attribute Summary collapse
-
#jobs ⇒ Array<Google::Apis::StoragebatchoperationsV1::Job>
A list of storage batch jobs.
-
#next_page_token ⇒ String
A token identifying a page of results.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListJobsResponse
constructor
A new instance of ListJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListJobsResponse
Returns a new instance of ListJobsResponse.
595 596 597 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#jobs ⇒ Array<Google::Apis::StoragebatchoperationsV1::Job>
A list of storage batch jobs.
Corresponds to the JSON property jobs
583 584 585 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 583 def jobs @jobs end |
#next_page_token ⇒ String
A token identifying a page of results.
Corresponds to the JSON property nextPageToken
588 589 590 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 588 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
593 594 595 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 593 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
600 601 602 603 604 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 600 def update!(**args) @jobs = args[:jobs] if args.key?(:jobs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |