GoogleCloudRetailV2SearchResponseSearchResult class

Represents the search results.

Constructors

GoogleCloudRetailV2SearchResponseSearchResult({String? id, int? matchingVariantCount, Map<String, String>? matchingVariantFields, List<String>? personalLabels, GoogleCloudRetailV2Product? product, Map<String, Object?>? variantRollupValues})
GoogleCloudRetailV2SearchResponseSearchResult.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
Product.id of the searched Product.
getter/setter pair
matchingVariantCount int?
The count of matched variant Products.
getter/setter pair
matchingVariantFields Map<String, String>?
If a variant Product matches the search query, this map indicates which Product fields are matched.
getter/setter pair
personalLabels List<String>?
Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id.
getter/setter pair
product GoogleCloudRetailV2Product?
The product data snippet in the search response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variantRollupValues Map<String, Object?>?
The rollup matching variant Product attributes.
getter/setter pair

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