Class: Google::Cloud::Retail::V2::CompleteQueryResponse::CompletionResult
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::CompleteQueryResponse::CompletionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/completion_service.rb
Overview
Resource that represents completion results.
Defined Under Namespace
Classes: AttributesEntry
Instance Attribute Summary collapse
-
#attributes ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}
Custom attributes for the suggestion term.
-
#suggestion ⇒ ::String
The suggestion for the query.
Instance Attribute Details
#attributes ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}
Returns Custom attributes for the suggestion term.
For "user-data", the attributes are additional custom attributes ingested through BigQuery.
For "cloud-retail", the attributes are product attributes generated by Cloud Retail. It requires UserEvent.product_details is imported properly.
179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'proto_docs/google/cloud/retail/v2/completion_service.rb', line 179 class CompletionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Retail::V2::CustomAttribute] class AttributesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#suggestion ⇒ ::String
Returns The suggestion for the query.
179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'proto_docs/google/cloud/retail/v2/completion_service.rb', line 179 class CompletionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Retail::V2::CustomAttribute] class AttributesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |