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.



35699
35700
35701
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35699

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


35697
35698
35699
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35697

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35704
35705
35706
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35704

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