Class AccountsResource.ProductsResource.DeleteRequest
Deletes the product from a Manufacturer Center account.
Inheritance
AccountsResource.ProductsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.ManufacturerCenter.v1
Assembly: Google.Apis.ManufacturerCenter.v1.dll
Syntax
public class AccountsResource.ProductsResource.DeleteRequest : ManufacturerCenterBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string parent, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Name in the format {target_country}:{content_language}:{product_id}
. target_country
- The target
country of the product as a CLDR territory code (for example, US). content_language
- The content
language of the product as a two-letter ISO 639-1 language code (for example, en). product_id
-
The ID of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#id.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
Parent
Parent ID in the format accounts/{account_id}
. account_id
- The ID of the Manufacturer Center
account.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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()