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.



7338
7339
7340
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7338

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)


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