Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::CompleteQueryResponse::CompletionResult.
Resource that represents completion results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}) —
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. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.
#attributes=
def attributes=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}) —
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. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CustomAttribute}) —
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. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.
#suggestion
def suggestion() -> ::String
- (::String) — The suggestion for the query.
#suggestion=
def suggestion=(value) -> ::String
- value (::String) — The suggestion for the query.
- (::String) — The suggestion for the query.