Class ProductSearchResults

ProductSearchResults(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Results for a product search request.

Attributes

NameDescription
category google.cloud.vision_v1p3beta1.types.ProductSearchCategory
Product category. [Deprecated] Use ``product_category``.
product_category str
Product category. Supported values are ``bag`` and ``shoe``. [Deprecated] ``product_category`` is provided in each Product.
index_time google.protobuf.timestamp_pb2.Timestamp
Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.
products Sequence[google.cloud.vision_v1p3beta1.types.ProductSearchResults.ProductInfo]
List of detected products.
results Sequence[google.cloud.vision_v1p3beta1.types.ProductSearchResults.Result]
List of results, one for each product match.

Inheritance

builtins.object > proto.message.Message > ProductSearchResults

Classes

ProductInfo

ProductInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about a product.

Result

Result(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about a product.