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/*
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Vision v1 API's ProductSearch class is 3.7.0, with several previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eProductSearch manages Products and ProductSets, organizing reference images for product search within the Google Cloud Vision API.\u003c/p\u003e\n"],["\u003cp\u003eProductSets group products to refine identification, while individual Products contain a collection of ReferenceImages.\u003c/p\u003e\n"],["\u003cp\u003eProductSearch is derived from the \u003ccode\u003eobject\u003c/code\u003e class, inheriting standard object methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe ProductSearch class has methods to bind server logic such as \u003ccode\u003eBindService\u003c/code\u003e, which can be used to create or register the service definition with a server.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class ProductSearch (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.ProductSearch)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.ProductSearch)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.ProductSearch)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.ProductSearch)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.ProductSearch)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.ProductSearch) \n\n public static class ProductSearch\n\nReference documentation and code samples for the Google Cloud Vision v1 API class ProductSearch.\n\nManages Products and ProductSets of reference images for use in product\nsearch. It uses the following resource model:\n\n- 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.\n\nIn parallel,\n\n- The API has a collection of \\[Product\\]\\[google.cloud.vision.v1.Product\\]\n resources, named\n `projects/*/locations/*/products/*`\n\n- Each \\[Product\\]\\[google.cloud.vision.v1.Product\\] has a collection of\n \\[ReferenceImage\\]\\[google.cloud.vision.v1.ReferenceImage\\] resources, named\n `projects/*/locations/*/products/*/referenceImages/*`\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProductSearch \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Vision.V1](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Vision.V1.dll\n\nMethods\n-------\n\n### BindService(ProductSearchBase)\n\n public static ServerServiceDefinition BindService(ProductSearch.ProductSearchBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, ProductSearchBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, ProductSearch.ProductSearchBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]