public sealed class UpdateProductRequest : IMessage<UpdateProductRequest>, IEquatable<UpdateProductRequest>, IDeepCloneable<UpdateProductRequest>, IBufferMessage, IMessage
If the caller does not have permission to update the
[Product][google.cloud.retail.v2.Product], regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to update does not exist,
a NOT_FOUND error is returned.
Indicates which fields in the provided
[Product][google.cloud.retail.v2.Product] to update. The immutable and
output only fields are NOT supported. If not set, all supported fields (the
fields that are neither immutable nor output only) are updated.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
is returned.
[[["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 outlines the \u003ccode\u003eUpdateProductRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, used for updating or creating products via the \u003ccode\u003eUpdateProduct\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eUpdateProductRequest\u003c/code\u003e is 2.12.0, and the document provides links to documentation for multiple versions, ranging from 1.0.0 to 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateProductRequest\u003c/code\u003e implements interfaces such as \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"],["\u003cp\u003eThe class contains two properties: \u003ccode\u003eProduct\u003c/code\u003e which is the product to be updated or created, and \u003ccode\u003eUpdateMask\u003c/code\u003e, that indicates which fields should be updated.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one empty and one taking in another \u003ccode\u003eUpdateProductRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]