Back to plugin list
Pull directory information from your Google Workspace organization. Requires admin privileges.
Dec 11, 2023
Google Workspace Source Plugin
A Google Workspace source plugin for CloudQuery that loads data from Google Workspace to any database, data warehouse or data lake supported by CloudQuery, such as PostgreSQL, BigQuery, Athena, and many more.
The following source configuration file will sync to a PostgreSQL database. See the CloudQuery Quickstart for more information on how to configure the source and destination.
token_file is set, after you successfully authenticate via OAuth, your access token will be written to the
token_file will be used on subsequent syncs.
How to find your Google Workspace Customer ID: https://support.google.com/a/answer/10070793?hl=en
You can get your own OAuth credentials using this guide. When creating your OAuth Client ID, you should select "Desktop app". You also need to enable the Admin SDK API for your Cloud Project.
customer_id: your Google Workspace Customer ID
# token_file: ./token.json
client_id: your Google Cloud Project OAuth Client ID
client_secret: your Google Cloud Project OAuth Client Secret