- Notifications
You must be signed in to change notification settings - Fork0
n3n33/GCP-Admin-SDK-API
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Enable Google Workspace Admin SDK API through GCP Console.
Create a Service Account and Download key.jsonCreate a Service Account from the Google Cloud Console.
Download the JSON key file (key.json) for authentication.
- Domain-wide Delegation SetupDomain-wide delegation is required.
Steps: Log in to Google Admin Console using a super admin account.
Navigate to: Home > Security > API Controls > Domain-wide Delegation
Click Add New API Client
Client ID: Use the client ID from your Service Account (visible in the GCP Console).
OAuth Scopes:https://www.googleapis.com/auth/admin.directory.group.readonlyNote: You’ll need to manage where the key.json file is securely stored for API access.
- Data to Retrieve
Group ListRetrieve metadata about Google Groups in the domain.
Member ListRequires group ID to query.
Member data should be linked with corresponding group info (e.g., via join with the group table).
🔎 Reference LinksPython example using Google Admin SDK:https://developers.google.com/workspace/admin/directory/v1/quickstart/python
Domain-wide delegation documentation:https://developers.google.com/classroom/guides/key-concepts/domain-wide-delegation
Admin SDK Group API reference:https://developers.google.com/workspace/admin/directory/reference/rest/v1/groups/list
About
Get Google ADMIN SDK API
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.