Class: Google::Apis::CoordinateV1::ListLocationResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#itemsArray<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

#kindString

Identifies this object as a list of locations. Corresponds to the JSON property kind

Returns:

  • (String)


415
416
417
# File 'generated/google/apis/coordinate_v1/classes.rb', line 415

def kind
  @kind
end

#next_page_tokenString

A token to provide to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


420
421
422
# File 'generated/google/apis/coordinate_v1/classes.rb', line 420

def next_page_token
  @next_page_token
end

#token_paginationGoogle::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