Class: Google::Apis::MybusinessV3::FindMatchingLocationsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_timeString

When the matching algorithm was last executed for this location. Corresponds to the JSON property matchTime

Returns:

  • (String)


646
647
648
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 646

def match_time
  @match_time
end

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