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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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.



10653
10654
10655
# File 'generated/google/apis/content_v2_1/classes.rb', line 10653

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


10651
10652
10653
# File 'generated/google/apis/content_v2_1/classes.rb', line 10651

def geotarget_criteria_ids
  @geotarget_criteria_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10658
10659
10660
# File 'generated/google/apis/content_v2_1/classes.rb', line 10658

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