Skip to content

chore: librarian onboard pull request: 20260225T101121Z#15612

Merged
parthea merged 1 commit intomainfrom
librarian-20260225T101121Z
Feb 25, 2026
Merged

chore: librarian onboard pull request: 20260225T101121Z#15612
parthea merged 1 commit intomainfrom
librarian-20260225T101121Z

Conversation

@daniel-sanche
Copy link
Contributor

PR created by the Librarian CLI to onboard a new Cloud Client Library.

BEGIN_COMMIT

feat: onboard a new library

PiperOrigin-RevId: 874689837
Library-IDs: google-cloud-ces

END_COMMIT

Librarian Version: v0.8.3
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:160860d189ff1c2f7515638478823712fa5b243e27ccc33a2728669fa1e2ed0c

@daniel-sanche daniel-sanche requested review from a team as code owners February 25, 2026 18:12
@snippet-bot
Copy link

snippet-bot bot commented Feb 25, 2026

Here is the summary of changes.

You are about to add 170 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @daniel-sanche, 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 google-cloud-ces client library, specifically introducing the v1beta version of its API. The changes encompass the automated generation of all necessary client-side code and documentation, ensuring the new API is fully functional and well-documented within the existing library structure.

Highlights

  • New Library Onboarding: The google-cloud-ces client library has been onboarded to the repository.
  • v1beta API Support: Comprehensive client support for the google-cloud-ces v1beta API has been added, including service clients, pagers, and various transport implementations.
  • Automated Code Generation: Numerous new Python files were generated to support the v1beta API, covering initialization, metadata, versioning, service definitions, and transport layers for Agent, Evaluation, and Session services.
  • Documentation Updates: The library's documentation was expanded to include specific references and details for the newly integrated v1beta API, ensuring discoverability and usability.
  • Configuration Update: The .librarian/state.yaml configuration file was updated to formally register the google-cloud-ces v1beta API within the project's managed libraries.
Changelog
  • .librarian/state.yaml
    • Updated the last_generated_commit hash.
    • Added the google/cloud/ces/v1beta API path and its service configuration.
  • packages/google-cloud-ces/docs/ces_v1beta/agent_service.rst
    • Added documentation for the v1beta AgentService.
  • packages/google-cloud-ces/docs/ces_v1beta/evaluation_service.rst
    • Added documentation for the v1beta EvaluationService.
  • packages/google-cloud-ces/docs/ces_v1beta/services_.rst
    • Added a table of contents for v1beta services.
  • packages/google-cloud-ces/docs/ces_v1beta/session_service.rst
    • Added documentation for the v1beta SessionService.
  • packages/google-cloud-ces/docs/ces_v1beta/tool_service.rst
    • Added documentation for the v1beta ToolService.
  • packages/google-cloud-ces/docs/ces_v1beta/types_.rst
    • Added documentation for v1beta types.
  • packages/google-cloud-ces/docs/ces_v1beta/widget_service.rst
    • Added documentation for the v1beta WidgetService.
  • packages/google-cloud-ces/docs/index.rst
    • Updated the main documentation index to include v1beta API references.
    • Added a note indicating that the package includes clients for multiple versions of the API, with ces_v1 as the default.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/init.py
    • Initialized the v1beta package, importing async and sync clients for Agent, Evaluation, Session, Tool, and Widget services, along with various types.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/gapic_metadata.json
    • Added GAPIC metadata for the v1beta services, mapping RPCs to library clients and methods.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/gapic_version.py
    • Added the version file for the v1beta package, setting __version__ to '0.0.0'.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/py.typed
    • Added a PEP 561 marker file to indicate the package uses inline types.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/init.py
    • Initialized the v1beta services module.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/init.py
    • Initialized the v1beta AgentService module, importing async and sync clients.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/pagers.py
    • Added pager classes for iterating through ListApps, ListAgents, ListExamples, ListTools, ListConversations, ListGuardrails, ListDeployments, ListToolsets, ListAppVersions, and ListChangelogs requests in v1beta AgentService.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/README.rst
    • Added documentation for the transport inheritance structure of v1beta AgentService.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/init.py
    • Initialized the v1beta AgentService transports module, registering gRPC, gRPC AsyncIO, and REST transports.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/base.py
    • Added the abstract base transport class for v1beta AgentService, defining common methods and authentication scopes.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/grpc.py
    • Added the gRPC transport implementation for v1beta AgentService, including client interceptors for logging.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/grpc_asyncio.py
    • Added the gRPC AsyncIO transport implementation for v1beta AgentService, including client interceptors for logging.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/transports/rest_base.py
    • Added the base REST transport class for v1beta AgentService, defining HTTP options and request transcoding for various RPCs.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/init.py
    • Initialized the v1beta EvaluationService module, importing async and sync clients.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/pagers.py
    • Added pager classes for iterating through ListEvaluations, ListEvaluationResults, ListEvaluationDatasets, ListEvaluationRuns, ListEvaluationExpectations, and ListScheduledEvaluationRuns requests in v1beta EvaluationService.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/README.rst
    • Added documentation for the transport inheritance structure of v1beta EvaluationService.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/init.py
    • Initialized the v1beta EvaluationService transports module, registering gRPC, gRPC AsyncIO, and REST transports.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/base.py
    • Added the abstract base transport class for v1beta EvaluationService, defining common methods and authentication scopes.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/grpc.py
    • Added the gRPC transport implementation for v1beta EvaluationService, including client interceptors for logging.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/grpc_asyncio.py
    • Added the gRPC AsyncIO transport implementation for v1beta EvaluationService, including client interceptors for logging.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/evaluation_service/transports/rest_base.py
    • Added the base REST transport class for v1beta EvaluationService, defining HTTP options and request transcoding for various RPCs.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/init.py
    • Initialized the v1beta SessionService module, importing async and sync clients.
  • packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/async_client.py
    • Added the asynchronous client for v1beta SessionService, providing methods for run_session and bidi_run_session.
Activity
  • The pull request was automatically generated by the Librarian CLI (v0.8.3) to onboard the new Cloud Client Library for google-cloud-ces.
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 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 counter productive. 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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

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

Copy link
Contributor

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

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 onboards the v1beta version of the google-cloud-ces client library. The changes are mostly auto-generated boilerplate for the new API version. I've found a minor issue in the documentation where an 'API Reference' section is duplicated. Please see the specific comment for details.

Comment on lines +17 to +23
API Reference
-------------
.. toctree::
:maxdepth: 2

ces_v1beta/services_
ces_v1beta/types_
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This API Reference section is a duplicate. The v1beta entries should be added to the toctree under the first API Reference section on line 11 to keep the documentation organized and avoid redundancy.

@parthea parthea merged commit e46a4d8 into main Feb 25, 2026
26 of 27 checks passed
@parthea parthea deleted the librarian-20260225T101121Z branch February 25, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants