Class: Google::Apis::CoordinateV1::ListLocationResponse
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::ListLocationResponse
- 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 Locations request.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::CoordinateV1::LocationRecord>
Locations in the collection.
-
#kind ⇒ String
Identifies this object as a list of locations.
-
#next_page_token ⇒ String
A token to provide to get the next page of results.
-
#token_pagination ⇒ Google::Apis::CoordinateV1::TokenPagination
Pagination information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLocationResponse
constructor
A new instance of ListLocationResponse.
-
#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) ⇒ ListLocationResponse
Returns a new instance of ListLocationResponse.
427 428 429 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CoordinateV1::LocationRecord>
Locations in the collection.
Corresponds to the JSON property items
410 411 412 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 410 def items @items end |
#kind ⇒ String
Identifies this object as a list of locations.
Corresponds to the JSON property kind
415 416 417 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 415 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
420 421 422 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 420 def next_page_token @next_page_token end |
#token_pagination ⇒ Google::Apis::CoordinateV1::TokenPagination
Pagination information.
Corresponds to the JSON property tokenPagination
425 426 427 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 425 def token_pagination @token_pagination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
432 433 434 435 436 437 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 432 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) @token_pagination = args[:token_pagination] if args.key?(:token_pagination) end |