---
title: "Google Drive"
canonical: "https://layest.com/en/integrations/google-drive"
language: "en"
description: "Google Drive is Google’s cloud storage for files and folders. Users can store documents, grant access, and collaborate on Google Workspace files."
---

# Google Drive

Google Drive is Google’s cloud storage for files and folders. Users can store documents, grant access, and collaborate on Google Workspace files.

## Authentication

**OAuth 2.0**: Authorize Layest on the provider’s sign-in page. The provider issues access tokens for the permissions you grant.

## Categories

- Storage

## Supported actions

- **Upload workflow output**: Upload a selected workflow output file to a configured destination.

## Actions from Google Drive

These supported actions can be set up out of the box and used by our agents.

- **Copy file**: Copy a file to a destination
- **Create comment**: Add a comment to a file
- **Create folder**: Create a new folder in Google Drive
- **Create shared drive**: Create a shared drive
- **Delete comment**: Delete a comment from a file
- **Delete file**: Delete a file or folder from Google Drive
- **Delete permission**: Remove a permission from a file
- **Delete shared drive**: Delete a shared drive
- **Empty trash**: Permanently delete all trashed files
- **Find file**: Search for files by name or query in Google Drive
- **Find folder**: Search for a folder by name or query
- **Get about**: Get the user's drive info and storage quota
- **Get changes start page token**: Get the starting token for listing future changes
- **Get comment**: Get a comment by ID
- **Get permission**: Get a permission by ID
- **Get revision**: Get a file revision by ID
- **Get shared drive**: Get a shared drive by ID
- **Hide shared drive**: Hide a shared drive from the default view
- **List changes**: List changes to files and shared drives
- **List comments**: List comments on a file
- **List drives**: List shared drives the user can access, with cursor pagination and drive metadata like hidden, capabilities, and restrictions.
- **List files non unified**: List immediate files and folders for a folder ID, or root when omitted, with cursor pagination and shared-drive support.
- **List permissions**: List permissions on a file
- **Move file**: Move a file to a different folder
- **Unhide shared drive**: Restore a hidden shared drive to default view
- **Update comment**: Update a comment on a file
- **Update file**: Update a file's metadata
- **Update permission**: Update a permission on a file
- **Update shared drive**: Update a shared drive's metadata
- **Upload document**: Upload plain text or base64 file content up to 5 MB, optionally into a folder with a description; defaults to root

## Supported triggers

- **New file**: Start a workflow when a new file becomes available in the configured source.
- **File updated**: Start a workflow when a file in the configured source changes.

## Triggers from Google Drive

Once configured in Nango, these sync templates can provide changes as triggers.

- **Documents**: Sync file metadata for IDs in connection metadata files, or recursively for all files under folder IDs in folders. Supports shared drives.
- **Folders**: Sync root-level Google Drive folders from My Drive and shared drives
- **Permissions**: Sync file permissions from Google Drive
- **Shared drives**: Sync shared drives from Google Drive
