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.



11734
11735
11736
# File 'lib/google/apis/content_v2_1/classes.rb', line 11734

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>)


11732
11733
11734
# File 'lib/google/apis/content_v2_1/classes.rb', line 11732

def geotarget_criteria_ids
  @geotarget_criteria_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11739
11740
11741
# File 'lib/google/apis/content_v2_1/classes.rb', line 11739

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