Optional altOptional authAuth client or API Key for the request
Optional enforceDeprecated. Creating files in multiple folders is no longer supported.
Optional fieldsSelector specifying which fields to include in a partial response.
Optional ignoreWhether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.
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 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
Data format for the response.