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 — download Restrictions

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 downloadRestrictions. 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 — download Restrictions

FieldTypePresenceDescription and constraints
$objectRootDownload restrictions applied to the file.
effectiveDownloadRestrictionWithContextModelOptionalExpand Deprecated: Use `drives get` instead — response body — restrictions download Restriction
Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules.
itemDownloadRestrictionModelOptionalExpand Deprecated: Use `drives get` instead — response body — restrictions download Restriction
The download restriction of the file applied directly by the owner or organizer. This doesn’t take into account shared drive settings or DLP rules.

Referenced models: Deprecated: Use `drives get` instead — response body — restrictions download Restriction

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.