Class AccountsResource.LabelsResource.DeleteRequest
Deletes a label and removes it from all accounts to which it was assigned.
Inheritance
System.Object
ClientServiceRequest<System.String>
ShoppingContentBaseServiceRequest<System.String>
AccountsResource.LabelsResource.DeleteRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class DeleteRequest : ShoppingContentBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, Int64, Int64)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long accountId, long labelId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.Int64 | accountId | |
System.Int64 | labelId |
Properties
AccountId
Required. The id of the account that owns the label.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod
LabelId
Required. The id of the label to delete.
Declaration
[RequestParameter("labelId", RequestParameterType.Path)]
public virtual long LabelId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<System.String>.InitParameters()