Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMapsLocationInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMapsLocationInfo
- 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
-
#place_id ⇒ String
Place ID of the Maps location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMapsLocationInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonMapsLocationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMapsLocationInfo
Returns a new instance of GoogleAdsSearchads360V23CommonMapsLocationInfo.
7338 7339 7340 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place_id ⇒ String
Place ID of the Maps location.
Corresponds to the JSON property placeId
7336 7337 7338 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7336 def place_id @place_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7343 7344 7345 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7343 def update!(**args) @place_id = args[:place_id] if args.key?(:place_id) end |