Workflow Detail
Bootstrap Google Workspace Access
Install gws, complete OAuth setup, and verify Workspace API access before building automations.
Overview
1 step~20 minworkspacegoogleautomationproductivity
Required env vars: GOOGLE_WORKSPACE_CLI_TOKEN, GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE, GOOGLE_WORKSPACE_CLI_CLIENT_ID, GOOGLE_WORKSPACE_CLI_CLIENT_SECRET, GOOGLE_WORKSPACE_PROJECT_ID
Step By Step
Configure auth, validate scopes, and confirm discovery-backed API access.
gws auth setup
Guided bootstrap for Google Cloud project, OAuth client, and Workspace auth prerequisites
gws auth login
Authenticate the CLI with OAuth scopes for the Workspace services you plan to automate
gws drive files list
List Google Drive files with structured JSON output and discovery-backed parameters
gws schema drive.files.list
Inspect the request and response schema for a discovery-backed API method before automating it