Class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::LocationContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Output only. The Geo criteria the restriction applies to.
Instance Attribute Summary collapse
-
#geo_criteria_ids ⇒ Array<Fixnum>
IDs representing the geo location for this context.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationContext
constructor
A new instance of LocationContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocationContext
Returns a new instance of LocationContext.
2575 2576 2577 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#geo_criteria_ids ⇒ Array<Fixnum>
IDs representing the geo location for this context. Refer to the geo-table.
csv file
for different geo criteria IDs.
Corresponds to the JSON property geoCriteriaIds
2573 2574 2575 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2573 def geo_criteria_ids @geo_criteria_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2580 2581 2582 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2580 def update!(**args) @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids) end |