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.
Implements
IMessage<GetProductRequest>, IEquatable<GetProductRequest>, IDeepCloneable<GetProductRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
GetProductRequest()
public GetProductRequest()
GetProductRequest(GetProductRequest)
public GetProductRequest(GetProductRequest other)
Parameter | |
---|---|
Name | Description |
other | GetProductRequest |
Properties
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
ProductName
public ProductName ProductName { get; set; }
ProductName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ProductName |