Class: Google::Apis::MybusinessbusinessinformationV1::SearchGoogleLocationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb

Overview

Response message for GoogleLocations.SearchGoogleLocations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchGoogleLocationsResponse

Returns a new instance of SearchGoogleLocationsResponse.



1544
1545
1546
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1544

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#google_locationsArray<Google::Apis::MybusinessbusinessinformationV1::GoogleLocation>

A collection of GoogleLocations that are potential matches to the specified request, listed in order from most to least accuracy. Corresponds to the JSON property googleLocations



1542
1543
1544
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1542

def google_locations
  @google_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1549
1550
1551
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1549

def update!(**args)
  @google_locations = args[:google_locations] if args.key?(:google_locations)
end