GoogleCloudRetailV2Condition 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.

Properties

activeTimeRange List<GoogleCloudRetailV2ConditionTimeRange>?
Range of time(s) specifying when Condition is active.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pageCategories List<String>?
Used to support browse uses cases.
getter/setter pair
queryTerms List<GoogleCloudRetailV2ConditionQueryTerm>?
A list (up to 10 entries) of terms to match the query on.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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