Creating Connection
The sample code below shows how to create a Google Workspace connection that uses impersonation. Make sure the following fields are set accordingly.
The id should be google-suite.
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.
{ "name": "Google Workspace Service Account (Admin Connection)", "type": "service_account", "project_id": "your-project-id", "platform": { "id": "google-suite" }, "auth": { "private_key": "-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----\n", "client_email": "jd-service@your-project-id.iam.gserviceaccount.com", "client_id": "12345678901234567890", "subject": "jdeveloper@example.com," "delete_behavior": "permanent" } }
Creating a Connection for Multiple Domains
DryvIQ supports creating a connection with access to multiple domains within an enterprise.
Ensure to use an Admin account that has full access to the corresponding domains.
Omit the domain name when creating the connection.
Use the admin account as the subject / Subject email when creating the connection.