Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb
Overview
Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax.
Instance Attribute Summary collapse
-
#excluded_criteria_ids ⇒ Array<Fixnum>
A list of numeric IDs to be excluded.
-
#targeted_criteria_ids ⇒ Array<Fixnum>
A list of numeric IDs to be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CriteriaTargeting
constructor
A new instance of CriteriaTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CriteriaTargeting
Returns a new instance of CriteriaTargeting.
535 536 537 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 535 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_criteria_ids ⇒ Array<Fixnum>
A list of numeric IDs to be excluded.
Corresponds to the JSON property excludedCriteriaIds
528 529 530 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 528 def excluded_criteria_ids @excluded_criteria_ids end |
#targeted_criteria_ids ⇒ Array<Fixnum>
A list of numeric IDs to be included.
Corresponds to the JSON property targetedCriteriaIds
533 534 535 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 533 def targeted_criteria_ids @targeted_criteria_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
540 541 542 543 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 540 def update!(**args) @excluded_criteria_ids = args[:excluded_criteria_ids] if args.key?(:excluded_criteria_ids) @targeted_criteria_ids = args[:targeted_criteria_ids] if args.key?(:targeted_criteria_ids) end |