Expand description

The data types sent to and returned from the API client.

Structs

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

An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don’t set themeId. When specified, all fields of the backgroundImageFile must be set.

Capabilities the current user has on this shared drive.

A change to a file or shared drive.

A list of changes for a user.

An notification channel used to watch for resource changes.

A comment on a file.

A list of comments on a file.

Additional information about the content of the file. These fields are never populated in responses.

A restriction for accessing the content of the file.

Representation of a shared drive.

A list of shared drives.

The metadata for a file.

Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.

A list of files.

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

Additional metadata about image media, if available.

Contains details about the link URLs that clients are using to refer to this item.

Geographic location information stored in the image.

A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.

A list of permissions for a file.

The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.

A reply to a comment on a file.

A list of replies to a comment on a file.

A set of restrictions that apply to this shared drive or items inside this shared drive.

The metadata for a revision to a file.

A list of revisions of a file.

Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.

The user’s storage quota limits and usage. All fields are measured in bytes.

Deprecated: use the drive collection instead.

An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don’t set themeId. When specified, all fields of the backgroundImageFile must be set.

Capabilities the current user has on this Team Drive.

A list of Team Drives.

A set of restrictions that apply to this Team Drive or items inside this Team Drive.

A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.

Information about a Drive user.

Additional metadata about video media. This may not be available immediately upon upload.

Enums

Data format for the response.

The source of files to list. Deprecated: use ‘corpora’ instead.