chore: librarian generate pull request: 20260311T095333Z#16067
Conversation
Summary of ChangesHello, 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 is an automated update to the Cloud Client Libraries for Compute Engine v1 API. It incorporates recent changes from upstream protocol buffer definitions, introducing new API services for managing composite health checks and health sources, and extending existing services with new aggregated listing and version retrieval functionalities. The update ensures the client library remains synchronized with the latest API capabilities. Highlights
Changelog
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Code Review
This pull request is an automated update from the Librarian CLI, adding new services and types for the Compute Engine v1 API. The changes primarily involve adding new files for RegionCompositeHealthChecks and RegionHealthSources services, and updating existing files to integrate them. My review focuses on the maintainability of the generated code, specifically the alphabetical sorting of imports and __all__ lists in several __init__.py files, which should be addressed to improve code clarity and reduce future merge conflicts.
| HealthCheckReference, | ||
| HealthChecksAggregatedList, | ||
| HealthCheckService, | ||
| HealthCheckServiceAggregatedList, | ||
| HealthCheckServiceReference, | ||
| HealthCheckServicesList, | ||
| HealthCheckServicesScopedList, | ||
| HealthChecksScopedList, | ||
| HealthSource, | ||
| HealthSourceAggregatedList, | ||
| HealthSourceList, | ||
| HealthSourcesScopedList, | ||
| HealthStatus, | ||
| HealthStatusForNetworkEndpoint, | ||
| Help, |
There was a problem hiding this comment.
The list of imported symbols in this block is not alphabetically sorted. For better maintainability and to avoid merge conflicts, please sort these lists. For example, HealthCheckService should come before HealthChecksAggregatedList.
| HealthCheckReference, | |
| HealthChecksAggregatedList, | |
| HealthCheckService, | |
| HealthCheckServiceAggregatedList, | |
| HealthCheckServiceReference, | |
| HealthCheckServicesList, | |
| HealthCheckServicesScopedList, | |
| HealthChecksScopedList, | |
| HealthSource, | |
| HealthSourceAggregatedList, | |
| HealthSourceList, | |
| HealthSourcesScopedList, | |
| HealthStatus, | |
| HealthStatusForNetworkEndpoint, | |
| Help, | |
| HealthCheckReference, | |
| HealthCheckService, | |
| HealthCheckServiceAggregatedList, | |
| HealthCheckServiceReference, | |
| HealthCheckServicesList, | |
| HealthCheckServicesScopedList, | |
| HealthChecksAggregatedList, | |
| HealthChecksScopedList, | |
| HealthSource, | |
| HealthSourceAggregatedList, | |
| HealthSourceList, | |
| HealthSourcesScopedList, | |
| HealthStatus, | |
| HealthStatusForNetworkEndpoint, | |
| Help, |
| "HealthCheckReference", | ||
| "HealthChecksAggregatedList", | ||
| "HealthCheckService", | ||
| "HealthCheckServiceAggregatedList", | ||
| "HealthCheckServiceReference", | ||
| "HealthCheckServicesList", | ||
| "HealthCheckServicesScopedList", | ||
| "HealthChecksScopedList", | ||
| "HealthSource", | ||
| "HealthSourceAggregatedList", | ||
| "HealthSourceList", | ||
| "HealthSourcesScopedList", | ||
| "HealthStatus", | ||
| "HealthStatusForNetworkEndpoint", | ||
| "Help", |
There was a problem hiding this comment.
The __all__ list in this block is not alphabetically sorted. For better maintainability and to avoid merge conflicts, please sort these lists. For example, "HealthCheckService" should come before "HealthChecksAggregatedList".
| "HealthCheckReference", | |
| "HealthChecksAggregatedList", | |
| "HealthCheckService", | |
| "HealthCheckServiceAggregatedList", | |
| "HealthCheckServiceReference", | |
| "HealthCheckServicesList", | |
| "HealthCheckServicesScopedList", | |
| "HealthChecksScopedList", | |
| "HealthSource", | |
| "HealthSourceAggregatedList", | |
| "HealthSourceList", | |
| "HealthSourcesScopedList", | |
| "HealthStatus", | |
| "HealthStatusForNetworkEndpoint", | |
| "Help", | |
| "HealthCheckReference", | |
| "HealthCheckService", | |
| "HealthCheckServiceAggregatedList", | |
| "HealthCheckServiceReference", | |
| "HealthCheckServicesList", | |
| "HealthCheckServicesScopedList", | |
| "HealthChecksAggregatedList", | |
| "HealthChecksScopedList", | |
| "HealthSource", | |
| "HealthSourceAggregatedList", | |
| "HealthSourceList", | |
| "HealthSourcesScopedList", | |
| "HealthStatus", | |
| "HealthStatusForNetworkEndpoint", | |
| "Help", |
| from .services.region_autoscalers import RegionAutoscalersClient | ||
| from .services.region_backend_services import RegionBackendServicesClient | ||
| from .services.region_commitments import RegionCommitmentsClient | ||
| from .services.region_composite_health_checks import RegionCompositeHealthChecksClient | ||
| from .services.region_disk_types import RegionDiskTypesClient | ||
| from .services.region_disks import RegionDisksClient | ||
| from .services.region_health_aggregation_policies import ( | ||
| RegionHealthAggregationPoliciesClient, | ||
| ) | ||
| from .services.region_health_check_services import RegionHealthCheckServicesClient | ||
| from .services.region_health_checks import RegionHealthChecksClient | ||
| from .services.region_health_sources import RegionHealthSourcesClient | ||
| from .services.region_instance_group_managers import RegionInstanceGroupManagersClient | ||
| from .services.region_instance_groups import RegionInstanceGroupsClient | ||
| from .services.region_instance_templates import RegionInstanceTemplatesClient |
There was a problem hiding this comment.
The list of imported clients in this block is not alphabetically sorted. For better maintainability, please sort this list. For example, RegionDisksClient should come before RegionDiskTypesClient.
| from .services.region_autoscalers import RegionAutoscalersClient | |
| from .services.region_backend_services import RegionBackendServicesClient | |
| from .services.region_commitments import RegionCommitmentsClient | |
| from .services.region_composite_health_checks import RegionCompositeHealthChecksClient | |
| from .services.region_disk_types import RegionDiskTypesClient | |
| from .services.region_disks import RegionDisksClient | |
| from .services.region_health_aggregation_policies import ( | |
| RegionHealthAggregationPoliciesClient, | |
| ) | |
| from .services.region_health_check_services import RegionHealthCheckServicesClient | |
| from .services.region_health_checks import RegionHealthChecksClient | |
| from .services.region_health_sources import RegionHealthSourcesClient | |
| from .services.region_instance_group_managers import RegionInstanceGroupManagersClient | |
| from .services.region_instance_groups import RegionInstanceGroupsClient | |
| from .services.region_instance_templates import RegionInstanceTemplatesClient | |
| from .services.region_autoscalers import RegionAutoscalersClient | |
| from .services.region_backend_services import RegionBackendServicesClient | |
| from .services.region_commitments import RegionCommitmentsClient | |
| from .services.region_composite_health_checks import RegionCompositeHealthChecksClient | |
| from .services.region_disks import RegionDisksClient | |
| from .services.region_disk_types import RegionDiskTypesClient | |
| from .services.region_health_aggregation_policies import ( | |
| RegionHealthAggregationPoliciesClient, | |
| ) | |
| from .services.region_health_checks import RegionHealthChecksClient | |
| from .services.region_health_check_services import RegionHealthCheckServicesClient | |
| from .services.region_health_sources import RegionHealthSourcesClient | |
| from .services.region_instance_group_managers import RegionInstanceGroupManagersClient | |
| from .services.region_instance_groups import RegionInstanceGroupsClient | |
| from .services.region_instance_templates import RegionInstanceTemplatesClient |
| "HealthCheckLogConfig", | ||
| "HealthCheckReference", | ||
| "HealthCheckService", | ||
| "HealthCheckServiceAggregatedList", | ||
| "HealthCheckServiceReference", | ||
| "HealthCheckServicesList", | ||
| "HealthCheckServicesScopedList", | ||
| "HealthChecksAggregatedList", | ||
| "HealthChecksClient", | ||
| "HealthChecksScopedList", | ||
| "HealthSource", | ||
| "HealthSourceAggregatedList", | ||
| "HealthSourceList", | ||
| "HealthSourcesScopedList", | ||
| "HealthStatus", | ||
| "HealthStatusForNetworkEndpoint", | ||
| "Help", |
There was a problem hiding this comment.
The __all__ list in this block is not alphabetically sorted. For better maintainability, please sort this list. For example, "HealthChecksClient" should come before "HealthCheckService".
| "HealthCheckLogConfig", | |
| "HealthCheckReference", | |
| "HealthCheckService", | |
| "HealthCheckServiceAggregatedList", | |
| "HealthCheckServiceReference", | |
| "HealthCheckServicesList", | |
| "HealthCheckServicesScopedList", | |
| "HealthChecksAggregatedList", | |
| "HealthChecksClient", | |
| "HealthChecksScopedList", | |
| "HealthSource", | |
| "HealthSourceAggregatedList", | |
| "HealthSourceList", | |
| "HealthSourcesScopedList", | |
| "HealthStatus", | |
| "HealthStatusForNetworkEndpoint", | |
| "Help", | |
| "HealthCheckLogConfig", | |
| "HealthCheckReference", | |
| "HealthChecksAggregatedList", | |
| "HealthChecksClient", | |
| "HealthChecksScopedList", | |
| "HealthCheckService", | |
| "HealthCheckServiceAggregatedList", | |
| "HealthCheckServiceReference", | |
| "HealthCheckServicesList", | |
| "HealthCheckServicesScopedList", | |
| "HealthSource", | |
| "HealthSourceAggregatedList", | |
| "HealthSourceList", | |
| "HealthSourcesScopedList", | |
| "HealthStatus", | |
| "HealthStatusForNetworkEndpoint", | |
| "Help", |
| HealthCheckReference, | ||
| HealthChecksAggregatedList, | ||
| HealthCheckService, | ||
| HealthCheckServiceAggregatedList, | ||
| HealthCheckServiceReference, | ||
| HealthCheckServicesList, | ||
| HealthCheckServicesScopedList, | ||
| HealthChecksScopedList, | ||
| HealthSource, | ||
| HealthSourceAggregatedList, | ||
| HealthSourceList, | ||
| HealthSourcesScopedList, | ||
| HealthStatus, | ||
| HealthStatusForNetworkEndpoint, | ||
| Help, |
There was a problem hiding this comment.
The list of imported symbols in this block is not alphabetically sorted. For better maintainability, please sort this list. For example, HealthChecksAggregatedList should come before HealthCheckService.
| HealthCheckReference, | |
| HealthChecksAggregatedList, | |
| HealthCheckService, | |
| HealthCheckServiceAggregatedList, | |
| HealthCheckServiceReference, | |
| HealthCheckServicesList, | |
| HealthCheckServicesScopedList, | |
| HealthChecksScopedList, | |
| HealthSource, | |
| HealthSourceAggregatedList, | |
| HealthSourceList, | |
| HealthSourcesScopedList, | |
| HealthStatus, | |
| HealthStatusForNetworkEndpoint, | |
| Help, | |
| HealthCheckReference, | |
| HealthChecksAggregatedList, | |
| HealthChecksScopedList, | |
| HealthCheckService, | |
| HealthCheckServiceAggregatedList, | |
| HealthCheckServiceReference, | |
| HealthCheckServicesList, | |
| HealthCheckServicesScopedList, | |
| HealthSource, | |
| HealthSourceAggregatedList, | |
| HealthSourceList, | |
| HealthSourcesScopedList, | |
| HealthStatus, | |
| HealthStatusForNetworkEndpoint, | |
| Help, |
PR created by the Librarian CLI to generate Cloud Client Libraries code from protos.
BEGIN_COMMIT
BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1 API to revision 20260227 (#1166)
PiperOrigin-RevId:
Library-IDs: google-cloud-compute
Source-link: googleapis/googleapis@1c9510ae
END_NESTED_COMMIT
END_COMMIT
This pull request is generated with proto changes between
googleapis/googleapis@e8a3d842
(exclusive) and
googleapis/googleapis@1c9510ae
(inclusive).
Librarian Version: v1.0.2-0.20260309131826-42ac5c451239
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:160860d189ff1c2f7515638478823712fa5b243e27ccc33a2728669fa1e2ed0c