UiPath Activities

The UiPath Activities Guide

Update File Permission

UiPath.GSuite.Activities.UpdateFilePermission

Updates the permission of a specified file.

Properties

Common

  • DisplayName - The display name of the activity.

Input

  • ExpirationTime - The time that you want the file permissions to expire. This property supports <Nullable>DateTime variables and <Nullable>DateTime formatted values. If no value is specified, the permission updates without an expiration time.
  • FileID - The ID of the file that you want to delete permissions from. This property supports String variables and string formatted values. When entering your value, use the exact File ID, or the output property variable from a previous Find Files And Folders or Copy File activity.
  • PermissionID - The ID of the permission that you want to delete. This property supports Google Permission variables and Google Permission formatted values. When entering your value, use the exact File ID, or the output property variable from a previous Get File Permissions or Create File Permission activities.
  • Role - A drop-down list that specifies the role to grant the entity. The available property values are:
    • reader - the entity can read and download the file.
    • writer - the entity can edit the file.
    • owner - the entity owns the file.
    • commenter - the entity can comment on the file.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • RemoveExpiration - If selected, the previous expiration date for the permission is removed.
  • SupportsTeamDrives - If selected, the activity supports team drives.

Output

  • UpdatedPermission - The updated permission. This property supports Google Permission variables. You can use this variable as an input property value in the Get File Permissions activity. For more information about the Permission datatype, see Permissions in the Google Drive APIs documentation.

Updated 9 months ago


Update File Permission


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.