Skip to content

chore: librarian onboard pull request: 20260224T150336Z#15605

Closed
parthea wants to merge 1 commit intomainfrom
librarian-20260224T150336Z
Closed

chore: librarian onboard pull request: 20260224T150336Z#15605
parthea wants to merge 1 commit intomainfrom
librarian-20260224T150336Z

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Feb 24, 2026

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

BEGIN_COMMIT

feat: onboard a new library

PiperOrigin-RevId: 869327994
Library-IDs: google-cloud-workloadmanager

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

@parthea parthea requested review from a team as code owners February 24, 2026 15:04
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Feb 24, 2026

Here is the summary of changes.

You are about to add 24 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
Copy Markdown
Contributor

Summary of Changes

Hello @parthea, 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 new Workload Manager API Python client library into the repository. It encompasses all necessary files for the library's functionality, including API definitions, client implementations, documentation, and development tooling, ensuring a complete and ready-to-use package for developers.

Highlights

  • New Library Onboarding: This pull request introduces the new google-cloud-workloadmanager Python client library, enabling interaction with the Workload Manager API.
  • Configuration Updates: The .librarian/state.yaml file has been updated to include the new library's configuration, specifying its ID, version, API paths, source roots, and regex patterns for preservation and removal.
  • Client Library Structure: A complete directory structure for the new client library has been added under packages/google-cloud-workloadmanager, including generated client code, asynchronous clients, pagers, and various transport implementations (gRPC, gRPC AsyncIO, REST).
  • Development and Documentation Setup: New files for code quality (.coveragerc, .flake8, mypy.ini), project metadata (.repo-metadata.json), documentation (CHANGELOG.md, README.rst, docs/), and development environment (noxfile.py, testing/constraints-*.txt) have been added to support the new library.
  • Sample Code Generation: Generated sample code snippets for various Workload Manager API methods (e.g., CreateEvaluation, DeleteEvaluation, ListEvaluations) have been included for both synchronous and asynchronous client usage.
