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.
7398 7399 7400 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place_id ⇒ String
Place ID of the Maps location.
Corresponds to the JSON property placeId
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 |