public sealed class UpdateProductRequest : IMessage<UpdateProductRequest>, IEquatable<UpdateProductRequest>, IDeepCloneable<UpdateProductRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class UpdateProductRequest.
The [FieldMask][google.protobuf.FieldMask] that specifies which fields
to update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask paths include product_labels, display_name, and
description.
[[["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 \u003ccode\u003eUpdateProductRequest\u003c/code\u003e class is part of the Google Cloud Vision v1 API, used for updating a product resource.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eUpdateProductRequest\u003c/code\u003e is 3.7.0, but there are 10 previous versions available from 3.6.0 down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateProductRequest\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for message handling and object comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateProductRequest\u003c/code\u003e class includes properties like \u003ccode\u003eProduct\u003c/code\u003e which is required and represents the product resource to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e which is used to specify fields for update.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default one \u003ccode\u003eUpdateProductRequest()\u003c/code\u003e and an overload where you can pass in another \u003ccode\u003eUpdateProductRequest\u003c/code\u003e object to create a new one.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Vision v1 API - Class UpdateProductRequest (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.UpdateProductRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.6.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.5.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.4.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.3.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.2.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.1.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/3.0.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.5.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.4.0/Google.Cloud.Vision.V1.UpdateProductRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Vision.V1/2.3.0/Google.Cloud.Vision.V1.UpdateProductRequest) \n\n public sealed class UpdateProductRequest : IMessage\u003cUpdateProductRequest\u003e, IEquatable\u003cUpdateProductRequest\u003e, IDeepCloneable\u003cUpdateProductRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Vision v1 API class UpdateProductRequest.\n\nRequest message for the `UpdateProduct` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateProductRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateProductRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.UpdateProductRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateProductRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.UpdateProductRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateProductRequest](/dotnet/docs/reference/Google.Cloud.Vision.V1/latest/Google.Cloud.Vision.V1.UpdateProductRequest), [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### UpdateProductRequest()\n\n public UpdateProductRequest()\n\n### UpdateProductRequest(UpdateProductRequest)\n\n public UpdateProductRequest(UpdateProductRequest other)\n\nProperties\n----------\n\n### Product\n\n public Product Product { get; set; }\n\nRequired. The Product resource which replaces the one on the server.\nproduct.name is immutable.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe \\[FieldMask\\]\\[google.protobuf.FieldMask\\] that specifies which fields\nto update.\nIf update_mask isn't specified, all mutable fields are to be updated.\nValid mask paths include `product_labels`, `display_name`, and\n`description`."]]