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

Approval

import type { Approval } from "https://googleapis.deno.dev/v1/drive:v3.ts";

Metadata for an approval. An approval is a review/approve process for a Drive item.

interface Approval {
approvalId?: string;
readonly completeTime?: Date;
readonly createTime?: Date;
dueTime?: Date;
initiator?: User;
kind?: string;
readonly modifyTime?: Date;
reviewerResponses?: ReviewerResponse[];
readonly status?:
| "STATUS_UNSPECIFIED"
| "IN_PROGRESS"
| "APPROVED"
| "CANCELLED"
| "DECLINED";
targetFileId?: string;
}

§Properties

§
approvalId?: string
[src]

The Approval ID.

§
readonly completeTime?: Date
[src]

Output only. The time time the approval was completed.

§
readonly createTime?: Date
[src]

Output only. The time the approval was created.

§
dueTime?: Date
[src]

The time that the approval is due.

§
initiator?: User
[src]

The user that requested the Approval.

§
kind?: string
[src]

This is always drive#approval.

§
readonly modifyTime?: Date
[src]

Output only. The most recent time the approval was modified.

§
reviewerResponses?: ReviewerResponse[]
[src]

The responses made on the Approval by reviewers.

§
readonly status?: "STATUS_UNSPECIFIED" | "IN_PROGRESS" | "APPROVED" | "CANCELLED" | "DECLINED"
[src]

Output only. The status of the approval at the time this resource was requested.

§
targetFileId?: string
[src]

Target file id of the approval.