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

Revision

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

The metadata for a revision to a file. Some resource methods (such as revisions.update) require a revisionId. Use the revisions.list method to retrieve the ID for a revision.

interface Revision {
exportLinks?: {
[key: string]: string;
}
;
id?: string;
keepForever?: boolean;
kind?: string;
lastModifyingUser?: User;
md5Checksum?: string;
mimeType?: string;
modifiedTime?: Date;
originalFilename?: string;
publishAuto?: boolean;
published?: boolean;
publishedLink?: string;
publishedOutsideDomain?: boolean;
size?: bigint;
}

§Properties

§
id?: string
[src]

Output only. The ID of the revision.

§
keepForever?: boolean
[src]

Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.

§
kind?: string
[src]

Output only. Identifies what kind of resource this is. Value: the fixed string "drive#revision".

§
lastModifyingUser?: User
[src]

Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user.

§
md5Checksum?: string
[src]

Output only. The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.

§
mimeType?: string
[src]

Output only. The MIME type of the revision.

§
modifiedTime?: Date
[src]

The last time the revision was modified (RFC 3339 date-time).

§
originalFilename?: string
[src]

Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.

§
publishAuto?: boolean
[src]

Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.

§
published?: boolean
[src]

Whether this revision is published. This is only applicable to Docs Editors files.

§
publishedOutsideDomain?: boolean
[src]

Whether this revision is published outside the domain. This is only applicable to Docs Editors files.

§
size?: bigint
[src]

Output only. The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.