activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Produktivitätsaktivitäten

Letzte Aktualisierung 3. Sep. 2025

Update File or Folder Permission

UiPath.GSuite.Activities.UpdateFileFolderPermissionConnections

Beschreibung

Updates the permission of a specified file or folder.

Scopes

Diese Aktivität erfordert die folgenden Scopes:

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

Projektkompatibilität

Windows | Plattformübergreifend

Konfiguration

  • Google Drive-Verbindung – Die Verbindung für das Google Workspace-Konto, das in der Aktivität verwendet werden soll.
  • File or folder - The file or folder for which the permission will be updated.

    Select the plus icon to choose from the following input options:

    • URL or ID - The initial field changes to File or folder URL or ID, where you can provide the URL or ID of the file or folder.
    • Use File or Folder Variable - Enter a variable for the file or folder. This field accepts input of type IResource.
    • Full Path - The initial field changes to Full file or folder path, where you can provide the full path of the file or folder.
    • Relative Path - The following fields appear:
      • Parent folder - Specify the parent folder. Browse the Drive folders and select a folder. This field accepts input of type IResource.
      • File or folder relative file - Specify the relative file or folder path to the parent folder, including the name and extension. This field accepts input of type String.
    • Reload File or Folder Data - Select this option only if you have modified your folders and need to retrieve the latest data.
  • Permission ID - The ID of the permission that you want to update. You can retrieve the permission ID using the Get File Permissions activity. The permission ID is a component of the datatype permission.
  • Role - The type of permission that the file or folder will be updated to. Select one of the following roles from the drop-down list:
    • Owner - The entity owns the file.
    • Writer - The entity can edit the file.
    • Commenter - The entity can comment on the file.
    • Reader - The entity can read and download the file.
  • Expiration time - The time that you want the file or folder 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.
  • Use domain admin access - Issues the request as a domain administrator. If checked, then the requester will be granted access if they are an administrator of the domain to which the item belongs. This option supports Boolean values. By default, False is selected.
  • Remove expiration - If selected, the previous expiration date for the permission is removed. This field supports Boolean values. By default, False is selected.

Eigenschaften

Ausgabe

  • Updated permission - The updated permission specified as a custom datatype. This property supports Google Permission variables. You can use this variable as an input property value in the Get File or Folder Permissions activity. For more information about the Permission datatype, check Google Drive API Permissions.
Note: Although Update File or Folder Permission returns an object, the inputs of other activities are actually for the permission ID of type string, not the entire object.
  • Beschreibung
  • Projektkompatibilität
  • Konfiguration

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo
Vertrauen und Sicherheit
© 2005–2025 UiPath. Alle Rechte vorbehalten