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

Usage

import * as mod from "https://googleapis.deno.dev/v1/drive:v3.ts";

§Classes

Drive

The Google Drive API allows clients to access resources from Google Drive.

GoogleAuth

§Variables

auth

§Interfaces

About

Information about the user, the user's Drive, and system capabilities.

AccessProposal

The Access Proposal resource for outstanding access proposals on a file

AccessProposalRoleAndView

A wrapper for the role and view of an access proposal.

App

The apps resource provides a list of apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details. Some resource methods (such as apps.get) require an appId. Use the apps.list method to retrieve the ID for an installed application.

AppIcons
AppList

A list of third-party applications which the user has installed or given access to Google Drive.

AppsListOptions

Additional options for Drive#appsList.

Change

A change to a file or shared drive.

ChangeList

A list of changes for a user.

ChangesGetStartPageTokenOptions

Additional options for Drive#changesGetStartPageToken.

ChangesListOptions

Additional options for Drive#changesList.

ChangesWatchOptions

Additional options for Drive#changesWatch.

Channel

A notification channel used to watch for resource changes.

Comment

A comment on a file. Some resource methods (such as comments.update) require a commentId. Use the comments.list method to retrieve the ID for a comment in a file.

CommentList

A list of comments on a file.

CommentsGetOptions

Additional options for Drive#commentsGet.

CommentsListOptions

Additional options for Drive#commentsList.

ContentRestriction

A restriction for accessing the content of the file.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

Drive

Representation of a shared drive. Some resource methods (such as drives.update) require a driveId. Use the drives.list method to retrieve the ID for a shared drive.

DriveList

A list of shared drives.

DrivesCreateOptions

Additional options for Drive#drivesCreate.

DrivesDeleteOptions

Additional options for Drive#drivesDelete.

DrivesGetOptions

Additional options for Drive#drivesGet.

DrivesListOptions

Additional options for Drive#drivesList.

DrivesUpdateOptions

Additional options for Drive#drivesUpdate.

File

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

FileList

A list of files.

FilesAccessproposalsListOptions

Additional options for Drive#filesAccessproposalsList.

FilesAccessproposalsResolveOptions

Additional options for Drive#filesAccessproposalsResolve.

FilesCopyOptions

Additional options for Drive#filesCopy.

FilesCreateOptions

Additional options for Drive#filesCreate.

FilesDeleteOptions

Additional options for Drive#filesDelete.

FilesDownloadOptions

Additional options for Drive#filesDownload.

FilesEmptyTrashOptions

Additional options for Drive#filesEmptyTrash.

FilesExportOptions

Additional options for Drive#filesExport.

FilesGenerateIdsOptions

Additional options for Drive#filesGenerateIds.

FilesGetOptions

Additional options for Drive#filesGet.

FilesListLabelsOptions

Additional options for Drive#filesListLabels.

FilesListOptions

Additional options for Drive#filesList.

FilesUpdateOptions

Additional options for Drive#filesUpdate.

FilesWatchOptions

Additional options for Drive#filesWatch.

GeneratedIds

A list of generated file IDs which can be provided in create requests.

Label

Representation of label and label fields.

LabelField

Representation of field, which is a typed key-value pair.

LabelFieldModification

A modification to a label's field.

LabelList

A list of labels applied to a file.

LabelModification

A modification to a label on a file. A LabelModification can be used to apply a label to a file, update an existing label on a file, or remove a label from a file.

ListAccessProposalsResponse

The response to an Access Proposal list request.

ListOperationsResponse

The response message for Operations.ListOperations.

ModifyLabelsRequest

A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.

ModifyLabelsResponse

Response to a ModifyLabels request. This contains only those labels which were added or updated by the request.

Operation

This resource represents a long-running operation that is the result of a network API call.

OperationsListOptions

Additional options for Drive#operationsList.

Permission

A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. Some resource methods (such as permissions.update) require a permissionId. Use the permissions.list method to retrieve the ID for a file, folder, or shared drive.

PermissionList

A list of permissions for a file.

PermissionsCreateOptions

Additional options for Drive#permissionsCreate.

PermissionsDeleteOptions

Additional options for Drive#permissionsDelete.

PermissionsGetOptions

Additional options for Drive#permissionsGet.

PermissionsListOptions

Additional options for Drive#permissionsList.

PermissionsUpdateOptions

Additional options for Drive#permissionsUpdate.

RepliesGetOptions

Additional options for Drive#repliesGet.

RepliesListOptions

Additional options for Drive#repliesList.

Reply

A reply to a comment on a file. Some resource methods (such as replies.update) require a replyId. Use the replies.list method to retrieve the ID for a reply.

ReplyList

A list of replies to a comment on a file.

Revision

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.

RevisionList

A list of revisions of a file.

RevisionsGetOptions

Additional options for Drive#revisionsGet.

RevisionsListOptions

Additional options for Drive#revisionsList.

StartPageToken
Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

TeamDrive

Deprecated: use the drive collection instead.

TeamDriveList

A list of Team Drives.

TeamdrivesCreateOptions

Additional options for Drive#teamdrivesCreate.

TeamdrivesGetOptions

Additional options for Drive#teamdrivesGet.

TeamdrivesListOptions

Additional options for Drive#teamdrivesList.

TeamdrivesUpdateOptions

Additional options for Drive#teamdrivesUpdate.

User

Information about a Drive user.