Expand description
The data types sent to and returned from the API client.
Structs§
- About
- Information about the user, the user’s Drive, and system capabilities.
- Background
Image File - 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
- Capabilities the current user has on this shared drive.
- Change
- A change to a file or shared drive.
- Change
List - A list of changes for a user.
- Channel
- An notification channel used to watch for resource changes.
- Comment
- A comment on a file.
- Comment
List - A list of comments on a file.
- Content
Hints - Additional information about the content of the file. These fields are never populated in responses.
- Content
Restriction - A restriction for accessing the content of the file.
- Drive
- Representation of a shared drive.
- Drive
List - A list of shared drives.
- Drive
Themes - File
- The metadata for a file.
- File
Capabilities - Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
- File
List - A list of files.
- Generated
Ids - A list of generated file IDs which can be provided in create requests.
- Image
Media Metadata - Additional metadata about image media, if available.
- Link
Share Metadata - Contains details about the link URLs that clients are using to refer to this item.
- Location
- Geographic location information stored in the image.
- Permission
- A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.
- Permission
Details - Permission
List - A list of permissions for a file.
- Quoted
File Content - 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.
- Reply
- A reply to a comment on a file.
- Reply
List - A list of replies to a comment on a file.
- Restrictions
- A set of restrictions that apply to this shared drive or items inside this shared drive.
- Revision
- The metadata for a revision to a file.
- Revision
List - A list of revisions of a file.
- Shortcut
Details - Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
- Start
Page Token - Storage
Quota - The user’s storage quota limits and usage. All fields are measured in bytes.
- Team
Drive - Deprecated: use the drive collection instead.
- Team
Drive Background Image File - 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.
- Team
Drive Capabilities - Capabilities the current user has on this Team Drive.
- Team
Drive List - A list of Team Drives.
- Team
Drive Permission Details - Team
Drive Restrictions - A set of restrictions that apply to this Team Drive or items inside this Team Drive.
- Thumbnail
- A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.
- User
- Information about a Drive user.
- Video
Media Metadata - Additional metadata about video media. This may not be available immediately upon upload.