Class: Google::Apis::MybusinessV3::MatchedLocation
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::MatchedLocation
- 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
Represents a possible match to a location.
Instance Attribute Summary collapse
-
#is_exact_match ⇒ Boolean
(also: #is_exact_match?)
Is this an exact match? Corresponds to the JSON property
isExactMatch
. -
#location ⇒ Google::Apis::MybusinessV3::Location
A location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MatchedLocation
constructor
A new instance of MatchedLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MatchedLocation
Returns a new instance of MatchedLocation
1281 1282 1283 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_exact_match ⇒ Boolean Also known as: is_exact_match?
Is this an exact match?
Corresponds to the JSON property isExactMatch
1268 1269 1270 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1268 def is_exact_match @is_exact_match end |
#location ⇒ Google::Apis::MybusinessV3::Location
A location.
See the help center article for a detailed
description of these fields, or the [category
list](/my-business/content/categories] for a list of valid business
categories.
Corresponds to the JSON property location
1279 1280 1281 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1279 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1286 1287 1288 1289 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1286 def update!(**args) @is_exact_match = args[:is_exact_match] if args.key?(:is_exact_match) @location = args[:location] if args.key?(:location) end |