Class ProductsResource.DeleteRequest
Deletes a product from your Merchant Center account.
Inheritance
ProductsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ProductsResource.DeleteRequest : ShoppingContentBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, ulong, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, ulong merchantId, string productId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ulong | merchantId | |
string | productId |
Properties
FeedId
The Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.
Declaration
[RequestParameter("feedId", RequestParameterType.Query)]
public virtual ulong? FeedId { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MerchantId
The ID of the account that contains the product. This account cannot be a multi-client account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
ulong |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProductId
The REST ID of the product.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()