•
Discovery API:drive.v2↗
Breaking Change
Docs

Drive v2 API: Major Validation Tightening & Breaking Changes

Drive v2 API: Major Validation Tightening & Breaking Changes

The Drive v2 API discovery document has been updated to enforce strict requirements on resource identifiers and mark several metadata fields as read-only.

drive.v2 had no additional version-exclusive schema or method changes beyond the shared cross-version updates detailed below.

Shared Across Versions (v2, v3)

1 shared change · 0 shared methods

This update introduces significant breaking changes by making nearly all resource-identifying parameters strictly required across the API. Developers must now ensure that parameters such as fileId, revisionId, commentId, permissionId, driveId, teamDriveId, folderId, parentId, and childId are explicitly provided in requests. Additionally, several properties in the User, File, and Permission schemas—including User.emailAddress, User.displayName, File.capabilities, and Permission.permissionDetails—have been officially marked as read-only/immutable. While these changes likely reflect existing backend behavior, the discovery document now strictly enforces them, which may break client libraries or tools that rely on the discovery doc for request validation.