Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension
- 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 with string values.
Instance Attribute Summary collapse
-
#selection_type ⇒ String
Required.
-
#values ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StringTargetingDimension
constructor
A new instance of StringTargetingDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StringTargetingDimension
Returns a new instance of StringTargetingDimension.
2750 2751 2752 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2750 def initialize(**args) update!(**args) end |
Instance Attribute Details
#selection_type ⇒ String
Required. How the items in this list should be targeted.
Corresponds to the JSON property selectionType
2743 2744 2745 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2743 def selection_type @selection_type end |
#values ⇒ Array<String>
Required. The values specified.
Corresponds to the JSON property values
2748 2749 2750 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2748 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2755 2756 2757 2758 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2755 def update!(**args) @selection_type = args[:selection_type] if args.key?(:selection_type) @values = args[:values] if args.key?(:values) end |