Skip to content

Conversation

@parthea
Copy link
Contributor

@parthea parthea commented Jan 8, 2026

PR created by the Librarian CLI to generate Cloud Client Libraries code from protos.

BEGIN_COMMIT

BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1beta API to revision 20251210 (#1138)

PiperOrigin-RevId:
Library-IDs: google-cloud-compute-v1beta
Source-link: googleapis/googleapis@d4a34bf0
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1beta API to revision 20251202

PiperOrigin-RevId:
Library-IDs: google-cloud-compute-v1beta
Source-link: googleapis/googleapis@a11bbeb4
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1beta API to revision 20251031

PiperOrigin-RevId:
Library-IDs: google-cloud-compute-v1beta
Source-link: googleapis/googleapis@db561899
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1beta API to revision 20251019

PiperOrigin-RevId:
Library-IDs: google-cloud-compute-v1beta
Source-link: googleapis/googleapis@ecb5d668
END_NESTED_COMMIT

END_COMMIT

This pull request is generated with proto changes between
googleapis/googleapis@33225118
(exclusive) and
googleapis/googleapis@d4a34bf0
(inclusive).

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

@parthea parthea requested review from a team as code owners January 8, 2026 22:37
@snippet-bot
Copy link

snippet-bot bot commented Jan 8, 2026

Here is the summary of changes.

You are about to add 52 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

@parthea
Copy link
Contributor Author

parthea commented Jan 8, 2026

Adding do not merge label as there is a release pending: #15005

We can remove the do not merge label once the release PR is merged.

@parthea parthea added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 8, 2026
@gemini-code-assist
Copy link
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 updates the Compute Engine v1beta client library to reflect recent API changes, primarily by integrating new services and resources for VM extension policies, backend buckets, and health checks. It also enhances existing services with new methods and refines documentation for better usability.

Highlights

  • New API Services Added: This pull request introduces several new API services and resources for Compute Engine v1beta, including Global VM Extension Policies, Region Backend Buckets, Region Composite Health Checks, Region Health Aggregation Policies, Rollout Plans, Rollouts, and Zone VM Extension Policies. This expands the functionality available for managing various aspects of VM infrastructure and related policies.
  • New Functionality for Instance Group Managers: A new method, get_available_accelerator_topologies, has been added to the Instance Group Managers service, allowing users to retrieve information about available accelerator topologies for managed instance groups.
  • API Client Library Regeneration: The client library has been regenerated by the Librarian CLI to incorporate recent updates to the Compute Engine v1beta API protos, ensuring the client library remains synchronized with the latest API definitions. This includes updates from multiple revisions dating back to October 2025.
  • Docstring and Formatting Improvements: Numerous docstrings across various client and transport files have been updated and reformatted for improved clarity, readability, and consistency, enhancing the overall developer experience.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

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 is an automated update of the Compute Engine v1beta API client. The changes are extensive, adding new services and methods. My review focuses on the quality of the auto-generated code, particularly the docstrings. I've found numerous formatting issues in the docstrings across many files, such as missing spaces between words, which seems to be a systematic issue in the code generator. These issues affect the readability of the documentation. I've provided specific comments and suggestions to fix them. Please consider addressing the root cause in the generator to prevent these issues in future updates.

can add to VM instances to improve or
accelerate performance when working with
intensive workloads. For more
information, readGPUs on Compute Engine.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be read GPUs on Compute Engine.

Suggested change
information, readGPUs on Compute Engine.
information, read GPUs on Compute Engine.

can add to VM instances to improve or
accelerate performance when working with
intensive workloads. For more
information, readGPUs on Compute Engine.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be read GPUs on Compute Engine.

Suggested change
information, readGPUs on Compute Engine.
information, read GPUs on Compute Engine.

Comment on lines +1192 to 1203
Represents an IP Address resource.
Google Compute Engine has two IP Address resources:
\* [Global (external and
internal)](https://cloud.google.com/compute/docs/reference/rest/beta/globalAddresses)
\* [Regional (external and
internal)](https://cloud.google.com/compute/docs/reference/rest/beta/addresses)
For more information, see Reserving a static external
IP address.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The indentation in this docstring seems inconsistent and might lead to rendering issues. The paragraphs and the list items should be consistently indented relative to the google.cloud.compute_v1beta.types.Address: line.

) -> compute.Operation:
r"""Sets the labels on an Address. To learn more about
labels, read the Labeling Resources documentation.
labels, read theLabeling Resources documentation.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be read the Labeling Resources documentation.

Suggested change
labels, read theLabeling Resources documentation.
labels, read the Labeling Resources documentation.

Comment on lines +812 to +813
API requests. For more information, readHandling API
responses.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be read Handling API responses.

Suggested change
API requests. For more information, readHandling API
responses.
API requests. For more information, read Handling API
responses.

You can use an operation resource to manage
asynchronous API requests. For more information,
readHandling API responses.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be read Handling API responses.

Suggested change
readHandling API responses.
asynchronous API requests. For more information,
read Handling API responses.

Comment on lines +1549 to 1550
method supportsPATCH semantics and usesJSON merge
patch format and processing rules.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There are missing spaces in the docstring. It should be supports PATCH and uses JSON.

Suggested change
method supportsPATCH semantics and usesJSON merge
patch format and processing rules.
method supports PATCH semantics and uses JSON merge
patch format and processing rules.

Comment on lines +801 to +803
The name of thezone where the managed
instance group is located. The name
should conform to RFC1035.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be The name of the zone.

Suggested change
The name of thezone where the managed
instance group is located. The name
should conform to RFC1035.
The name of the zone where the managed
instance group is located. The name
should conform to RFC1035.

Comment on lines +738 to +744
instance group. This method reduces thetargetSize of the
managed instance group by the number of instances that
you abandon. This operation is marked asDONE when the
action is scheduled even if the instances have not yet
been removed from the group. You must separately verify
the status of the abandoning action with
thelistmanagedinstances method.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There are several missing spaces in this docstring, for example thetargetSize, asDONE, and thelistmanagedinstances. This seems to be a recurring issue throughout the file.

Suggested change
instance group. This method reduces thetargetSize of the
managed instance group by the number of instances that
you abandon. This operation is marked asDONE when the
action is scheduled even if the instances have not yet
been removed from the group. You must separately verify
the status of the abandoning action with
thelistmanagedinstances method.
instance group. This method reduces the targetSize of the
managed instance group by the number of instances that
you abandon. This operation is marked as DONE when the
action is scheduled even if the instances have not yet
been removed from the group. You must separately verify
the status of the abandoning action with
the listmanagedinstances method.

configure a target for load balancing.
resource.
Instance Groups can be used to configure
a target forload balancing.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's a missing space in the docstring. It should be for load balancing.

Suggested change
a target forload balancing.
configure a target for load balancing.

@parthea parthea removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 9, 2026
@parthea parthea enabled auto-merge (squash) January 9, 2026 15:04
@parthea
Copy link
Contributor Author

parthea commented Jan 9, 2026

The formatting issues exist in the upstream proto and need to be fixed there: https://raw.githubusercontent.com/googleapis/googleapis/refs/heads/master/google/cloud/compute/v1/compute.proto

@parthea parthea merged commit bfa895c into main Jan 9, 2026
26 of 27 checks passed
@parthea parthea deleted the librarian-20260108T223611Z branch January 9, 2026 15:07
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