Class GoogleCloudRetailV2CompleteQueryResponse
Response of the autocomplete query.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2CompleteQueryResponse : 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, GoogleCloudRetailV2CompleteQueryResponseAttributeResult> AttributeResults { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudRetailV2CompleteQueryResponseAttributeResult> |
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<GoogleCloudRetailV2CompleteQueryResponseCompletionResult> CompletionResults { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2CompleteQueryResponseCompletionResult> |
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<GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult> RecentSearchResults { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult> |