Optional
addOptional
altData format for the response.
Optional
authAuth client or API Key for the request
Optional
enforceDeprecated. Adding files to multiple folders is no longer supported. Use shortcuts instead.
Optional
fieldsSelector specifying which fields to include in a partial response.
Optional
fileThe ID of the file.
Optional
includeSpecifies which additional view's permissions to include in the response. Only 'published' is supported.
Optional
keepWhether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions.
Optional
keyAPI 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.
Optional
mediaMedia metadata
Optional
body?: anyMedia body contents
Optional
mimeMedia mime-type
Optional
oauth_OAuth 2.0 token for the current user.
Optional
ocrA language hint for OCR processing during image import (ISO 639-1 code).
Optional
prettyReturns response with indentations and line breaks.
Optional
quotaAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
Optional
removeA comma-separated list of parent IDs to remove.
Optional
requestRequest body metadata
Optional
supportsWhether the requesting application supports both My Drives and shared drives.
Optional
supportsDeprecated use supportsAllDrives instead.
Optional
useWhether to use the uploaded content as indexable text.
Optional
userDeprecated. Please use quotaUser instead.
Generated using TypeDoc
A comma-separated list of parent IDs to add.