Class: Google::Apis::MybusinessV3::AssociateLocationRequest

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

Request message for MyBusiness.AssociateLocationRequest to associate a location to a place or indicate no match.

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) ⇒ 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_idString

The association to establish. If not set, it indicates no match. Corresponds to the JSON property placeId

Returns:

  • (String)

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