Class GoogleCloudRetailV2betaCondition
Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaCondition : IDirectResponseSchema
Properties
ActiveTimeRange
Range of time(s) specifying when Condition is active. Condition true if any time range matches.
Declaration
[JsonProperty("activeTimeRange")]
public virtual IList<GoogleCloudRetailV2betaConditionTimeRange> ActiveTimeRange { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaConditionTimeRange> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PageCategories
Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;
Declaration
[JsonProperty("pageCategories")]
public virtual IList<string> PageCategories { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
QueryTerms
A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).
Declaration
[JsonProperty("queryTerms")]
public virtual IList<GoogleCloudRetailV2betaConditionQueryTerm> QueryTerms { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2betaConditionQueryTerm> |