Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonActivityCityInfo

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

The city where the travel activity is available.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonActivityCityInfo

Returns a new instance of GoogleAdsSearchads360V23CommonActivityCityInfo.



666
667
668
# File 'lib/google/apis/searchads360_v23/classes.rb', line 666

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

Instance Attribute Details

#valueString

String value of the activity city. The Geo Target Constant resource name. Corresponds to the JSON property value

Returns:

  • (String)


664
665
666
# File 'lib/google/apis/searchads360_v23/classes.rb', line 664

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



671
672
673
# File 'lib/google/apis/searchads360_v23/classes.rb', line 671

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