Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Additional filter that client side need to apply.
Instance Attribute Summary collapse
-
#product_attribute_value ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductAttributeValue
Product attribute which structured by an attribute name and value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter
constructor
A new instance of GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter
Returns a new instance of GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter.
8349 8350 8351 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_attribute_value ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductAttributeValue
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
8347 8348 8349 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8347 def product_attribute_value @product_attribute_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8354 8355 8356 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 8354 def update!(**args) @product_attribute_value = args[:product_attribute_value] if args.key?(:product_attribute_value) end |