activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

Update File Permission

UiPath.GSuite.Activities.UpdateFilePermission

Description

Updates the permission of a specified file.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive

Project compatibility

Windows - Legacy | Windows

Configuration

Properties

Common
  • ContinueOnError - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.
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. This field supports Boolean values.
Options
  • RemoveExpiration - If selected, the previous expiration date for the permission is removed. This field supports Boolean values.
  • SupportsTeamDrives - If selected, the activity supports team drives. This field supports Boolean values.
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.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.