Drive API v2
This documentation has been automatically generated using information supplied by the Google API Discovery service.
1 API Parameters
procedure
(_ [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
This is not actually a function. This is just using Scribble’s defproc form to list the optional keyword arguments that may be passed to all functions for this service.
fields: Selector specifying which fields to include in a partial response.
key: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_token: OAuth 2.0 token for the current user.
prettyPrint: Returns response with indentations and line breaks.
quotaUser: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
userIp: IP address of the site where the request originates. Use this if you want to enforce per-user limits.
2 Resources
2.1 files
procedure
projection : string? = 'N/A maxResults : string? = 'N/A pageToken : string? = 'N/A q : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
projection: This parameter is deprecated and has no function.
maxResults: Maximum number of files to return.
pageToken: Page token for files.
q: Query string for searching files.
procedure
(drive-files-touch #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to update.
procedure
fileId : string? projection : string? = 'N/A updateViewedDate : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file in question.
projection: This parameter is deprecated and has no function.
updateViewedDate: Whether to update the view date after successfully retrieving the file.
procedure
→ jsexpr? pinned : string? = 'N/A convert : string? = 'N/A ocr : string? = 'N/A ocrLanguage : string? = 'N/A sourceLanguage : string? = 'N/A targetLanguage : string? = 'N/A timedTextLanguage : string? = 'N/A timedTextTrackName : string? = 'N/A id : string? = 'N/A description : string? = 'N/A kind : string? = 'N/A title : string? = 'N/A etag : string? = 'N/A labels : string? = 'N/A quotaBytesUsed : string? = 'N/A selfLink : string? = 'N/A createdDate : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A alternateLink : string? = 'N/A downloadUrl : string? = 'N/A editable : string? = 'N/A embedLink : string? = 'N/A explicitlyTrashed : string? = 'N/A exportLinks : string? = 'N/A fileExtension : string? = 'N/A fileSize : string? = 'N/A imageMediaMetadata : string? = 'N/A indexableText : string? = 'N/A lastModifyingUserName : string? = 'N/A lastViewedByMeDate : string? = 'N/A md5Checksum : string? = 'N/A modifiedByMeDate : string? = 'N/A originalFilename : string? = 'N/A ownerNames : string? = 'N/A parents : string? = 'N/A sharedWithMeDate : string? = 'N/A thumbnail : string? = 'N/A thumbnailLink : string? = 'N/A userPermission : string? = 'N/A webContentLink : string? = 'N/A writersCanShare : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
pinned: Whether to pin the head revision of the uploaded file.
convert: Whether to convert this file to the corresponding Google Docs format.
ocr: Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
ocrLanguage: If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
sourceLanguage: The language of the original file to be translated.
targetLanguage: Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
timedTextLanguage: The language of the timed text.
timedTextTrackName: The timed text track name.
id: The id of the file.
description: A short description of the file.
kind: The type of file. This is always drive#file.
title: The title of this file.
etag: ETag of the file.
labels: A group of labels for the file.
quotaBytesUsed: The number of quota bytes used by this file.
selfLink: A link back to this file.
createdDate: Create time for this file (formatted ISO8601 timestamp).
modifiedDate: Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
mimeType: The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content’s MIME type.
alternateLink: A link for opening the file in using a relevant Google editor or viewer.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
editable: Whether the file can be edited by the current user.
embedLink: A link for embedding the file.
explicitlyTrashed: Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
exportLinks: Links for exporting Google Docs to specific formats.
fileExtension: The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
fileSize: The size of the file in bytes. This will only be populated on files with content stored in Drive.
imageMediaMetadata: 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.
indexableText: Indexable text attributes for the file (can only be written)
lastModifyingUserName: Name of the last user to modify this file. This will only be populated if a user has edited this file.
lastViewedByMeDate: Last time this file was viewed by the user (formatted RFC 3339 timestamp).
md5Checksum: An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
modifiedByMeDate: Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
originalFilename: The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
ownerNames: Name(s) of the owner(s) of this file.
parents: Collection of parent folders which contain this file. Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
sharedWithMeDate: Time at which this file was shared with the user (formatted RFC 3339 timestamp).
thumbnail: Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
thumbnailLink: A link to the file’s thumbnail.
userPermission: The permissions for the authenticated user on this file.
webContentLink: A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
writersCanShare: Whether writers can share the document with other users.
procedure
→ jsexpr? fileId : string? pinned : string? = 'N/A convert : string? = 'N/A ocr : string? = 'N/A ocrLanguage : string? = 'N/A sourceLanguage : string? = 'N/A targetLanguage : string? = 'N/A timedTextLanguage : string? = 'N/A timedTextTrackName : string? = 'N/A updateViewedDate : string? = 'N/A newRevision : string? = 'N/A setModifiedDate : string? = 'N/A id : string? = 'N/A description : string? = 'N/A kind : string? = 'N/A title : string? = 'N/A etag : string? = 'N/A labels : string? = 'N/A quotaBytesUsed : string? = 'N/A selfLink : string? = 'N/A createdDate : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A alternateLink : string? = 'N/A downloadUrl : string? = 'N/A editable : string? = 'N/A embedLink : string? = 'N/A explicitlyTrashed : string? = 'N/A exportLinks : string? = 'N/A fileExtension : string? = 'N/A fileSize : string? = 'N/A imageMediaMetadata : string? = 'N/A indexableText : string? = 'N/A lastModifyingUserName : string? = 'N/A lastViewedByMeDate : string? = 'N/A md5Checksum : string? = 'N/A modifiedByMeDate : string? = 'N/A originalFilename : string? = 'N/A ownerNames : string? = 'N/A parents : string? = 'N/A sharedWithMeDate : string? = 'N/A thumbnail : string? = 'N/A thumbnailLink : string? = 'N/A userPermission : string? = 'N/A webContentLink : string? = 'N/A writersCanShare : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to update.
pinned: Whether to pin the new revision.
convert: Whether to convert this file to the corresponding Google Docs format.
ocr: Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
ocrLanguage: If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
sourceLanguage: The language of the original file to be translated.
targetLanguage: Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
timedTextLanguage: The language of the timed text.
timedTextTrackName: The timed text track name.
updateViewedDate: Whether to update the view date after successfully updating the file.
newRevision: Whether a blob upload should create a new revision. If false, the blob data in the current head revision will be replaced.
setModifiedDate: Whether to set the modified date with the supplied modified date.
id: The id of the file.
description: A short description of the file.
kind: The type of file. This is always drive#file.
title: The title of this file.
etag: ETag of the file.
labels: A group of labels for the file.
quotaBytesUsed: The number of quota bytes used by this file.
selfLink: A link back to this file.
createdDate: Create time for this file (formatted ISO8601 timestamp).
modifiedDate: Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
mimeType: The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content’s MIME type.
alternateLink: A link for opening the file in using a relevant Google editor or viewer.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
editable: Whether the file can be edited by the current user.
embedLink: A link for embedding the file.
explicitlyTrashed: Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
exportLinks: Links for exporting Google Docs to specific formats.
fileExtension: The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
fileSize: The size of the file in bytes. This will only be populated on files with content stored in Drive.
imageMediaMetadata: 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.
indexableText: Indexable text attributes for the file (can only be written)
lastModifyingUserName: Name of the last user to modify this file. This will only be populated if a user has edited this file.
lastViewedByMeDate: Last time this file was viewed by the user (formatted RFC 3339 timestamp).
md5Checksum: An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
modifiedByMeDate: Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
originalFilename: The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
ownerNames: Name(s) of the owner(s) of this file.
parents: Collection of parent folders which contain this file. Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
sharedWithMeDate: Time at which this file was shared with the user (formatted RFC 3339 timestamp).
thumbnail: Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
thumbnailLink: A link to the file’s thumbnail.
userPermission: The permissions for the authenticated user on this file.
webContentLink: A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
writersCanShare: Whether writers can share the document with other users.
procedure
→ jsexpr? fileId : string? pinned : string? = 'N/A convert : string? = 'N/A ocr : string? = 'N/A ocrLanguage : string? = 'N/A sourceLanguage : string? = 'N/A targetLanguage : string? = 'N/A timedTextLanguage : string? = 'N/A timedTextTrackName : string? = 'N/A id : string? = 'N/A description : string? = 'N/A kind : string? = 'N/A title : string? = 'N/A etag : string? = 'N/A labels : string? = 'N/A quotaBytesUsed : string? = 'N/A selfLink : string? = 'N/A createdDate : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A alternateLink : string? = 'N/A downloadUrl : string? = 'N/A editable : string? = 'N/A embedLink : string? = 'N/A explicitlyTrashed : string? = 'N/A exportLinks : string? = 'N/A fileExtension : string? = 'N/A fileSize : string? = 'N/A imageMediaMetadata : string? = 'N/A indexableText : string? = 'N/A lastModifyingUserName : string? = 'N/A lastViewedByMeDate : string? = 'N/A md5Checksum : string? = 'N/A modifiedByMeDate : string? = 'N/A originalFilename : string? = 'N/A ownerNames : string? = 'N/A parents : string? = 'N/A sharedWithMeDate : string? = 'N/A thumbnail : string? = 'N/A thumbnailLink : string? = 'N/A userPermission : string? = 'N/A webContentLink : string? = 'N/A writersCanShare : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to copy.
pinned: Whether to pin the head revision of the new copy.
convert: Whether to convert this file to the corresponding Google Docs format.
ocr: Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
ocrLanguage: If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
sourceLanguage: The language of the original file to be translated.
targetLanguage: Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
timedTextLanguage: The language of the timed text.
timedTextTrackName: The timed text track name.
id: The id of the file.
description: A short description of the file.
kind: The type of file. This is always drive#file.
title: The title of this file.
etag: ETag of the file.
labels: A group of labels for the file.
quotaBytesUsed: The number of quota bytes used by this file.
selfLink: A link back to this file.
createdDate: Create time for this file (formatted ISO8601 timestamp).
modifiedDate: Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
mimeType: The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content’s MIME type.
alternateLink: A link for opening the file in using a relevant Google editor or viewer.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
editable: Whether the file can be edited by the current user.
embedLink: A link for embedding the file.
explicitlyTrashed: Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
exportLinks: Links for exporting Google Docs to specific formats.
fileExtension: The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
fileSize: The size of the file in bytes. This will only be populated on files with content stored in Drive.
imageMediaMetadata: 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.
indexableText: Indexable text attributes for the file (can only be written)
lastModifyingUserName: Name of the last user to modify this file. This will only be populated if a user has edited this file.
lastViewedByMeDate: Last time this file was viewed by the user (formatted RFC 3339 timestamp).
md5Checksum: An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
modifiedByMeDate: Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
originalFilename: The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
ownerNames: Name(s) of the owner(s) of this file.
parents: Collection of parent folders which contain this file. Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
sharedWithMeDate: Time at which this file was shared with the user (formatted RFC 3339 timestamp).
thumbnail: Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
thumbnailLink: A link to the file’s thumbnail.
userPermission: The permissions for the authenticated user on this file.
webContentLink: A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
writersCanShare: Whether writers can share the document with other users.
procedure
(drive-files-trash #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to trash.
procedure
(drive-files-untrash #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to untrash.
procedure
(drive-files-delete #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to delete.
procedure
→ jsexpr? fileId : string? pinned : string? = 'N/A convert : string? = 'N/A ocr : string? = 'N/A ocrLanguage : string? = 'N/A sourceLanguage : string? = 'N/A targetLanguage : string? = 'N/A timedTextLanguage : string? = 'N/A timedTextTrackName : string? = 'N/A updateViewedDate : string? = 'N/A newRevision : string? = 'N/A setModifiedDate : string? = 'N/A id : string? = 'N/A description : string? = 'N/A kind : string? = 'N/A title : string? = 'N/A etag : string? = 'N/A labels : string? = 'N/A quotaBytesUsed : string? = 'N/A selfLink : string? = 'N/A createdDate : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A alternateLink : string? = 'N/A downloadUrl : string? = 'N/A editable : string? = 'N/A embedLink : string? = 'N/A explicitlyTrashed : string? = 'N/A exportLinks : string? = 'N/A fileExtension : string? = 'N/A fileSize : string? = 'N/A imageMediaMetadata : string? = 'N/A indexableText : string? = 'N/A lastModifyingUserName : string? = 'N/A lastViewedByMeDate : string? = 'N/A md5Checksum : string? = 'N/A modifiedByMeDate : string? = 'N/A originalFilename : string? = 'N/A ownerNames : string? = 'N/A parents : string? = 'N/A sharedWithMeDate : string? = 'N/A thumbnail : string? = 'N/A thumbnailLink : string? = 'N/A userPermission : string? = 'N/A webContentLink : string? = 'N/A writersCanShare : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file to update.
pinned: Whether to pin the new revision.
convert: Whether to convert this file to the corresponding Google Docs format.
ocr: Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
ocrLanguage: If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
sourceLanguage: The language of the original file to be translated.
targetLanguage: Target language to translate the file to. If no sourceLanguage is provided, the API will attempt to detect the language.
timedTextLanguage: The language of the timed text.
timedTextTrackName: The timed text track name.
updateViewedDate: Whether to update the view date after successfully updating the file.
newRevision: Whether a blob upload should create a new revision. If false, the blob data in the current head revision will be replaced.
setModifiedDate: Whether to set the modified date with the supplied modified date.
id: The id of the file.
description: A short description of the file.
kind: The type of file. This is always drive#file.
title: The title of this file.
etag: ETag of the file.
labels: A group of labels for the file.
quotaBytesUsed: The number of quota bytes used by this file.
selfLink: A link back to this file.
createdDate: Create time for this file (formatted ISO8601 timestamp).
modifiedDate: Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
mimeType: The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content’s MIME type.
alternateLink: A link for opening the file in using a relevant Google editor or viewer.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
editable: Whether the file can be edited by the current user.
embedLink: A link for embedding the file.
explicitlyTrashed: Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
exportLinks: Links for exporting Google Docs to specific formats.
fileExtension: The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
fileSize: The size of the file in bytes. This will only be populated on files with content stored in Drive.
imageMediaMetadata: 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.
indexableText: Indexable text attributes for the file (can only be written)
lastModifyingUserName: Name of the last user to modify this file. This will only be populated if a user has edited this file.
lastViewedByMeDate: Last time this file was viewed by the user (formatted RFC 3339 timestamp).
md5Checksum: An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
modifiedByMeDate: Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
originalFilename: The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
ownerNames: Name(s) of the owner(s) of this file.
parents: Collection of parent folders which contain this file. Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
sharedWithMeDate: Time at which this file was shared with the user (formatted RFC 3339 timestamp).
thumbnail: Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
thumbnailLink: A link to the file’s thumbnail.
userPermission: The permissions for the authenticated user on this file.
webContentLink: A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
writersCanShare: Whether writers can share the document with other users.
2.2 replies
procedure
fileId : string? commentId : string? maxResults : string? = 'N/A pageToken : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
maxResults: The maximum number of replies to include in the response, used for paging.
pageToken: The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
procedure
fileId : string? commentId : string? replyId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
replyId: The ID of the reply.
procedure
fileId : string? commentId : string? kind : string? = 'N/A content : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A createdDate : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A replyId : string? = 'N/A verb : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
kind: This is always drive#commentReply.
content: The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply’s content. This field is required on inserts if no verb is specified (resolve/reopen).
deleted: Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
author: The user who wrote this reply.
createdDate: The date when this reply was first created.
htmlContent: HTML formatted content for this reply.
modifiedDate: The date when this reply was last modified.
replyId: The ID of the reply.
verb: The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - "resolve" - To resolve a comment. - "reopen" - To reopen (un-resolve) a comment.
procedure
fileId : string? commentId : string? replyId : string? kind : string? = 'N/A content : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A createdDate : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A verb : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
replyId: The ID of the reply.
kind: This is always drive#commentReply.
content: The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply’s content. This field is required on inserts if no verb is specified (resolve/reopen).
deleted: Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
author: The user who wrote this reply.
createdDate: The date when this reply was first created.
htmlContent: HTML formatted content for this reply.
modifiedDate: The date when this reply was last modified.
verb: The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - "resolve" - To resolve a comment. - "reopen" - To reopen (un-resolve) a comment.
procedure
fileId : string? commentId : string? replyId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
replyId: The ID of the reply.
procedure
fileId : string? commentId : string? replyId : string? kind : string? = 'N/A content : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A createdDate : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A verb : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
replyId: The ID of the reply.
kind: This is always drive#commentReply.
content: The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply’s content. This field is required on inserts if no verb is specified (resolve/reopen).
deleted: Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
author: The user who wrote this reply.
createdDate: The date when this reply was first created.
htmlContent: HTML formatted content for this reply.
modifiedDate: The date when this reply was last modified.
verb: The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - "resolve" - To resolve a comment. - "reopen" - To reopen (un-resolve) a comment.
2.3 parents
procedure
(drive-parents-list #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
procedure
(drive-parents-get #:fileId fileId #:parentId parentId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? parentId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
parentId: The ID of the parent.
procedure
fileId : string? id : string? = 'N/A kind : string? = 'N/A selfLink : string? = 'N/A isRoot : string? = 'N/A parentLink : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
id: The ID of the parent.
kind: This is always drive#parentReference.
selfLink: A link back to this reference.
isRoot: Whether or not the parent is the root folder.
parentLink: A link to the parent.
procedure
(drive-parents-delete #:fileId fileId #:parentId parentId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? parentId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
parentId: The ID of the parent.
2.4 about
procedure
→ jsexpr? includeSubscribed : string? = 'N/A maxChangeIdCount : string? = 'N/A startChangeId : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
includeSubscribed: Whether to include subscribed items when calculating the number of remaining change IDs
maxChangeIdCount: Maximum number of remaining change IDs to count
startChangeId: Change ID to start counting from when calculating number of remaining change IDs
2.5 apps
procedure
(drive-apps-list [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
procedure
(drive-apps-get #:appId appId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? appId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
appId: The ID of the app.
2.6 changes
procedure
→ jsexpr? maxResults : string? = 'N/A pageToken : string? = 'N/A includeSubscribed : string? = 'N/A startChangeId : string? = 'N/A includeDeleted : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
maxResults: Maximum number of changes to return.
pageToken: Page token for changes.
includeSubscribed: Whether to include subscribed items.
startChangeId: Change ID to start listing changes from.
includeDeleted: Whether to include deleted items.
procedure
(drive-changes-get #:changeId changeId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? changeId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
changeId: The ID of the change.
2.7 children
procedure
folderId : string? maxResults : string? = 'N/A pageToken : string? = 'N/A q : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
folderId: The ID of the folder.
maxResults: Maximum number of children to return.
pageToken: Page token for children.
q: Query string for searching children.
procedure
(drive-children-get #:childId childId #:folderId folderId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? childId : string? folderId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
childId: The ID of the child.
folderId: The ID of the folder.
procedure
folderId : string? id : string? = 'N/A kind : string? = 'N/A selfLink : string? = 'N/A childLink : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
folderId: The ID of the folder.
id: The ID of the child.
kind: This is always drive#childReference.
selfLink: A link back to this reference.
childLink: A link to the child.
procedure
(drive-children-delete #:childId childId #:folderId folderId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? childId : string? folderId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
childId: The ID of the child.
folderId: The ID of the folder.
2.8 comments
procedure
fileId : string? maxResults : string? = 'N/A pageToken : string? = 'N/A includeDeleted : string? = 'N/A updatedMin : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
maxResults: The maximum number of discussions to include in the response, used for paging.
pageToken: The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
includeDeleted: If set, all comments, including deleted comments (with content stripped) will be returned.
updatedMin: Only discussions that were updated after this timestamp will be returned. Formatted as an RFC 3339 timestamp.
procedure
(drive-comments-get #:fileId fileId #:commentId commentId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? commentId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
procedure
fileId : string? anchor : string? = 'N/A kind : string? = 'N/A status : string? = 'N/A content : string? = 'N/A context : string? = 'N/A selfLink : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A commentId : string? = 'N/A createdDate : string? = 'N/A fileTitle : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A replies : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
anchor: A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
kind: This is always drive#comment.
status: The status of this comment. Status can be changed by posting a reply to a comment with the desired status. - "open" - The comment is still open. - "resolved" - The comment has been resolved by one of its replies.
content: The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment’s content.
context: The context of the file which is being commented on.
selfLink: A link back to this comment.
deleted: Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
author: The user who wrote this comment.
commentId: The ID of the comment.
createdDate: The date when this comment was first created.
fileTitle: The title of the file which this comment is addressing.
htmlContent: HTML formatted content for this comment.
modifiedDate: The date when this comment or any of its replies were last modified.
replies: Replies to this post.
procedure
fileId : string? commentId : string? anchor : string? = 'N/A kind : string? = 'N/A status : string? = 'N/A content : string? = 'N/A context : string? = 'N/A selfLink : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A createdDate : string? = 'N/A fileTitle : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A replies : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
anchor: A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
kind: This is always drive#comment.
status: The status of this comment. Status can be changed by posting a reply to a comment with the desired status. - "open" - The comment is still open. - "resolved" - The comment has been resolved by one of its replies.
content: The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment’s content.
context: The context of the file which is being commented on.
selfLink: A link back to this comment.
deleted: Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
author: The user who wrote this comment.
createdDate: The date when this comment was first created.
fileTitle: The title of the file which this comment is addressing.
htmlContent: HTML formatted content for this comment.
modifiedDate: The date when this comment or any of its replies were last modified.
replies: Replies to this post.
procedure
(drive-comments-delete #:fileId fileId #:commentId commentId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? commentId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
procedure
fileId : string? commentId : string? anchor : string? = 'N/A kind : string? = 'N/A status : string? = 'N/A content : string? = 'N/A context : string? = 'N/A selfLink : string? = 'N/A deleted : string? = 'N/A author : string? = 'N/A createdDate : string? = 'N/A fileTitle : string? = 'N/A htmlContent : string? = 'N/A modifiedDate : string? = 'N/A replies : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
commentId: The ID of the comment.
anchor: A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
kind: This is always drive#comment.
status: The status of this comment. Status can be changed by posting a reply to a comment with the desired status. - "open" - The comment is still open. - "resolved" - The comment has been resolved by one of its replies.
content: The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment’s content.
context: The context of the file which is being commented on.
selfLink: A link back to this comment.
deleted: Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
author: The user who wrote this comment.
createdDate: The date when this comment was first created.
fileTitle: The title of the file which this comment is addressing.
htmlContent: HTML formatted content for this comment.
modifiedDate: The date when this comment or any of its replies were last modified.
replies: Replies to this post.
2.9 permissions
procedure
(drive-permissions-list #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
procedure
fileId : string? permissionId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
permissionId: The ID for the permission.
procedure
→ jsexpr? fileId : string? sendNotificationEmails : string? = 'N/A id : string? = 'N/A value : string? = 'N/A name : string? = 'N/A type : string? = 'N/A kind : string? = 'N/A etag : string? = 'N/A role : string? = 'N/A additionalRoles : string? = 'N/A selfLink : string? = 'N/A authKey : string? = 'N/A photoLink : string? = 'N/A withLink : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
sendNotificationEmails: Whether to send notification emails.
id: The ID of the permission.
value: The email address or domain name for the entity. This is not populated in responses.
name: The name for this permission.
type: The account type. Allowed values are: - user - group - domain - anyone
kind: This is always drive#permission.
etag: The ETag of the permission.
role: The primary role for this user. Allowed values are: - owner - reader - writer
additionalRoles: Additional roles for this user. Only commenter is currently allowed.
selfLink: A link back to this permission.
authKey: The authkey parameter required for this permission.
photoLink: A link to the profile photo, if available.
withLink: Whether the link is required for this permission.
procedure
→ jsexpr? fileId : string? permissionId : string? id : string? = 'N/A value : string? = 'N/A name : string? = 'N/A type : string? = 'N/A kind : string? = 'N/A etag : string? = 'N/A role : string? = 'N/A additionalRoles : string? = 'N/A selfLink : string? = 'N/A authKey : string? = 'N/A photoLink : string? = 'N/A withLink : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
permissionId: The ID for the permission.
id: The ID of the permission.
value: The email address or domain name for the entity. This is not populated in responses.
name: The name for this permission.
type: The account type. Allowed values are: - user - group - domain - anyone
kind: This is always drive#permission.
etag: The ETag of the permission.
role: The primary role for this user. Allowed values are: - owner - reader - writer
additionalRoles: Additional roles for this user. Only commenter is currently allowed.
selfLink: A link back to this permission.
authKey: The authkey parameter required for this permission.
photoLink: A link to the profile photo, if available.
withLink: Whether the link is required for this permission.
procedure
(drive-permissions-delete #:fileId fileId #:permissionId permissionId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? permissionId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
permissionId: The ID for the permission.
procedure
→ jsexpr? fileId : string? permissionId : string? id : string? = 'N/A value : string? = 'N/A name : string? = 'N/A type : string? = 'N/A kind : string? = 'N/A etag : string? = 'N/A role : string? = 'N/A additionalRoles : string? = 'N/A selfLink : string? = 'N/A authKey : string? = 'N/A photoLink : string? = 'N/A withLink : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
permissionId: The ID for the permission.
id: The ID of the permission.
value: The email address or domain name for the entity. This is not populated in responses.
name: The name for this permission.
type: The account type. Allowed values are: - user - group - domain - anyone
kind: This is always drive#permission.
etag: The ETag of the permission.
role: The primary role for this user. Allowed values are: - owner - reader - writer
additionalRoles: Additional roles for this user. Only commenter is currently allowed.
selfLink: A link back to this permission.
authKey: The authkey parameter required for this permission.
photoLink: A link to the profile photo, if available.
withLink: Whether the link is required for this permission.
2.10 revisions
procedure
(drive-revisions-list #:fileId fileId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
procedure
(drive-revisions-get #:fileId fileId #:revisionId revisionId [ #:alt alt #:fields fields #:key key #:oauth_token oauth_token #:prettyPrint prettyPrint #:quotaUser quotaUser #:userIp userIp]) → jsexpr? fileId : string? revisionId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
revisionId: The ID of the revision.
procedure
→ jsexpr? fileId : string? revisionId : string? id : string? = 'N/A kind : string? = 'N/A etag : string? = 'N/A selfLink : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A downloadUrl : string? = 'N/A exportLinks : string? = 'N/A fileSize : string? = 'N/A lastModifyingUserName : string? = 'N/A md5Checksum : string? = 'N/A originalFilename : string? = 'N/A pinned : string? = 'N/A publishAuto : string? = 'N/A published : string? = 'N/A publishedLink : string? = 'N/A publishedOutsideDomain : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
revisionId: The ID for the revision.
id: The ID of the revision.
kind: This is always drive#revision.
etag: The ETag of the revision.
selfLink: A link back to this revision.
modifiedDate: Last time this revision was modified (formatted RFC 3339 timestamp).
mimeType: The MIME type of the revision.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
exportLinks: Links for exporting Google Docs to specific formats.
fileSize: The size of the revision in bytes. This will only be populated on files with content stored in Drive.
lastModifyingUserName: Name of the last user to modify this revision.
md5Checksum: An MD5 checksum for the content of this revision. This will only be populated on files with content stored in Drive.
originalFilename: The original filename when this revision was created. This will only be populated on files with content stored in Drive.
pinned: Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
publishAuto: Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
published: Whether this revision is published. This is only populated and can only be modified for Google Docs.
publishedLink: A link to the published revision.
publishedOutsideDomain: Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
procedure
fileId : string? revisionId : string? alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID of the file.
revisionId: The ID of the revision.
procedure
→ jsexpr? fileId : string? revisionId : string? id : string? = 'N/A kind : string? = 'N/A etag : string? = 'N/A selfLink : string? = 'N/A modifiedDate : string? = 'N/A mimeType : string? = 'N/A downloadUrl : string? = 'N/A exportLinks : string? = 'N/A fileSize : string? = 'N/A lastModifyingUserName : string? = 'N/A md5Checksum : string? = 'N/A originalFilename : string? = 'N/A pinned : string? = 'N/A publishAuto : string? = 'N/A published : string? = 'N/A publishedLink : string? = 'N/A publishedOutsideDomain : string? = 'N/A alt : string? = 'N/A fields : string? = 'N/A key : string? = (api-key) oauth_token : string? = 'N/A prettyPrint : string? = 'N/A quotaUser : string? = 'N/A userIp : string? = 'N/A
fileId: The ID for the file.
revisionId: The ID for the revision.
id: The ID of the revision.
kind: This is always drive#revision.
etag: The ETag of the revision.
selfLink: A link back to this revision.
modifiedDate: Last time this revision was modified (formatted RFC 3339 timestamp).
mimeType: The MIME type of the revision.
downloadUrl: Short term download URL for the file. This will only be populated on files with content stored in Drive.
exportLinks: Links for exporting Google Docs to specific formats.
fileSize: The size of the revision in bytes. This will only be populated on files with content stored in Drive.
lastModifyingUserName: Name of the last user to modify this revision.
md5Checksum: An MD5 checksum for the content of this revision. This will only be populated on files with content stored in Drive.
originalFilename: The original filename when this revision was created. This will only be populated on files with content stored in Drive.
pinned: Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
publishAuto: Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
published: Whether this revision is published. This is only populated and can only be modified for Google Docs.
publishedLink: A link to the published revision.
publishedOutsideDomain: Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.