Actions17
Shared Drive → Update
AI-generatedSummary
Updates a Google Shared Drive's properties such as name, color, and access restrictions.
Inputs
- authentication (required) — Authentication method – OAuth2 (recommended) or Service Account.
- driveId (required) — The Shared Drive to update. Can be selected from a list, entered via URL, or supplied as an ID.
- options.name — New name for the Shared Drive.
- options.colorRgb — New color of the Shared Drive as an RGB hex string (e.g., '#FF5733').
- options.restrictions.adminManagedRestrictions — When true, disables copy, print, or download for readers and commenters, overriding file‑level settings.
- options.restrictions.copyRequiresWriterPermission — When true, disables copy, print, or download for readers and commenters, overriding file‑level settings.
- options.restrictions.domainUsersOnly — When true, restricts access to the Shared Drive and its items to users of the same domain.
- options.restrictions.driveMembersOnly — When true, restricts access to items inside the Shared Drive to its members only.
Output shape
object
Returns the updated Shared Drive resource containing at least the drive ID, name, colorRgb, and restriction fields.