Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Additional filter that client side need to apply.
Instance Attribute Summary collapse
-
#product_attribute_value ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductAttributeValue
Product attribute which structured by an attribute name and value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter
constructor
A new instance of GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter
Returns a new instance of GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter.
7681 7682 7683 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_attribute_value ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductAttributeValue
Product attribute which structured by an attribute name and value. This
structure is used in conversational search filters and answers. For example,
if we have name=color
and value=red
, this means that the color is red
.
Corresponds to the JSON property productAttributeValue
7679 7680 7681 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7679 def product_attribute_value @product_attribute_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7686 7687 7688 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7686 def update!(**args) @product_attribute_value = args[:product_attribute_value] if args.key?(:product_attribute_value) end |