Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • REST API Documentation
  • Connections Using REST API
  • Platform Specific REST API Documentation
  • Google

Google Shared Drives (REST API)

Create a Google Shared Drives connection using the DryvIQ REST API.

Written by Andrea Harvey

Updated at April 29th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Creating a Connection

Creating a Connection

The sample code below shows how to create a shared drives connection that uses impersonation. Ensure that the following fields are set correctly.

  • The client_email should be the Google Workspace Admin Service Account.
  • The subject should be the email for the user you would like to impersonate.
POST {{url}}v1/connections
{
   "name": "Google Shared Drives",
   "type": "service_account",
   "project_id": "your-project-id",
   "platform": {
       "id": "google-teams"
   },
   "auth": {
       "private_key": "-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----\n",
       "client_email": "your-service@your-project-id.iam.gserviceaccount.com",
       "client_id": "12345678901234567890",
       "subject": "youradmin@example.com",
       "delete_behavior": "permanent"
   }
}

 

 

 

api integration google shared drives api rest api connection

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Dropbox for Business (REST API)
  • Dropbox (REST API)
  • Dropbox for Business Teams Folders (REST API)

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand