> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Directory

> How to set up the Google Directory connector, plus the actions and events that are available.

![Google Directory](https://stackone-logos.com/api/google/filled/svg)

v1.3.1[See changelog](https://docs.stackone.com/connectors/googledirectory/changelog.md)

[41 actions](#actions) · [6 events](#events) · 1 auth method

IAM

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 · Connector Profile](https://docs.stackone.com/connectors/googledirectory/guides/connector-profile/oauth-2-0.md)
>
> Requires creating an OAuth client in a Google Cloud project with the Admin SDK API enabled.

Optionally, configure receiving Events for Google Directory into StackOne.

> [card] [Webhooks setup](https://docs.stackone.com/connectors/googledirectory/guides/webhook-setup.md)

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 · Link Account](https://docs.stackone.com/connectors/googledirectory/guides/link-account/oauth-2-0.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Scopes

Select all
|
Clear

https\://​www\.googleapis.com/auth/admin.directory.domain

https\://​www\.googleapis.com/auth/admin.directory.domain.readonly

https\://​www\.googleapis.com/auth/admin.directory.group

https\://​www\.googleapis.com/auth/admin.directory.group.readonly

https\://​www\.googleapis.com/auth/admin.directory.orgunit

https\://​www\.googleapis.com/auth/admin.directory.orgunit.readonly

https\://​www\.googleapis.com/auth/admin.directory.user

https\://​www\.googleapis.com/auth/admin.directory.user.readonly

No scopes found

41 actions

ActionDescriptionRequired scopes

Get Unified Credentials`googledirectory_unified_get_me`

Get the current Google Directory connection's unified credentials and identity.

IAM Auth Test`googledirectory_auth_test`

Validate the current OAuth token and return the raw, unmapped Google tokeninfo JSON (email, scopes, expiry, audience, su...

List Unified Groups`googledirectory_unified_list_groups`

List unified groups in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

Get Unified Group`googledirectory_unified_get_group`

Get a unified Google Directory group by ID.

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

List Unified Organizations`googledirectory_unified_list_organizations`

List unified organizations in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.domain.readonly`

Get Unified Organization`googledirectory_unified_get_organization`

Get a unified Google Directory organization by ID.

`https://​www.googleapis.com/auth/admin.directory.domain.readonly`

List Unified Resource Types`googledirectory_unified_list_resource_types`

List unified resource types in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

List Unified Resource Users`googledirectory_unified_list_resource_users`

List unified resource users in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

List Unified Roles`googledirectory_unified_list_roles`

List unified roles in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

Get Unified Role`googledirectory_unified_get_role`

Get a unified Google Directory role by ID.

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

List Unified Users`googledirectory_unified_list_users`

List unified users in Google Directory.

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

Get Unified User`googledirectory_unified_get_user`

Get a unified Google Directory user by ID.

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

List Users`googledirectory_list_users`

Retrieve a paginated list of users in a domain

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

Get User`googledirectory_get_user`

Retrieve a user's properties

`https://​www.googleapis.com/auth/admin.directory.user.readonly`

Create User`googledirectory_create_user`

Create a new user account

`https://​www.googleapis.com/auth/admin.directory.user`

Update User`googledirectory_update_user`

Update a user's properties

`https://​www.googleapis.com/auth/admin.directory.user`

Delete User`googledirectory_delete_user`

Delete a user account

`https://​www.googleapis.com/auth/admin.directory.user`

Patch User`googledirectory_patch_user`

Update user using patch semantics

`https://​www.googleapis.com/auth/admin.directory.user`

List Groups`googledirectory_list_groups`

Retrieve all groups in a domain or for a user

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

Get Group`googledirectory_get_group`

Retrieve a group's properties

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

Create Group`googledirectory_create_group`

Create a new group

`https://​www.googleapis.com/auth/admin.directory.group`

Update Group`googledirectory_update_group`

Update a group's properties

`https://​www.googleapis.com/auth/admin.directory.group`

Delete Group`googledirectory_delete_group`

Delete a group

`https://​www.googleapis.com/auth/admin.directory.group`

Patch Group`googledirectory_patch_group`

Update group using patch semantics

`https://​www.googleapis.com/auth/admin.directory.group`

List Members`googledirectory_list_members`

Retrieve all members in a group

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

Get Member`googledirectory_get_member`

Retrieve a group member's properties

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

Add Member To Group`googledirectory_create_member`

Add a user or group to a group

`https://​www.googleapis.com/auth/admin.directory.group`

Update Member`googledirectory_update_member`

Update a group member's properties

`https://​www.googleapis.com/auth/admin.directory.group`

Remove Member From Group`googledirectory_delete_member`

Remove a member from a group

`https://​www.googleapis.com/auth/admin.directory.group`

Patch Member`googledirectory_patch_member`

Update member using patch semantics

`https://​www.googleapis.com/auth/admin.directory.group`

Check Member Existence`googledirectory_has_member`

Check if a user is a member of a group

`https://​www.googleapis.com/auth/admin.directory.group.readonly`

List Organizational Units`googledirectory_list_orgunits`

Retrieve all organizational units for an account

`https://​www.googleapis.com/auth/admin.directory.orgunit.readonly`

Get Organizational Unit`googledirectory_get_orgunit`

Retrieve an organizational unit's properties

`https://​www.googleapis.com/auth/admin.directory.orgunit.readonly`

Create Organizational Unit`googledirectory_create_orgunit`

Add a new organizational unit

`https://​www.googleapis.com/auth/admin.directory.orgunit`

Update Organizational Unit`googledirectory_update_orgunit`

Update an organizational unit's properties

`https://​www.googleapis.com/auth/admin.directory.orgunit`

Delete Organizational Unit`googledirectory_delete_orgunit`

Remove an organizational unit

`https://​www.googleapis.com/auth/admin.directory.orgunit`

Patch Organizational Unit`googledirectory_patch_orgunit`

Update org unit using patch semantics

`https://​www.googleapis.com/auth/admin.directory.orgunit`

List Domains`googledirectory_list_domains`

Retrieve all domains associated with the customer account

`https://​www.googleapis.com/auth/admin.directory.domain.readonly`

Get Domain`googledirectory_get_domain`

Retrieve a specific domain's properties

`https://​www.googleapis.com/auth/admin.directory.domain.readonly`

Create Domain`googledirectory_create_domain`

Create a domain for a customer account

`https://​www.googleapis.com/auth/admin.directory.domain`

Delete Domain`googledirectory_delete_domain`

Delete a domain from a customer account

`https://​www.googleapis.com/auth/admin.directory.domain`

## Events

Tags

Select all
|
Clear

Health Checks

Users

No tags found

6 events

EventDescriptionTags

Channel Sync`googledirectory_channel_sync`

Responds with 200 OK to the sync message Google sends when a notification channel is created.

Health Checks

User Created`googledirectory_webhook_user_created`

Fired when a user is created in the Google Workspace account.

Users

User Updated`googledirectory_webhook_user_updated`

Fired when a user in the Google Workspace account is updated.

Users

User Admin Status Changed`googledirectory_webhook_user_admin_status_changed`

Fired when a user is made a super administrator or loses super administrator status.

Users

User Deleted`googledirectory_webhook_user_deleted`

Fired when a user is deleted from the Google Workspace account.

Users

User Undeleted`googledirectory_webhook_user_undeleted`

Fired when a deleted user is restored in the Google Workspace account.

Users


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.