Class: Google::Apis::MybusinessV3::AssociateLocationRequest
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::AssociateLocationRequest
- 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
Request message for MyBusiness.AssociateLocationRequest to associate a location to a place or indicate no match.
Instance Attribute Summary collapse
-
#place_id ⇒ String
The association to establish.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssociateLocationRequest
constructor
A new instance of AssociateLocationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AssociateLocationRequest
Returns a new instance of AssociateLocationRequest
275 276 277 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place_id ⇒ String
The association to establish. If not set, it indicates no match.
Corresponds to the JSON property placeId
273 274 275 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 273 def place_id @place_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
280 281 282 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 280 def update!(**args) @place_id = args[:place_id] if args.key?(:place_id) end |