Module: Google::Cloud::Vision::V1p3beta1::ProductSearch

Defined in:
lib/google/cloud/vision/v1p3beta1/product_search.rb,
lib/google/cloud/vision/v1p3beta1/product_search/rest.rb,
lib/google/cloud/vision/v1p3beta1/product_search/paths.rb,
lib/google/cloud/vision/v1p3beta1/product_search/client.rb,
lib/google/cloud/vision/v1p3beta1/product_search/operations.rb,
lib/google/cloud/vision/v1p3beta1/product_search/credentials.rb,
lib/google/cloud/vision/v1p3beta1/product_search/rest/client.rb,
lib/google/cloud/vision/v1p3beta1/product_search/rest/operations.rb,
lib/google/cloud/vision/v1p3beta1/product_search/rest/service_stub.rb

Overview

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 REST client:

require "google/cloud/vision/v1p3beta1/product_search/rest"
client = ::Google::Cloud::Vision::V1p3beta1::ProductSearch::Rest::Client.new

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials, Operations