Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::SearchRequest::ConversationalSearchSpec::UserAnswer::SelectedAnswer.
This field specifies the selected answers during the conversational search.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#product_attribute_value
def product_attribute_value() -> ::Google::Cloud::Retail::V2::ProductAttributeValue
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeValue) — This field specifies the selected answer which is a attribute key-value.
#product_attribute_value=
def product_attribute_value=(value) -> ::Google::Cloud::Retail::V2::ProductAttributeValue
Parameter
- value (::Google::Cloud::Retail::V2::ProductAttributeValue) — This field specifies the selected answer which is a attribute key-value.
Returns
- (::Google::Cloud::Retail::V2::ProductAttributeValue) — This field specifies the selected answer which is a attribute key-value.
#product_attribute_values
def product_attribute_values() -> ::Array<::Google::Cloud::Retail::V2::ProductAttributeValue>
Returns
- (::Array<::Google::Cloud::Retail::V2::ProductAttributeValue>) — This field is deprecated and should not be set.
#product_attribute_values=
def product_attribute_values=(value) -> ::Array<::Google::Cloud::Retail::V2::ProductAttributeValue>
Parameter
- value (::Array<::Google::Cloud::Retail::V2::ProductAttributeValue>) — This field is deprecated and should not be set.
Returns
- (::Array<::Google::Cloud::Retail::V2::ProductAttributeValue>) — This field is deprecated and should not be set.