Class TasklistsResource
The "tasklists" collection of methods.
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasklistsResource
Constructors
TasklistsResource(IClientService)
Constructs a new resource.
Declaration
public TasklistsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string)
Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
Declaration
public virtual TasklistsResource.DeleteRequest Delete(string tasklist)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tasklist | Task list identifier. |
Returns
| Type | Description |
|---|---|
| TasklistsResource.DeleteRequest |
Get(string)
Returns the authenticated user's specified task list.
Declaration
public virtual TasklistsResource.GetRequest Get(string tasklist)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tasklist | Task list identifier. |
Returns
| Type | Description |
|---|---|
| TasklistsResource.GetRequest |
Insert(TaskList)
Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.
Declaration
public virtual TasklistsResource.InsertRequest Insert(TaskList body)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskList | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| TasklistsResource.InsertRequest |
List()
Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.
Declaration
public virtual TasklistsResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| TasklistsResource.ListRequest |
Patch(TaskList, string)
Updates the authenticated user's specified task list. This method supports patch semantics.
Declaration
public virtual TasklistsResource.PatchRequest Patch(TaskList body, string tasklist)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskList | body | The body of the request. |
| string | tasklist | Task list identifier. |
Returns
| Type | Description |
|---|---|
| TasklistsResource.PatchRequest |
Update(TaskList, string)
Updates the authenticated user's specified task list.
Declaration
public virtual TasklistsResource.UpdateRequest Update(TaskList body, string tasklist)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskList | body | The body of the request. |
| string | tasklist | Task list identifier. |
Returns
| Type | Description |
|---|---|
| TasklistsResource.UpdateRequest |