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.
1542 1543 1544 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1542 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
1539 1540 1541 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1539 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
1534 1535 1536 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1534 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1547 1548 1549 1550 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1547 def update!(**args) @location = args[:location] if args.key?(:location) @is_exact_match = args[:is_exact_match] if args.key?(:is_exact_match) end |