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/*
Namespace
Google.Cloud.Vision.V1Assembly
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 | |
---|---|
Name | Description |
serviceImpl | ProductSearch.ProductSearchBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | ProductSearch.ProductSearchBase An object implementing the server-side handling logic. |