Reference documentation and code samples for the Cloud Vision V1 Client class ProductSearchResults.
Results for a product search request.
Generated from protobuf message google.cloud.vision.v1.ProductSearchResults
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ index_time
Google\Protobuf\Timestamp
Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
↳ results
↳ product_grouped_results
array< ProductSearchResults\GroupedResult
>
List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
getIndexTime
Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
hasIndexTime
clearIndexTime
setIndexTime
Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
$this
getResults
List of results, one for each product match.
setResults
List of results, one for each product match.
$this
getProductGroupedResults
List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
setProductGroupedResults
List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
$this

