Class TasksResource.ClearRequest
Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.
Inheritance
TasksResource.ClearRequest
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasksResource.ClearRequest : TasksBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
ClearRequest(IClientService, string)
Constructs a new Clear request.
Declaration
public ClearRequest(IClientService service, string tasklist)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | tasklist |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Tasklist
Task list identifier.
Declaration
[RequestParameter("tasklist", RequestParameterType.Path)]
public virtual string Tasklist { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Clear parameter list.
Declaration
protected override void InitParameters()