public sealed class CreateProductSetRequest : IMessage<CreateProductSetRequest>, IEquatable<CreateProductSetRequest>, IDeepCloneable<CreateProductSetRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class CreateProductSetRequest.
A user-supplied resource id for this ProductSet. If set, the server will
attempt to use this value as the resource id. If it is already in use, an
error is returned with code ALREADY_EXISTS. Must be at most 128 characters
long. It cannot contain the character /.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eCreateProductSetRequest\u003c/code\u003e class within the Google Cloud Vision v1 API, detailing its usage and structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateProductSetRequest\u003c/code\u003e class is used to create a ProductSet and it is a request message for the \u003ccode\u003eCreateProductSet\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class has several properties, including \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eProductSet\u003c/code\u003e, and \u003ccode\u003eProductSetId\u003c/code\u003e, allowing specification of the project location and the ProductSet to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists multiple versions of the \u003ccode\u003eCreateProductSetRequest\u003c/code\u003e class, with version 3.7.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateProductSetRequest\u003c/code\u003e class inherits from object and implements multiple interfaces: \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class CreateProductSetRequest (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.CreateProductSetRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.CreateProductSetRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.CreateProductSetRequest) \n\n public sealed class CreateProductSetRequest : IMessage\u003cCreateProductSetRequest\u003e, IEquatable\u003cCreateProductSetRequest\u003e, IDeepCloneable\u003cCreateProductSetRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Vision v1 API class CreateProductSetRequest.\n\nRequest message for the `CreateProductSet` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateProductSetRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateProductSetRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.CreateProductSetRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateProductSetRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.CreateProductSetRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateProductSetRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.CreateProductSetRequest), [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### CreateProductSetRequest()\n\n public CreateProductSetRequest()\n\n### CreateProductSetRequest(CreateProductSetRequest)\n\n public CreateProductSetRequest(CreateProductSetRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The project in which the ProductSet should be created.\n\nFormat is `projects/PROJECT_ID/locations/LOC_ID`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.CreateProductSetRequest#Google_Cloud_Vision_V1_CreateProductSetRequest_Parent) resource name property.\n\n### ProductSet\n\n public ProductSet ProductSet { get; set; }\n\nRequired. The ProductSet to create.\n\n### ProductSetId\n\n public string ProductSetId { get; set; }\n\nA user-supplied resource id for this ProductSet. If set, the server will\nattempt to use this value as the resource id. If it is already in use, an\nerror is returned with code ALREADY_EXISTS. Must be at most 128 characters\nlong. It cannot contain the character `/`."]]