Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMapsLocationSet

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 multiple maps location sync data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMapsLocationSet

Returns a new instance of GoogleAdsSearchads360V23CommonMapsLocationSet.



7417
7418
7419
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7417

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

Instance Attribute Details

#maps_locationsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMapsLocationInfo>

Required. A list of maps location info that user manually synced in. Corresponds to the JSON property mapsLocations



7415
7416
7417
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7415

def maps_locations
  @maps_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7422
7423
7424
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7422

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