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.



35906
35907
35908
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35906

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>)


35904
35905
35906
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35904

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35911
35912
35913
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35911

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