Skip to content

feat(cloudidentity): add Cloud Identity Groups API service alias#879

Open
douglasrodrigo wants to merge 1 commit into
googleworkspace:mainfrom
douglasrodrigo:feature/cloud-identity-groups-support
Open

feat(cloudidentity): add Cloud Identity Groups API service alias#879
douglasrodrigo wants to merge 1 commit into
googleworkspace:mainfrom
douglasrodrigo:feature/cloud-identity-groups-support

Conversation

@douglasrodrigo

Copy link
Copy Markdown

Registers cloud-identity/cloudidentity (cloudidentity/v1) in the service registry, exposing groups, memberships, devices, and policies commands. Lets users search their own Google Groups memberships via groups.memberships.searchDirectGroups without needing Admin SDK Directory scopes or a Workspace admin role.

Adds a generated resource-reference skill plus a hand-written skill documenting the searchDirectGroups query pattern and a label-filter bug in the documented CEL query syntax.

Relates to #844

Description

Please include a summary of the change and which issue is fixed. If adding a new feature or command, please include the output of running it with --dry-run to prove the JSON request body matches the Discovery Document schema.

Dry Run Output:

// Paste --dry-run output here if applicable

Checklist:

  • My code follows the AGENTS.md guidelines (no generated google-* crates).
  • I have run cargo fmt --all to format the code perfectly.
  • I have run cargo clippy -- -D warnings and resolved all warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have provided a Changeset file (e.g. via pnpx changeset) to document my changes.

Registers `cloud-identity`/`cloudidentity` (cloudidentity/v1) in the
service registry, exposing groups, memberships, devices, and policies
commands. Lets users search their own Google Groups memberships via
groups.memberships.searchDirectGroups without needing Admin SDK
Directory scopes or a Workspace admin role.

Adds a generated resource-reference skill plus a hand-written skill
documenting the searchDirectGroups query pattern and a label-filter
bug in the documented CEL query syntax.

Relates to googleworkspace#844
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 57c105f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-cla

google-cla Bot commented Jul 17, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the Cloud Identity API into the service registry, allowing users to interact with Google Cloud Identity resources such as groups and memberships. By adding this service, users can now perform tasks like searching direct group memberships without requiring elevated Admin SDK Directory scopes or specific admin roles, streamlining group management workflows.

Highlights

  • Service Registration: Registered the 'cloud-identity' service in the service registry with aliases, enabling access to groups, memberships, devices, and policies commands.
  • Documentation: Added comprehensive documentation for the new Cloud Identity service and a specific skill guide for searching direct group memberships.
  • Testing: Added unit tests to verify that the service registry correctly resolves the new 'cloud-identity' and 'cloudidentity' aliases.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Generative AI Prohibited Use Policy, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for the Google Cloud Identity API (v1) to the Google Workspace integration. It registers the cloudidentity service in services.rs along with unit tests, updates the core skills documentation, and introduces two new skill files: gws-cloud-identity and gws-cloud-identity-search-groups. No review comments were provided, so there is no feedback to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants