Show / Hide Table of Contents

Namespace Google.Apis.Drive.v3.Data

Classes

About

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

About.DriveThemesData

A list of themes that are supported for shared drives.

About.StorageQuotaData

The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.

About.TeamDriveThemesData

Deprecated: Use driveThemes instead.

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.

Change

A change to a file or shared drive.

ChangeList

A list of changes for a user.

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.

Comment.QuotedFileContentData

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.

CommentList

A list of comments on a file.

ContentRestriction

A restriction for accessing the content of the file.

DownloadRestriction

A restriction for copy and download of the file.

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.

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

Output only. 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. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use drives.update to add restrictions.

DriveList

A list of shared drives.

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.

File.CapabilitiesData

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

File.ContentHintsData

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

File.ContentHintsData.ThumbnailData

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

File.ImageMediaMetadataData

Output only. Additional metadata about image media, if available.

File.ImageMediaMetadataData.LocationData

Output only. Geographic location information stored in the image.

File.LabelInfoData

Output only. An overview of the labels on 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. Can only be set on files.create requests.

File.VideoMediaMetadataData

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

FileList

A list of files.

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.

Permission

A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. By default, permissions requests only return a subset of fields. Permission kind, ID, type, and role are always returned. To retrieve specific fields, see https://developers.google.com/workspace/drive/api/guides/fields-parameter. 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.

Permission.PermissionDetailsData

Output only. Details of whether the permissions on this item are inherited or directly on this item.

Permission.TeamDrivePermissionDetailsData

Output only. Deprecated: Output only. Use permissionDetails instead.

PermissionList

A list of permissions for a file.

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.

ResolveAccessProposalRequest

Request message for resolving an AccessProposal 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.

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.

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.

In this article
Back to top Generated by DocFX