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.
1388 1389 1390 |
# File 'lib/google/apis/run_v2/classes.rb', line 1388 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
1381 1382 1383 |
# File 'lib/google/apis/run_v2/classes.rb', line 1381 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
1386 1387 1388 |
# File 'lib/google/apis/run_v2/classes.rb', line 1386 def tasks @tasks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1393 1394 1395 1396 |
# File 'lib/google/apis/run_v2/classes.rb', line 1393 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @tasks = args[:tasks] if args.key?(:tasks) end |