Skip to content

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

Deprecated: Use `drives.get` instead.: response body, field restrictions / downloadRestriction. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Deprecated: Use `drives get` instead — response body — restrictions download Restriction

FieldTypePresenceDescription and constraints
$objectRootA restriction for copy and download of the file.
restrictedForReadersbooleanOptionalWhether download and copy is restricted for readers.
restrictedForWritersbooleanOptionalWhether download and copy is restricted for writers. If true, download is also restricted for readers.

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.