gogcli/internal/googleapi
Dalton Alexandre 1216e6282f feat(admin): add user and group management via Admin Directory API
Implements Google Admin SDK Directory API support for Workspace user and

group management with domain-wide delegation.

New commands:

- gog admin users list --domain example.com

- gog admin users get user@example.com

- gog admin users create user@example.com --given John --family Doe

- gog admin users suspend user@example.com

- gog admin groups list --domain example.com

- gog admin groups members list group@example.com

- gog admin groups members add group@example.com user@example.com --role MEMBER

- gog admin groups members remove group@example.com user@example.com

Closes #340

Note: This is a focused implementation of core user/group management.

For full GAM feature parity (PR #179), additional work would be needed

for: alerts, licenses, org units, printers, reports, vault, SSO, etc.
2026-03-08 02:29:47 +00:00
..
admin_directory.go feat(admin): add user and group management via Admin Directory API 2026-03-08 02:29:47 +00:00
appscript.go feat(cli): add forms and appscript commands 2026-02-14 06:24:41 +01:00
calendar.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
chat.go feat(chat): add messages reactions create/list/delete commands 2026-03-08 02:23:54 +00:00
circuitbreaker_more_test.go test: raise coverage to 85% 2026-01-09 09:18:16 +01:00
circuitbreaker_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
circuitbreaker.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
classroom.go feat(classroom): add auth scopes and api client 2026-01-16 10:41:58 +00:00
client_auth.go refactor(auth): simplify account and token-source resolution 2026-03-07 23:48:50 +00:00
client_more_test.go feat(auth): add direct access-token mode (#419) (thanks @mmkal) 2026-03-07 23:39:43 +00:00
client.go refactor(auth): simplify account and token-source resolution 2026-03-07 23:48:50 +00:00
cloudidentity.go feat(groups): add Google Groups commands and calendar team feature 2026-01-08 06:27:58 +01:00
docs.go refactor(docs): use docs API for info/cat 2026-01-08 01:16:26 +01:00
drive.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
errors_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
errors.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
forms.go feat(cli): add forms and appscript commands 2026-02-14 06:24:41 +01:00
gmail.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
keep.go fix(keep): use keep.readonly scope (#64) (thanks @jeremys) 2026-01-11 02:24:48 +01:00
people.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
retry_constants.go feat: take over PR #18 integration 2025-12-26 15:35:15 +01:00
service_account_test.go test(auth): remove rebase marker (#399) (thanks @carrotRakko) 2026-03-08 00:55:48 +00:00
service_account.go feat(auth): support pure service account mode without impersonation 2026-03-08 00:55:48 +00:00
services_more_test.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
sheets.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
slides.go feat: add docs update command for editing Google Docs (#219) 2026-02-13 22:52:17 +01:00
tasks_test.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
tasks.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
transport_more_test.go test: raise coverage to 85% 2026-01-09 09:18:16 +01:00
transport_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
transport.go fix(ci): clear pre-existing lint baseline and docs updates 2026-03-03 04:06:29 +00:00