Class: Google::Apis::ContentV2_1::RegionGeoTargetArea
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::RegionGeoTargetArea
- 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
-
#geotarget_criteria_ids ⇒ Array<Fixnum>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionGeoTargetArea
constructor
A new instance of RegionGeoTargetArea.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionGeoTargetArea
Returns a new instance of RegionGeoTargetArea.
11687 11688 11689 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#geotarget_criteria_ids ⇒ Array<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
11685 11686 11687 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11685 def geotarget_criteria_ids @geotarget_criteria_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11692 11693 11694 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11692 def update!(**args) @geotarget_criteria_ids = args[:geotarget_criteria_ids] if args.key?(:geotarget_criteria_ids) end |