Class GetProductRequest
Request message for the GetProduct method.
Implements
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.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. The name of the product to retrieve.
Format:
accounts/{account}/products/{product}
where the last
section product
consists of:
content_language~feed_label~offer_id
example for product name is accounts/123/products/en~US~sku123
. A legacy
local product name would be accounts/123/products/local~en~US~sku123
.
Note: For calls to the v1beta version, the product
section consists
of: channel~content_language~feed_label~offer_id
, for example:
accounts/123/products/online~en~US~sku123
.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductName
ProductName-typed view over the Name resource name property.
Declaration
public ProductName ProductName { get; set; }
Property Value
Type | Description |
---|---|
ProductName |