Class: Google::Apis::RunV2::GoogleCloudRunV2ListJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ListJobsResponse
- 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 Jobs.
Instance Attribute Summary collapse
-
#jobs ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Job>
The resulting list of Jobs.
-
#next_page_token ⇒ String
A token indicating there are more items than page_size.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ListJobsResponse
constructor
A new instance of GoogleCloudRunV2ListJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ListJobsResponse
Returns a new instance of GoogleCloudRunV2ListJobsResponse.
1310 1311 1312 |
# File 'lib/google/apis/run_v2/classes.rb', line 1310 def initialize(**args) update!(**args) end |
Instance Attribute Details
#jobs ⇒ Array<Google::Apis::RunV2::GoogleCloudRunV2Job>
The resulting list of Jobs.
Corresponds to the JSON property jobs
1302 1303 1304 |
# File 'lib/google/apis/run_v2/classes.rb', line 1302 def jobs @jobs end |
#next_page_token ⇒ String
A token indicating there are more items than page_size. Use it in the next
ListJobs request to continue.
Corresponds to the JSON property nextPageToken
1308 1309 1310 |
# File 'lib/google/apis/run_v2/classes.rb', line 1308 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1315 1316 1317 1318 |
# File 'lib/google/apis/run_v2/classes.rb', line 1315 def update!(**args) @jobs = args[:jobs] if args.key?(:jobs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |