activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Actividades de productividad

Última actualización 3 de sep. de 2025

Update File or Folder Permission

UiPath.GSuite.Activities.UpdateFileFolderPermissionConnections

Descripción

Updates the permission of a specified file or folder.

Ámbitos

Esta actividad requiere los siguientes ámbitos:

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

Compatibilidad de proyectos

Windows | Multiplataforma

Configuración

  • Conexión a Google Drive: la conexión para la cuenta de Google Workspace que se utilizará en la actividad.
  • 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.

Propiedades

Salida

  • 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.
  • Descripción
  • Compatibilidad de proyectos
  • Configuración

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo
Confianza y seguridad
© 2005-2025 UiPath. Todos los derechos reservados.