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



275
276
277
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 275

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)


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