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

AssignmentInfo

import type { AssignmentInfo } from "https://googleapis.deno.dev/v1/tasks:v1.ts";

Information about the source of the task assignment (Document, Chat Space).

interface AssignmentInfo {
readonly driveResourceInfo?: DriveResourceInfo;
readonly linkToTask?: string;
readonly spaceInfo?: SpaceInfo;
readonly surfaceType?:
| "CONTEXT_TYPE_UNSPECIFIED"
| "GMAIL"
| "DOCUMENT"
| "SPACE";
}

§Properties

§
readonly driveResourceInfo?: DriveResourceInfo
[src]

Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only.

§
readonly linkToTask?: string
[src]

Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.).

§
readonly spaceInfo?: SpaceInfo
[src]

Output only. Information about the Chat Space where this task originates from. This field is read-only.

§
readonly surfaceType?: "CONTEXT_TYPE_UNSPECIFIED" | "GMAIL" | "DOCUMENT" | "SPACE"
[src]

Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE.