Namespace Google.Apis.Drive.v2
Classes
AboutResource
The "about" collection of methods.
AboutResource.GetRequest
Gets the information about the current user along with Drive API settings
AppsResource
The "apps" collection of methods.
AppsResource.GetRequest
Gets a specific app.
AppsResource.ListRequest
Lists a user's installed apps.
ChangesResource
The "changes" collection of methods.
ChangesResource.GetRequest
Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.
ChangesResource.GetStartPageTokenRequest
Gets the starting pageToken for listing future changes.
ChangesResource.ListRequest
Lists the changes for a user or shared drive.
ChangesResource.WatchRequest
Subscribe to changes for a user.
ChannelsResource
The "channels" collection of methods.
ChannelsResource.StopRequest
Stop watching resources through this channel
ChildrenResource
The "children" collection of methods.
ChildrenResource.DeleteRequest
Removes a child from a folder.
ChildrenResource.GetRequest
Gets a specific child reference.
ChildrenResource.InsertRequest
Inserts a file into a folder.
ChildrenResource.ListRequest
Lists a folder's children.
CommentsResource
The "comments" collection of methods.
CommentsResource.DeleteRequest
Deletes a comment.
CommentsResource.GetRequest
Gets a comment by ID.
CommentsResource.InsertRequest
Creates a new comment on the given file.
CommentsResource.ListRequest
Lists a file's comments.
CommentsResource.PatchRequest
Updates an existing comment.
CommentsResource.UpdateRequest
Updates an existing comment.
DriveBaseServiceRequest<TResponse>
A base abstract class for Drive requests.
DriveService
The Drive Service.
DriveService.Scope
Available OAuth 2.0 scopes for use with the Drive API.
DriveService.ScopeConstants
Available OAuth 2.0 scope constants for use with the Drive API.
DrivesResource
The "drives" collection of methods.
DrivesResource.DeleteRequest
Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.
DrivesResource.GetRequest
Gets a shared drive's metadata by ID.
DrivesResource.HideRequest
Hides a shared drive from the default view.
DrivesResource.InsertRequest
Creates a new shared drive.
DrivesResource.ListRequest
Lists the user's shared drives.
DrivesResource.UnhideRequest
Restores a shared drive to the default view.
DrivesResource.UpdateRequest
Updates the metadata for a shared drive.
FilesResource
The "files" collection of methods.
FilesResource.CopyRequest
Creates a copy of the specified file. Folders cannot be copied.
FilesResource.DeleteRequest
Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file or be an organizer on the parent for shared drive files.
FilesResource.EmptyTrashRequest
Permanently deletes all of the user's trashed files.
FilesResource.ExportRequest
Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.
FilesResource.GenerateIdsRequest
Generates a set of file IDs which can be provided in insert or copy requests.
FilesResource.GetRequest
Gets a file's metadata or content by ID.
FilesResource.InsertMediaUpload
Insert media upload which supports resumable upload.
FilesResource.InsertRequest
Insert a new file.
FilesResource.ListLabelsRequest
Lists the labels on a file.
FilesResource.ListRequest
Lists the user's files.
FilesResource.ModifyLabelsRequest
Modifies the set of labels on a file.
FilesResource.PatchRequest
Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics.
FilesResource.TouchRequest
Set the file's updated time to the current server time.
FilesResource.TrashRequest
Moves a file to the trash. The currently authenticated user must own the file or be at least a fileOrganizer on the parent for shared drive files. Only the owner may trash a file. The trashed item is excluded from all files.list responses returned for any user who does not own the file. However, all users with access to the file can see the trashed item metadata in an API response. All users with access can copy, download, export, and share the file.
FilesResource.UntrashRequest
Restores a file from the trash. The currently authenticated user must own the file or be at least a fileOrganizer on the parent for shared drive files. Only the owner may untrash a file.
FilesResource.UpdateMediaUpload
Update media upload which supports resumable upload.
FilesResource.UpdateRequest
Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as modifiedDate. This method supports patch semantics.
FilesResource.WatchRequest
Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification.
ParentsResource
The "parents" collection of methods.
ParentsResource.DeleteRequest
Removes a parent from a file.
ParentsResource.GetRequest
Gets a specific parent reference.
ParentsResource.InsertRequest
Adds a parent folder for a file.
ParentsResource.ListRequest
Lists a file's parents.
PermissionsResource
The "permissions" collection of methods.
PermissionsResource.DeleteRequest
Deletes a permission from a file or shared drive.
PermissionsResource.GetIdForEmailRequest
Returns the permission ID for an email address.
PermissionsResource.GetRequest
Gets a permission by ID.
PermissionsResource.InsertRequest
Inserts a permission for a file or shared drive.
PermissionsResource.ListRequest
Lists a file's or shared drive's permissions.
PermissionsResource.PatchRequest
Updates a permission using patch semantics.
PermissionsResource.UpdateRequest
Updates a permission.
PropertiesResource
The "properties" collection of methods.
PropertiesResource.DeleteRequest
Deletes a property.
PropertiesResource.GetRequest
Gets a property by its key.
PropertiesResource.InsertRequest
Adds a property to a file, or updates it if it already exists.
PropertiesResource.ListRequest
Lists a file's properties.
PropertiesResource.PatchRequest
Updates a property.
PropertiesResource.UpdateRequest
Updates a property.
RepliesResource
The "replies" collection of methods.
RepliesResource.DeleteRequest
Deletes a reply.
RepliesResource.GetRequest
Gets a reply.
RepliesResource.InsertRequest
Creates a new reply to the given comment.
RepliesResource.ListRequest
Lists all of the replies to a comment.
RepliesResource.PatchRequest
Updates an existing reply.
RepliesResource.UpdateRequest
Updates an existing reply.
RevisionsResource
The "revisions" collection of methods.
RevisionsResource.DeleteRequest
Permanently deletes a file version. You can only delete revisions for files with binary content, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted.
RevisionsResource.GetRequest
Gets a specific revision.
RevisionsResource.ListRequest
Lists a file's revisions.
RevisionsResource.PatchRequest
Updates a revision.
RevisionsResource.UpdateRequest
Updates a revision.
TeamdrivesResource
The "teamdrives" collection of methods.
TeamdrivesResource.DeleteRequest
Deprecated use drives.delete instead.
TeamdrivesResource.GetRequest
Deprecated use drives.get instead.
TeamdrivesResource.InsertRequest
Deprecated use drives.insert instead.
TeamdrivesResource.ListRequest
Deprecated use drives.list instead.
TeamdrivesResource.UpdateRequest
Deprecated use drives.update instead.
Enums
DriveBaseServiceRequest<TResponse>.AltEnum
Data format for the response.
FilesResource.CopyRequest.VisibilityEnum
The visibility of the new file. This parameter is only relevant when the source is not a native Google Doc and convert=false.
FilesResource.GetRequest.ProjectionEnum
This parameter is deprecated and has no function.
FilesResource.InsertMediaUpload.AltEnum
Data format for the response.
FilesResource.InsertMediaUpload.VisibilityEnum
The visibility of the new file. This parameter is only relevant when convert=false.
FilesResource.InsertRequest.VisibilityEnum
The visibility of the new file. This parameter is only relevant when convert=false.
FilesResource.ListRequest.CorpusEnum
The body of items (files/documents) to which the query applies. Deprecated: use 'corpora' instead.
FilesResource.ListRequest.ProjectionEnum
This parameter is deprecated and has no function.
FilesResource.PatchRequest.ModifiedDateBehaviorEnum
Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.
FilesResource.UpdateMediaUpload.AltEnum
Data format for the response.
FilesResource.UpdateMediaUpload.ModifiedDateBehaviorEnum
Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.
FilesResource.UpdateRequest.ModifiedDateBehaviorEnum
Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.
FilesResource.WatchRequest.ProjectionEnum
This parameter is deprecated and has no function.