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.



12129
12130
12131
# File 'lib/google/apis/content_v2_1/classes.rb', line 12129

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


12127
12128
12129
# File 'lib/google/apis/content_v2_1/classes.rb', line 12127

def geotarget_criteria_ids
  @geotarget_criteria_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12134
12135
12136
# File 'lib/google/apis/content_v2_1/classes.rb', line 12134

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