Cloud Identity
Cloud Identity has 4 operations in gum's generated catalog. Start with search when you know the task, use describe to inspect request fields and scopes, then dispatch through the command that matches the operation risk class.
| Count | Value |
|---|---|
| Family | Workspace administration |
| Operations | 4 |
| Risk classes | 4 read |
| Auth strategies | 4 byo_oauth |
Start here
gum search "cloud identity"
gum describe cloudidentity.groups.get
gum read cloudidentity.groups.get --args '{"name":"<name>"}' --output jsonAuth
Auth strategies in this service: 4 byo_oauth. Authenticate the strategy used by the operation you plan to call.
Bring-your-own OAuth
- In Google Cloud, enable Cloud Identity API.
- Configure the OAuth consent screen. Add your Google account as a test user when the app is still in testing mode.
- Create an OAuth client ID with application type
Desktop app. - Add the scopes this service needs to the consent screen.
- Store the client in gum:
printf '%s' "$GOOGLE_OAUTH_CLIENT_SECRET" \
| gum auth use-oauth-client --client-id "$GOOGLE_OAUTH_CLIENT_ID" --secret-stdin- Authorize this service:
gum login --service cloudidentity- Verify the grant before dispatch:
gum auth status --scopes cloud-identity.groups.readonly
gum describe cloudidentity.groups.getScopes used by these operations:
https://www.googleapis.com/auth/cloud-identity.groups.readonly
Service setup notes: Cloud Identity auth guide.
Operations
| Operation | Risk | Auth | Summary |
|---|---|---|---|
cloudidentity.groups.get |
read |
byo_oauth |
Fetch a group by resource name (groups/<id>). |
cloudidentity.groups.list |
read |
byo_oauth |
List groups under a parent (parent=customers/<id>; view=BASIC|FULL). |
cloudidentity.groups.memberships.get |
read |
byo_oauth |
Fetch a single membership by resource name (groups/<id>/memberships/<id>). |
cloudidentity.groups.memberships.list |
read |
byo_oauth |
List the memberships of a Cloud Identity group (parent=groups/<id>). |
Next
- Use API workflows for search, describe, invoke, and error handling.
- Use Auth guides for service-specific Google setup.
- Use Command index for CLI flags and generated help.
