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.
2736 2737 2738 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2736 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
2729 2730 2731 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2729 def selection_type @selection_type end |
#values ⇒ Array<String>
Required. The values specified.
Corresponds to the JSON property values
2734 2735 2736 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2734 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2741 2742 2743 2744 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2741 def update!(**args) @selection_type = args[:selection_type] if args.key?(:selection_type) @values = args[:values] if args.key?(:values) end |