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

Reference documentation and code samples for the Cloud Vision V1p3beta1 API module Google::Cloud::Vision::V1p3beta1::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/v1p3beta1/product_search"
client = ::Google::Cloud::Vision::V1p3beta1::ProductSearch::Client.new