Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMapsLocationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Wrapper for place ids

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMapsLocationInfo

Returns a new instance of GoogleAdsSearchads360V23CommonMapsLocationInfo.



7398
7399
7400
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7398

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#place_idString

Place ID of the Maps location. Corresponds to the JSON property placeId

Returns:

  • (String)


7396
7397
7398
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7396

def place_id
  @place_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7403
7404
7405
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7403

def update!(**args)
  @place_id = args[:place_id] if args.key?(:place_id)
end