Immutable. The category for the product identified by the reference image.
This should be one of "homegoods-v2", "apparel-v2", "toys-v2",
"packagedgoods-v1" or "general-v1". The legacy categories "homegoods",
"apparel", and "toys" are still supported, but these should not be used for
new products.
public RepeatedField<Product.Types.KeyValue> ProductLabels { get; }
Key-value pairs that can be attached to a product. At query time,
constraints can be specified based on the product_labels.
Note that integer values can be provided as strings, e.g. "1199". Only
strings with integer values can match a range-based restriction which is
to be supported soon.
Multiple values can be assigned to the same key. One product may have up to
500 product_labels.
Notice that the total number of distinct product_labels over all products
in one ProductSet cannot exceed 1M, otherwise the product search pipeline
will refuse to work for that ProductSet.
[[["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 Google Cloud Vision v1 API class \u003ccode\u003eProduct\u003c/code\u003e is the focus of this documentation, which allows you to manage product information and reference images.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.7.0, with documentation provided for versions ranging from 2.3.0 to 3.7.0 for this specific class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProduct\u003c/code\u003e class contains several properties, including \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProductCategory\u003c/code\u003e, and \u003ccode\u003eProductLabels\u003c/code\u003e, for defining and storing product metadata.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProduct\u003c/code\u003e objects can be constructed using a default constructor or by copying an existing \u003ccode\u003eProduct\u003c/code\u003e, and it is part of the \u003ccode\u003eGoogle.Cloud.Vision.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Vision.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProduct\u003c/code\u003e class implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class Product (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.Product)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.Product)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.Product)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.Product)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.Product)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.Product)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.Product)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.Product)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.Product)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.Product)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.Product) \n\n public sealed class Product : IMessage\u003cProduct\u003e, IEquatable\u003cProduct\u003e, IDeepCloneable\u003cProduct\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Vision v1 API class Product.\n\nA Product contains ReferenceImages. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Product \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Product](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Product), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Product](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Product), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Product](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Product), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \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.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\nConstructors\n------------\n\n### Product()\n\n public Product()\n\n### Product(Product)\n\n public Product(Product other)\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nUser-provided metadata to be stored with this product. Must be at most 4096\ncharacters long.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe user-provided name for this Product. Must not be empty. Must be at most\n4096 characters long.\n\n### Name\n\n public string Name { get; set; }\n\nThe resource name of the product.\n\nFormat is:\n`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.\n\nThis field is ignored when creating a product.\n\n### ProductCategory\n\n public string ProductCategory { get; set; }\n\nImmutable. The category for the product identified by the reference image.\nThis should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\",\n\"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\",\n\"apparel\", and \"toys\" are still supported, but these should not be used for\nnew products.\n\n### ProductLabels\n\n public RepeatedField\u003cProduct.Types.KeyValue\u003e ProductLabels { get; }\n\nKey-value pairs that can be attached to a product. At query time,\nconstraints can be specified based on the product_labels.\n\nNote that integer values can be provided as strings, e.g. \"1199\". Only\nstrings with integer values can match a range-based restriction which is\nto be supported soon.\n\nMultiple values can be assigned to the same key. One product may have up to\n500 product_labels.\n\nNotice that the total number of distinct product_labels over all products\nin one ProductSet cannot exceed 1M, otherwise the product search pipeline\nwill refuse to work for that ProductSet.\n\n### ProductName\n\n public ProductName ProductName { get; set; }\n\n[ProductName](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.ProductName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.Product#Google_Cloud_Vision_V1_Product_Name) resource name property."]]