GoogleCloudRetailV2alphaConditionResponse class

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.

Constructors

GoogleCloudRetailV2alphaConditionResponse({required Input<List<GoogleCloudRetailV2alphaConditionTimeRangeResponse>> activeTimeRange, required Input<List<String>> pageCategories, required Input<List<GoogleCloudRetailV2alphaConditionQueryTermResponse>> queryTerms})
Creates a new GoogleCloudRetailV2alphaConditionResponse. activeTimeRange Range of time(s) specifying when Condition is active. Condition true if any time range matches. 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; 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).
const
GoogleCloudRetailV2alphaConditionResponse.fromMap(Map<String, dynamic> map)
factory

Properties

activeTimeRange → Input<List<GoogleCloudRetailV2alphaConditionTimeRangeResponse>>
Range of time(s) specifying when Condition is active. Condition true if any time range matches.
final
hashCode → int
The hash code for this object.
no setterinherited
pageCategories → Input<List<String>>
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;
final
queryTerms → Input<List<GoogleCloudRetailV2alphaConditionQueryTermResponse>>
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).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited