Class: Google::Apis::RunV2::GoogleCloudRunV2ListTasksResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ListTasksResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Response message containing a list of Tasks.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token indicating there are more items than page_size.
-
#tasks ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Task>
The resulting list of Tasks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ListTasksResponse
constructor
A new instance of GoogleCloudRunV2ListTasksResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ListTasksResponse
Returns a new instance of GoogleCloudRunV2ListTasksResponse.
1018 1019 1020 |
# File 'lib/google/apis/run_v2/classes.rb', line 1018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token indicating there are more items than page_size. Use it in the next
ListTasks request to continue.
Corresponds to the JSON property nextPageToken
1011 1012 1013 |
# File 'lib/google/apis/run_v2/classes.rb', line 1011 def next_page_token @next_page_token end |
#tasks ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Task>
The resulting list of Tasks.
Corresponds to the JSON property tasks
1016 1017 1018 |
# File 'lib/google/apis/run_v2/classes.rb', line 1016 def tasks @tasks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1023 1024 1025 1026 |
# File 'lib/google/apis/run_v2/classes.rb', line 1023 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @tasks = args[:tasks] if args.key?(:tasks) end |