Class ProductSearch (3.0.0)

public static class 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][google.cloud.vision.v1.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][google.cloud.vision.v1.Product] resources, named projects/*/locations/*/products/*

  • Each [Product][google.cloud.vision.v1.Product] has a collection of [ReferenceImage][google.cloud.vision.v1.ReferenceImage] resources, named projects/*/locations/*/products/*/referenceImages/*

Inheritance

Object > ProductSearch

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Methods

BindService(ProductSearch.ProductSearchBase)

public static ServerServiceDefinition BindService(ProductSearch.ProductSearchBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplProductSearch.ProductSearchBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ProductSearch.ProductSearchBase)

public static void BindService(ServiceBinderBase serviceBinder, ProductSearch.ProductSearchBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplProductSearch.ProductSearchBase

An object implementing the server-side handling logic.