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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `GetProductRequest` class within the `Google.Cloud.Retail.V2` namespace, used for requesting a product via the `ProductService.GetProduct` method."],["The `GetProductRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class."],["The class includes a constructor `GetProductRequest` that can be initialized with either no parameters or an existing `GetProductRequest` object and there are also properties such as `Name` (a string) and `ProductName` (a `ProductName` type)."],["There are various versions of `GetProductRequest` available, ranging from version 1.0.0 up to the latest version, 2.12.0."],["The `GetProductRequest` 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."]]],[]]