Class GetProductRequest
Request message for [GetProduct][] method.
Inheritance
System.Object
GetProductRequest
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
public sealed class GetProductRequest : IMessage<GetProductRequest>, IEquatable<GetProductRequest>, IDeepCloneable<GetProductRequest>, IBufferMessage, IMessage
Constructors
GetProductRequest()
Declaration
public GetProductRequest()
GetProductRequest(GetProductRequest)
Declaration
public GetProductRequest(GetProductRequest other)
Parameters
Type | Name | Description |
---|---|---|
GetProductRequest | other |
Properties
Name
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.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProductName
ProductName-typed view over the Name resource name property.
Declaration
public ProductName ProductName { get; set; }
Property Value
Type | Description |
---|---|
ProductName |