public sealed class GetProductRequest : IMessage<GetProductRequest>, IEquatable<GetProductRequest>, IDeepCloneable<GetProductRequest>, IBufferMessage, IMessage
Request message for
[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]
method.
Required. Full resource name of [Product][google.cloud.retail.v2.Product],
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to access the
[Product][google.cloud.retail.v2.Product], regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the requested [Product][google.cloud.retail.v2.Product] does not exist,
a NOT_FOUND 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 webpage details the \u003ccode\u003eGetProductRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, used for requesting a product via the \u003ccode\u003eProductService.GetProduct\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetProductRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor \u003ccode\u003eGetProductRequest\u003c/code\u003e that can be initialized with either no parameters or an existing \u003ccode\u003eGetProductRequest\u003c/code\u003e object and there are also properties such as \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eProductName\u003c/code\u003e (a \u003ccode\u003eProductName\u003c/code\u003e type).\u003c/p\u003e\n"],["\u003cp\u003eThere are various versions of \u003ccode\u003eGetProductRequest\u003c/code\u003e available, ranging from version 1.0.0 up to the latest version, 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetProductRequest\u003c/code\u003e class is used to specify the full resource name of the product being requested, with access restrictions that will either result in a PERMISSION_DENIED or NOT_FOUND error.\u003c/p\u003e\n"]]],[],null,[]]