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"]],[["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-04-17 UTC."],[[["This document provides reference documentation for the `GetProductRequest` class within the Google Cloud Retail v2 API, specifically for version 2.7.0, which is part of the Retail v2 API."],["The `GetProductRequest` class is used to create request messages for the `ProductService.GetProduct` method and it inherits from `object` and implements the interfaces `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `GetProductRequest` class includes properties such as `Name` (a required string representing the full resource name of a product) and `ProductName` (a typed view of the product name)."],["The documentation provides links to older versions of the `GetProductRequest` class, ranging from version 1.0.0 all the way up to the latest 2.12.0."],["The `GetProductRequest` class has two constructors, one default and one which takes in another `GetProductRequest` as a parameter."]]],[]]