

Method and set the permissions.expirationTime field (along with the other For files in My Drive, you can set an expiration date toįield (along with the other required fields).

Restrict their access to certain files in Drive after a period of When you're working with people on a sensitive project, you might want to Set an expiration date to limit file access Users and groups can be members of shared drives. To manage shared drive membership, the user must have role=organizer. Shared drive is set to False, users with role=fileOrganizer can

To share a folder in My Drive, the user must have

Information, see Set an expiration date to limit file If the user with role=writer has temporary access governed by anĮxpiration date and time, they can't share the file. Is set to False for the file, the user must have role=owner. To share a file in My Drive, the user must have role=writer There are five different types of sharing scenarios: Shared drive, is known as an Access Control List (ACL). Note: The list of all permission resources associated with a file, folder, or ( type=group) the ability to add comments to a file ( role=commenter).įor a complete list of roles and the operations permitted by each, refer to ( role=reader) while another permission grants members of a specific group Permission granting a specific user ( type=user) read-only access Identifies the permission for a specific type (user, group, domain, anyone)Īnd role, such as "commenter" or "reader." For example, a file might have a Every Google Drive file, folder, and shared drive have associated
