Interface Params$Resource$Files$Update

Hierarchy

  • StandardParameters
    • Params$Resource$Files$Update

Properties

addParents?: string

A comma-separated list of parent IDs to add.

alt?: string

Data format for the response.

auth?: string | OAuth2Client | Compute | JWT | UserRefreshClient | BaseExternalAccountClient | GoogleAuth<JSONClient>

Auth client or API Key for the request

enforceSingleParent?: boolean

Deprecated. Adding files to multiple folders is no longer supported. Use shortcuts instead.

fields?: string

Selector specifying which fields to include in a partial response.

fileId?: string

The ID of the file.

includePermissionsForView?: string

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

keepRevisionForever?: boolean

Whether 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.

key?: string

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.

media?: {
    body?: any;
    mimeType?: string;
}

Media metadata

Type declaration

  • Optional body?: any

    Media body contents

  • Optional mimeType?: string

    Media mime-type

oauth_token?: string

OAuth 2.0 token for the current user.

ocrLanguage?: string

A language hint for OCR processing during image import (ISO 639-1 code).

prettyPrint?: boolean

Returns response with indentations and line breaks.

quotaUser?: string

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

removeParents?: string

A comma-separated list of parent IDs to remove.

requestBody?: Schema$File

Request body metadata

supportsAllDrives?: boolean

Whether the requesting application supports both My Drives and shared drives.

supportsTeamDrives?: boolean

Deprecated use supportsAllDrives instead.

useContentAsIndexableText?: boolean

Whether to use the uploaded content as indexable text.

userIp?: string

Deprecated. Please use quotaUser instead.

Generated using TypeDoc