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
1563 1564 1565 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1563 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
1561 1562 1563 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1561 def place_id @place_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1568 1569 1570 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1568 def update!(**args) @place_id = args[:place_id] if args.key?(:place_id) end |