Skip to content

Google: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — response body — content Hints

Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).: response body, field contentHints. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — response body — content Hints

FieldTypePresenceDescription and constraints
$objectRootAdditional information about the content of the file. These fields are never populated in responses.
indexableTextstringOptionalText to be indexed for the file to improve fullText queries. This is limited to 128 KB in length and may contain HTML elements.
thumbnailobjectOptionalA thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.
thumbnail.imagestringOptionalThe thumbnail data encoded with URL-safe Base64 ([RFC 4648 section 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)).
Format: byte
thumbnail.mimeTypestringOptionalThe MIME type of the thumbnail.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.