Class GoogleCloudRetailV2betaSearchResponse
Response message for SearchService.Search method.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaSearchResponse : IDirectResponseSchema
Properties
AppliedControls
The fully qualified resource name of applied controls.
Declaration
[JsonProperty("appliedControls")]
public virtual IList<string> AppliedControls { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AttributionToken
A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.
Declaration
[JsonProperty("attributionToken")]
public virtual string AttributionToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ConversationalSearchResult
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
Declaration
[JsonProperty("conversationalSearchResult")]
public virtual GoogleCloudRetailV2betaSearchResponseConversationalSearchResult ConversationalSearchResult { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2betaSearchResponseConversationalSearchResult |
CorrectedQuery
Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.
Declaration
[JsonProperty("correctedQuery")]
public virtual string CorrectedQuery { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExperimentInfo
Metadata related to A/B testing Experiment associated with this response. Only exists when an experiment is triggered.
Declaration
[JsonProperty("experimentInfo")]
public virtual IList<GoogleCloudRetailV2betaExperimentInfo> ExperimentInfo { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaExperimentInfo> |
Facets
Results of facets requested by user.
Declaration
[JsonProperty("facets")]
public virtual IList<GoogleCloudRetailV2betaSearchResponseFacet> Facets { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaSearchResponseFacet> |
InvalidConditionBoostSpecs
The invalid SearchRequest.BoostSpec.condition_boost_specs that are not applied during serving.
Declaration
[JsonProperty("invalidConditionBoostSpecs")]
public virtual IList<GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec> InvalidConditionBoostSpecs { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec> |
NextPageToken
A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Declaration
[JsonProperty("nextPageToken")]
public virtual string NextPageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
PinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
Declaration
[JsonProperty("pinControlMetadata")]
public virtual GoogleCloudRetailV2betaPinControlMetadata PinControlMetadata { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2betaPinControlMetadata |
QueryExpansionInfo
Query expansion information for the returned results.
Declaration
[JsonProperty("queryExpansionInfo")]
public virtual GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo QueryExpansionInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo |
RedirectUri
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response.
Declaration
[JsonProperty("redirectUri")]
public virtual string RedirectUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Results
A list of matched items. The order represents the ranking.
Declaration
[JsonProperty("results")]
public virtual IList<GoogleCloudRetailV2betaSearchResponseSearchResult> Results { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaSearchResponseSearchResult> |
TileNavigationResult
This field specifies all related information for tile navigation that will be used in client side.
Declaration
[JsonProperty("tileNavigationResult")]
public virtual GoogleCloudRetailV2betaSearchResponseTileNavigationResult TileNavigationResult { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2betaSearchResponseTileNavigationResult |
TotalSize
The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.
Declaration
[JsonProperty("totalSize")]
public virtual int? TotalSize { get; set; }
Property Value
Type | Description |
---|---|
int? |