Atlantiraptor Docs

gws_api

Type: Plugin

Read from Google Workspace’s Admin SDK Directory API or Gmail API (GET only), following nextPageToken.

Argument Type Description
secret string Name of a ‘Google Workspace Creds’ secret.
service_account_json string Service account JSON key when no secret is used.
admin_email string Admin user to act as when no secret is used.
path string (required) API path, e.g. /admin/directory/v1/users or /gmail/v1/users/me/settings/filters.
params ordereddict.Dict Query parameters.
scope string OAuth scope to request (default admin.directory.user.readonly). Must be allowed for the service account under domain-wide delegation.
impersonate string Act as this user instead of the admin (needed for Gmail settings).
items_field string Response field holding the list (default: the first list in the response).
max_rows int64 Stop after this many rows.
ignore_not_found bool Return no rows instead of logging an error for 404 answers and users without Gmail.

Required permissions: NETWORK

Platforms: macOS, Linux, Windows