Class: Google::Apis::MybusinessV3::FindMatchingLocationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::FindMatchingLocationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
generated/google/apis/mybusiness_v3/representations.rb,
generated/google/apis/mybusiness_v3/representations.rb
Overview
Response message for MyBusiness.FindMatchingLocations
Instance Attribute Summary collapse
-
#match_time ⇒ String
When the matching algorithm was last executed for this location.
-
#matched_locations ⇒ Array<Google::Apis::MybusinessV3::MatchedLocation>
A collection of locations that are potential matches to the specified location, listed in order from best to least match.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindMatchingLocationsResponse
constructor
A new instance of FindMatchingLocationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindMatchingLocationsResponse
Returns a new instance of FindMatchingLocationsResponse
655 656 657 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_time ⇒ String
When the matching algorithm was last executed for this location.
Corresponds to the JSON property matchTime
646 647 648 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 646 def match_time @match_time end |
#matched_locations ⇒ Array<Google::Apis::MybusinessV3::MatchedLocation>
A collection of locations that are potential matches to the specified
location, listed in order from best to least match. If there is an exact
match, it will be in the first position.
Corresponds to the JSON property matchedLocations
653 654 655 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 653 def matched_locations @matched_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 663 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 660 def update!(**args) @match_time = args[:match_time] if args.key?(:match_time) @matched_locations = args[:matched_locations] if args.key?(:matched_locations) end |