Show / Hide Table of Contents

Namespace Google.Apis.Drive.v2.Data

Classes

About

An item with user information and settings.

About.AdditionalRoleInfoData

Information about supported additional roles per file type. The most specific type takes precedence.

About.AdditionalRoleInfoData.RoleSetsData

The supported additional roles per primary role.

About.DriveThemesData

A list of themes that are supported for shared drives.

About.ExportFormatsData

The allowable export formats.

About.FeaturesData

List of additional features enabled on this account.

About.ImportFormatsData

The allowable import formats.

About.MaxUploadSizesData

List of max upload sizes for each file type. The most specific type takes precedence.

About.QuotaBytesByServiceData

The amount of storage quota used by different Google services.

About.TeamDriveThemesData

Deprecated - use driveThemes instead.

App

The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.

App.IconsData

The various icons for the app.

AppList

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

Change

Representation of a change to a file or shared drive.

ChangeList

A list of changes for a user.

Channel

An notification channel used to watch for resource changes.

ChildList

A list of children of a file.

ChildReference

A reference to a folder's child.

Comment

A comment on a file in Google Drive.

Comment.ContextData

The context of the file which is being commented on.

CommentList

A list of comments on a file in Google Drive.

CommentReply

A comment on a file in Google Drive.

CommentReplyList

A list of replies to a comment on a file in Google Drive.

ContentRestriction

A restriction for accessing the content of the file.

Drive

Representation of a shared drive.

Drive.BackgroundImageFileData

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.

Drive.CapabilitiesData

Capabilities the current user has on this shared drive.

Drive.RestrictionsData

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

DriveList

A list of shared drives.

File

The metadata for a file.

File.CapabilitiesData

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

File.ImageMediaMetadataData

Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.

File.ImageMediaMetadataData.LocationData

Geographic location information stored in the image.

File.IndexableTextData

Indexable text attributes for the file (can only be written)

File.LabelInfoData

An overview of the labels on the file.

File.LabelsData

A group of labels for the file.

File.LinkShareMetadataData

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

File.ShortcutDetailsData

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

File.ThumbnailData

A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.

File.VideoMediaMetadataData

Metadata about video media. This will only be present for video types.

FileList

A list of files.

GeneratedIds

A list of generated IDs which can be provided in insert requests

Label

Representation of a label and its fields.

LabelField

Representation of a label field.

LabelFieldModification

A modification to a label's field.

LabelList

A list of labels.

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.

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 transactionally.

ModifyLabelsResponse

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

ParentList

A list of a file's parents.

ParentReference

A reference to a file's parent.

Permission

A permission for a file.

Permission.PermissionDetailsData

Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.

Permission.TeamDrivePermissionDetailsData

Deprecated - use permissionDetails instead.

PermissionId

An ID for a user or group as seen in Permission items.

PermissionList

A list of permissions associated with a file.

Property

A key-value pair attached to a file that is either public or private to an application. The following limits apply to file properties: - Maximum of 100 properties total per file - Maximum of 30 private properties per app - Maximum of 30 public properties - Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.

PropertyList

A collection of properties, key-value pairs that are either public or private to an application.

Revision

A revision of a file.

RevisionList

A list of revisions of a file.

StartPageToken

TeamDrive

Deprecated: use the drive collection instead.

TeamDrive.BackgroundImageFileData

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.

TeamDrive.CapabilitiesData

Capabilities the current user has on this Team Drive.

TeamDrive.RestrictionsData

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

TeamDriveList

A list of Team Drives.

User

Information about a Drive user.

User.PictureData

The user's profile picture.

In This Article
Back to top