public sealed class GetProductRequest : IMessage<GetProductRequest>, IEquatable<GetProductRequest>, IDeepCloneable<GetProductRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class GetProductRequest.
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 provides reference documentation for the \u003ccode\u003eGetProductRequest\u003c/code\u003e class within the Google Cloud Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the \u003ccode\u003eGetProductRequest\u003c/code\u003e class is 2.12.0, with the page focusing on version 2.10.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetProductRequest\u003c/code\u003e is used to send a request to the \u003ccode\u003eProductService.GetProduct\u003c/code\u003e method and is a derived class that inherits functionalities from various interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetProductRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eName\u003c/code\u003e, which specifies the full resource name of the product, and \u003ccode\u003eProductName\u003c/code\u003e, which provides a typed view over the \u003ccode\u003eName\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThere are various versions available, from 1.0.0 up to the latest 2.12.0 version, and are all accessible via the provided links.\u003c/p\u003e\n"]]],[],null,[]]