public static class ProductSearch
Reference documentation and code samples for the Google Cloud Vision v1 API 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(ProductSearchBase)
public static ServerServiceDefinition BindService(ProductSearch.ProductSearchBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
ProductSearchProductSearchBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, 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 |
ProductSearchProductSearchBase An object implementing the server-side handling logic. |