Google Drive Update permission function

The Google Drive Update permission function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to update a permission.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive Update permission function changes the permission role for an existing share on a file. For example, you can change a reader to a writer.


Setting it up

To use the Google Drive Update permission function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-update-permission}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Update permission function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive Update permission option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File IDYesText-The file ID to update the permission on
Permission IDYesText-The permission ID to update (from list_permissions)
New roleYesSelect-New role: Reader, Writer, Commenter, or Organizer

Output variables

This action does not produce output variables.


Errors

ErrorDescription
File not foundThe specified file ID does not exist
Permission not foundThe specified permission ID does not exist
Cannot change ownerThe owner's role cannot be changed

Tips

  • Use List permissions first to get the permission ID
  • The owner's role cannot be changed

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.