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.



7059
7060
7061
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7059

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

Instance Attribute Details

#country_locationGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationInfo

A location criterion. Corresponds to the JSON property countryLocation



7057
7058
7059
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7057

def country_location
  @country_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7064
7065
7066
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7064

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