Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationAttributeMetadata

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

Metadata associated with a Location attribute.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLocationAttributeMetadata

Returns a new instance of GoogleAdsSearchads360V23CommonLocationAttributeMetadata.



7119
7120
7121
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7119

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

Instance Attribute Details

#country_locationGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationInfo

A location criterion. Corresponds to the JSON property countryLocation



7117
7118
7119
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7117

def country_location
  @country_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7124
7125
7126
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7124

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