Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Task

import type { Task } from "https://googleapis.deno.dev/v1/tasks:v1.ts";
interface Task {
completed?: string;
deleted?: boolean;
due?: string;
etag?: string;
hidden?: boolean;
id?: string;
kind?: string;
links?: {
description?: string;
link?: string;
type?: string;
}
[]
;
notes?: string;
parent?: string;
position?: string;
selfLink?: string;
status?: string;
title?: string;
updated?: string;
webViewLink?: string;
}

§Properties

§
completed?: string
[src]

Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.

§
deleted?: boolean
[src]

Flag indicating whether the task has been deleted. The default is False.

§
due?: string
[src]

Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.

§
etag?: string
[src]

ETag of the resource.

§
hidden?: boolean
[src]

Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.

§
id?: string
[src]

Task identifier.

§
kind?: string
[src]

Type of the resource. This is always "tasks#task".

§
notes?: string
[src]

Notes describing the task. Optional. Maximum length allowed: 8192 characters.

§
parent?: string
[src]

Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.

§
position?: string
[src]

String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.

§
status?: string
[src]

Status of the task. This is either "needsAction" or "completed".

§
title?: string
[src]

Title of the task. Maximum length allowed: 1024 characters.

§
updated?: string
[src]

Last modification time of the task (as a RFC 3339 timestamp).