Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames

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

A list of location names.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames

Returns a new instance of GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequestLocationNames.



35834
35835
35836
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35834

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

Instance Attribute Details

#namesArray<String>

A list of location names. Corresponds to the JSON property names

Returns:

  • (Array<String>)


35832
35833
35834
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35832

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35839
35840
35841
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35839

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