Cloud Vision V1 API - Module Google::Cloud::Vision::V1::ProductSearch (v0.8.0)

Reference documentation and code samples for the Cloud Vision V1 API module Google::Cloud::Vision::V1::ProductSearch.

Manages Products and ProductSets of reference images for use in product search. It uses the following resource model:

  • The API has a collection of ProductSet resources, named projects//locations//productSets/*, which acts as a way to put different products into groups to limit identification.

In parallel,

  • The API has a collection of Product resources, named projects//locations//products/

  • Each Product has a collection of ReferenceImage resources, named projects//locations//products//referenceImages/*

To load this service and instantiate a client:

require "google/cloud/vision/v1/product_search"
client =