Class GoogleCloudRetailV2betaCompleteQueryResponse
Response of the autocomplete query.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaCompleteQueryResponse : IDirectResponseSchema
Properties
AttributeResults
A map of matched attribute suggestions. This field is only available for "cloud-retail" dataset. Current
supported keys: * brands
* categories
Declaration
[JsonProperty("attributeResults")]
public virtual IDictionary<string, GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult> AttributeResults { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult> |
AttributionToken
A unique complete token. This should be included in the UserEvent.completion_detail for search events resulting from this completion, which enables accurate attribution of complete model performance.
Declaration
[JsonProperty("attributionToken")]
public virtual string AttributionToken { get; set; }
Property Value
Type | Description |
---|---|
string |
CompletionResults
Results of the matching suggestions. The result list is ordered and the first result is top suggestion.
Declaration
[JsonProperty("completionResults")]
public virtual IList<GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult> CompletionResults { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RecentSearchResults
Deprecated. Matched recent searches of this user. The maximum number of recent searches is 10. This field is a restricted feature. If you want to enable it, contact Retail Search support. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower case. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.
Declaration
[JsonProperty("recentSearchResults")]
public virtual IList<GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult> RecentSearchResults { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult> |