Class: Google::Apis::MerchantapiAccountsV1beta::GeoTargetArea
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::GeoTargetArea
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/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) ⇒ GeoTargetArea
constructor
A new instance of GeoTargetArea.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GeoTargetArea
Returns a new instance of GeoTargetArea.
932 933 934 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 932 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 (for example, state).
Corresponds to the JSON property geotargetCriteriaIds
930 931 932 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 930 def geotarget_criteria_ids @geotarget_criteria_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
937 938 939 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 937 def update!(**args) @geotarget_criteria_ids = args[:geotarget_criteria_ids] if args.key?(:geotarget_criteria_ids) end |