Changelog
  • .librarian/state.yaml
    • Added configuration for the new google-cloud-workloadmanager library, including its ID, version, API paths, and file handling rules.
  • packages/google-cloud-workloadmanager/.coveragerc
    • Added code coverage configuration for the new Workload Manager client library.
  • packages/google-cloud-workloadmanager/.flake8
    • Added flake8 linting configuration, with exclusions for generated code.
  • packages/google-cloud-workloadmanager/.repo-metadata.json
    • Added repository metadata for the google-cloud-workloadmanager client library.
  • packages/google-cloud-workloadmanager/CHANGELOG.md
    • Added initial changelog file for the Workload Manager client library.
  • packages/google-cloud-workloadmanager/LICENSE
    • Added the Apache License 2.0 for the new client library.
  • packages/google-cloud-workloadmanager/MANIFEST.in
    • Added manifest file for package distribution, including documentation and source files.
  • packages/google-cloud-workloadmanager/README.rst
    • Added comprehensive README documentation for the google-cloud-workloadmanager Python client library.
  • packages/google-cloud-workloadmanager/docs/CHANGELOG.md
    • Added documentation changelog for the Workload Manager client library.
  • packages/google-cloud-workloadmanager/docs/README.rst
    • Added documentation README for the Workload Manager client library.
  • packages/google-cloud-workloadmanager/docs/_static/custom.css
    • Added custom CSS for improved documentation styling.
  • packages/google-cloud-workloadmanager/docs/_templates/layout.html
    • Added a custom layout template for Sphinx documentation, including a Python 2 EOL notice.
  • packages/google-cloud-workloadmanager/docs/conf.py
    • Added Sphinx configuration file for generating API documentation.
  • packages/google-cloud-workloadmanager/docs/index.rst
    • Added the main index file for the Workload Manager API documentation.
  • packages/google-cloud-workloadmanager/docs/multiprocessing.rst
    • Added a note regarding multiprocessing safety for the gRPC client.
  • packages/google-cloud-workloadmanager/docs/summary_overview.md
    • Added an overview markdown file for the API documentation summary.
  • packages/google-cloud-workloadmanager/docs/workloadmanager_v1/services_.rst
    • Added reStructuredText file to list services for the Workload Manager v1 API.
  • packages/google-cloud-workloadmanager/docs/workloadmanager_v1/types_.rst
    • Added reStructuredText file to list types for the Workload Manager v1 API.
  • packages/google-cloud-workloadmanager/docs/workloadmanager_v1/workload_manager.rst
    • Added reStructuredText file for WorkloadManager service documentation.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager/init.py
    • Added package initialization file, exposing WorkloadManager clients and types.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager/gapic_version.py
    • Added GAPIC version file for the Workload Manager client library.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager/py.typed
    • Added PEP 561 marker file to indicate inline types.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/init.py
    • Added v1 package initialization, including client and type imports, and Python version checks.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/gapic_metadata.json
    • Added GAPIC metadata file mapping proto services to library clients/methods.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/gapic_version.py
    • Added v1 GAPIC version file for the Workload Manager client library.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/py.typed
    • Added v1 PEP 561 marker file to indicate inline types.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/init.py
    • Added services package initialization file.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/init.py
    • Added WorkloadManager service initialization, exposing async and sync clients.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/async_client.py
    • Added asynchronous client implementation for the Workload Manager service.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/pagers.py
    • Added pager classes for iterating through list responses in the Workload Manager service.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/README.rst
    • Added README explaining the transport inheritance structure.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/init.py
    • Added transports package initialization, registering gRPC and REST transports.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/base.py
    • Added base abstract transport class for WorkloadManager.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/grpc.py
    • Added gRPC transport implementation for the Workload Manager service.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/grpc_asyncio.py
    • Added gRPC AsyncIO transport implementation for the Workload Manager service.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/services/workload_manager/transports/rest_base.py
    • Added base REST backend transport class for WorkloadManager.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/types/init.py
    • Added types package initialization, exposing various service message types.
  • packages/google-cloud-workloadmanager/google/cloud/workloadmanager_v1/types/service.py
    • Added service type definitions for Workload Manager API resources and requests.
  • packages/google-cloud-workloadmanager/mypy.ini
    • Added mypy configuration for type checking, including Python version and import settings.
  • packages/google-cloud-workloadmanager/noxfile.py
    • Added Nox configuration for running unit tests, system tests, coverage, linting, formatting, and documentation builds across multiple Python versions.
  • packages/google-cloud-workloadmanager/samples/generated_samples/snippet_metadata_google.cloud.workloadmanager.v1.json
    • Added snippet metadata for generated sample code.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_create_evaluation_async.py
    • Added asynchronous sample for the CreateEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_create_evaluation_sync.py
    • Added synchronous sample for the CreateEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_delete_evaluation_async.py
    • Added asynchronous sample for the DeleteEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_delete_evaluation_sync.py
    • Added synchronous sample for the DeleteEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_delete_execution_async.py
    • Added asynchronous sample for the DeleteExecution method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_delete_execution_sync.py
    • Added synchronous sample for the DeleteExecution method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_get_evaluation_async.py
    • Added asynchronous sample for the GetEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_get_evaluation_sync.py
    • Added synchronous sample for the GetEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_get_execution_async.py
    • Added asynchronous sample for the GetExecution method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_get_execution_sync.py
    • Added synchronous sample for the GetExecution method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_evaluations_async.py
    • Added asynchronous sample for the ListEvaluations method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_evaluations_sync.py
    • Added synchronous sample for the ListEvaluations method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_execution_results_async.py
    • Added asynchronous sample for the ListExecutionResults method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_execution_results_sync.py
    • Added synchronous sample for the ListExecutionResults method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_executions_async.py
    • Added asynchronous sample for the ListExecutions method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_executions_sync.py
    • Added synchronous sample for the ListExecutions method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_rules_async.py
    • Added asynchronous sample for the ListRules method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_rules_sync.py
    • Added synchronous sample for the ListRules method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_scanned_resources_async.py
    • Added asynchronous sample for the ListScannedResources method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_list_scanned_resources_sync.py
    • Added synchronous sample for the ListScannedResources method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_run_evaluation_async.py
    • Added asynchronous sample for the RunEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_run_evaluation_sync.py
    • Added synchronous sample for the RunEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_update_evaluation_async.py
    • Added asynchronous sample for the UpdateEvaluation method.
  • packages/google-cloud-workloadmanager/samples/generated_samples/workloadmanager_v1_generated_workload_manager_update_evaluation_sync.py
    • Added synchronous sample for the UpdateEvaluation method.
  • packages/google-cloud-workloadmanager/setup.py
    • Updated setup.py to include the new google-cloud-workloadmanager package and its dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.10.txt
    • Added Python 3.10 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.11.txt
    • Added Python 3.11 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.12.txt
    • Added Python 3.12 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.13.txt
    • Added Python 3.13 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.14.txt
    • Added Python 3.14 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.7.txt
    • Added Python 3.7 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.8.txt
    • Added Python 3.8 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/testing/constraints-3.9.txt
    • Added Python 3.9 constraints file for testing dependencies.
  • packages/google-cloud-workloadmanager/tests/init.py
    • Added package initialization for the tests directory.
  • packages/google-cloud-workloadmanager/tests/unit/init.py
    • Added package initialization for the unit tests directory.
  • packages/google-cloud-workloadmanager/tests/unit/gapic/init.py
    • Added package initialization for the GAPIC unit tests directory.
  • packages/google-cloud-workloadmanager/tests/unit/gapic/workloadmanager_v1/init.py
    • Added package initialization for the WorkloadManager v1 GAPIC unit tests directory.
Activity
  • The pull request was automatically generated by the Librarian CLI (v0.8.3).
  • The purpose of this PR is to onboard the new google-cloud-workloadmanager Cloud Client Library.
  • The commit message indicates a new library onboarding feature.
  • The generation process used the python-librarian-generator language image.
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
Copy Markdown
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 successfully onboards the new google-cloud-workloadmanager client library. The changes primarily consist of boilerplate files and configurations necessary for a new library, including .librarian/state.yaml, .coveragerc, .flake8, .repo-metadata.json, CHANGELOG.md, LICENSE, MANIFEST.in, README.rst, Sphinx documentation files, Python package __init__.py files, GAPIC metadata, mypy.ini, noxfile.py, sample snippets, setup.py, and testing constraint files. The configurations and dependencies are set up correctly, including support for Python 3.14 as per general rules. The generated code includes standard pragma comments for coverage and logging, which is acceptable. Overall, the changes are well-structured and adhere to the project's conventions.

pick up on the content and merge the content.
]: #

# Workload Manager API API
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.

medium

The title "Workload Manager API API" appears to have a redundant "API". Consider removing one instance for clarity.

Suggested change
# Workload Manager API API
# Workload Manager API

@parthea parthea deleted the librarian-20260224T150336Z branch March 2, 2026 16:47
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.

1 participant