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.
708 709 710 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 708 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
696 697 698 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 696 def jobs @jobs end |
#next_page_token ⇒ String
A token identifying a page of results.
Corresponds to the JSON property nextPageToken
701 702 703 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 701 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
706 707 708 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 706 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
713 714 715 716 717 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 713 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 |