Class: Google::Apis::CoordinateV1::ListJobResponse
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::ListJobResponse
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Response from a List Jobs request.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::CoordinateV1::Job>
Jobs in the collection.
-
#kind ⇒ String
Identifies this object as a list of jobs.
-
#next_page_token ⇒ String
A token to provide to get the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListJobResponse
constructor
A new instance of ListJobResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListJobResponse
Returns a new instance of ListJobResponse.
286 287 288 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CoordinateV1::Job>
Jobs in the collection.
Corresponds to the JSON property items
274 275 276 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 274 def items @items end |
#kind ⇒ String
Identifies this object as a list of jobs.
Corresponds to the JSON property kind
279 280 281 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 279 def kind @kind end |
#next_page_token ⇒ String
A token to provide to get the next page of results.
Corresponds to the JSON property nextPageToken
284 285 286 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 284 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
291 292 293 294 295 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 291 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |