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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A restriction for copy and download of the file. |
restrictedForReaders | boolean | Optional | Whether download and copy is restricted for readers. |
restrictedForWriters | boolean | Optional | Whether download and copy is restricted for writers. If true, download is also restricted for readers. |