Class TasksResource.ListRequest
Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
Inheritance
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasksResource.ListRequest : TasksBaseServiceRequest<Tasks>, IClientServiceRequest<Tasks>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string tasklist)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | tasklist |
Properties
CompletedMax
Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
Declaration
[RequestParameter("completedMax", RequestParameterType.Query)]
public virtual string CompletedMax { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CompletedMin
Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
Declaration
[RequestParameter("completedMin", RequestParameterType.Query)]
public virtual string CompletedMin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DueMax
Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
Declaration
[RequestParameter("dueMax", RequestParameterType.Query)]
public virtual string DueMax { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DueMin
Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
Declaration
[RequestParameter("dueMin", RequestParameterType.Query)]
public virtual string DueMin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MaxResults
Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100).
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageToken
Token specifying the result page to return. Optional.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ShowAssigned
Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.
Declaration
[RequestParameter("showAssigned", RequestParameterType.Query)]
public virtual bool? ShowAssigned { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ShowCompleted
Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.
Declaration
[RequestParameter("showCompleted", RequestParameterType.Query)]
public virtual bool? ShowCompleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ShowDeleted
Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.
Declaration
[RequestParameter("showDeleted", RequestParameterType.Query)]
public virtual bool? ShowDeleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ShowHidden
Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.
Declaration
[RequestParameter("showHidden", RequestParameterType.Query)]
public virtual bool? ShowHidden { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Tasklist
Task list identifier.
Declaration
[RequestParameter("tasklist", RequestParameterType.Path)]
public virtual string Tasklist { get; }
Property Value
| Type | Description |
|---|---|
| string |
UpdatedMin
Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
Declaration
[RequestParameter("updatedMin", RequestParameterType.Query)]
public virtual string UpdatedMin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()