drive
v3
|
The "files" collection of methods. More...
Classes | |
class | CopyRequest |
Creates a copy of a file and applies any requested updates with patch semantics. More... | |
class | CreateMediaUpload |
Create media upload which supports resumable upload. More... | |
class | CreateRequest |
Creates a new file. More... | |
class | DeleteRequest |
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. More... | |
class | EmptyTrashRequest |
Permanently deletes all of the user's trashed files. More... | |
class | ExportRequest |
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB. More... | |
class | GenerateIdsRequest |
Generates a set of file IDs which can be provided in create or copy requests. More... | |
class | GetRequest |
Gets a file's metadata or content by ID. More... | |
class | ListRequest |
Lists or searches files. More... | |
class | UpdateMediaUpload |
Update media upload which supports resumable upload. More... | |
class | UpdateRequest |
Updates a file's metadata and/or content with patch semantics. More... | |
class | WatchRequest |
Subscribes to changes to a file More... | |
Public Member Functions | |
FilesResource (Google.Apis.Services.IClientService service) | |
Constructs a new resource. More... | |
virtual CopyRequest | Copy (Google.Apis.Drive.v3.Data.File body, string fileId) |
Creates a copy of a file and applies any requested updates with patch semantics. More... | |
virtual CreateRequest | Create (Google.Apis.Drive.v3.Data.File body) |
Creates a new file. More... | |
virtual CreateMediaUpload | Create (Google.Apis.Drive.v3.Data.File body, System.IO.Stream stream, string contentType) |
Creates a new file. More... | |
virtual DeleteRequest | Delete (string fileId) |
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. More... | |
virtual EmptyTrashRequest | EmptyTrash () |
Permanently deletes all of the user's trashed files. More... | |
virtual ExportRequest | Export (string fileId, string mimeType) |
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB. More... | |
virtual GenerateIdsRequest | GenerateIds () |
Generates a set of file IDs which can be provided in create or copy requests. More... | |
virtual GetRequest | Get (string fileId) |
Gets a file's metadata or content by ID. More... | |
virtual ListRequest | List () |
Lists or searches files. More... | |
virtual UpdateRequest | Update (Google.Apis.Drive.v3.Data.File body, string fileId) |
Updates a file's metadata and/or content with patch semantics. More... | |
virtual UpdateMediaUpload | Update (Google.Apis.Drive.v3.Data.File body, string fileId, System.IO.Stream stream, string contentType) |
Updates a file's metadata and/or content with patch semantics. More... | |
virtual WatchRequest | Watch (Google.Apis.Drive.v3.Data.Channel body, string fileId) |
Subscribes to changes to a file More... | |
The "files" collection of methods.
|
inline |
Constructs a new resource.
|
inlinevirtual |
Creates a copy of a file and applies any requested updates with patch semantics.
body | The body of the request. |
fileId | The ID of the file. |
|
inlinevirtual |
Creates a new file.
body | The body of the request. |
|
inlinevirtual |
Creates a new file.
///
body | The body of the request. |
stream | The stream to upload. |
contentType | The content type of the stream to upload. |
|
inlinevirtual |
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.
fileId | The ID of the file. |
|
inlinevirtual |
Permanently deletes all of the user's trashed files.
|
inlinevirtual |
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB.
fileId | The ID of the file. |
mimeType | The MIME type of the format requested for this export. |
|
inlinevirtual |
Generates a set of file IDs which can be provided in create or copy requests.
|
inlinevirtual |
Gets a file's metadata or content by ID.
fileId | The ID of the file. |
|
inlinevirtual |
Lists or searches files.
|
inlinevirtual |
Updates a file's metadata and/or content with patch semantics.
body | The body of the request. |
fileId | The ID of the file. |
|
inlinevirtual |
Updates a file's metadata and/or content with patch semantics.
///
body | The body of the request. |
fileId | The ID of the file. |
stream | The stream to upload. |
contentType | The content type of the stream to upload. |
|
inlinevirtual |
Subscribes to changes to a file
body | The body of the request. |
fileId | The ID of the file. |