Class: Google::Apis::ContentV2_1::RegionGeoTargetArea

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

A list of geotargets that defines the region area.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionGeoTargetArea

Returns a new instance of RegionGeoTargetArea.



11312
11313
11314
# File 'lib/google/apis/content_v2_1/classes.rb', line 11312

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

Instance Attribute Details

#geotarget_criteria_idsArray<Fixnum>

Required. A non-empty list of location IDs. They must all be of the same location type (e.g., state). Corresponds to the JSON property geotargetCriteriaIds

Returns:

  • (Array<Fixnum>)


11310
11311
11312
# File 'lib/google/apis/content_v2_1/classes.rb', line 11310

def geotarget_criteria_ids
  @geotarget_criteria_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11317
11318
11319
# File 'lib/google/apis/content_v2_1/classes.rb', line 11317

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