Skip to content

chore: librarian onboard pull request: 20260304T233807Z#16026

Merged
Linchin merged 1 commit intomainfrom
librarian-20260304T233807Z
Mar 5, 2026
Merged

chore: librarian onboard pull request: 20260304T233807Z#16026
Linchin merged 1 commit intomainfrom
librarian-20260304T233807Z

Conversation

@Linchin
Copy link
Contributor

@Linchin Linchin commented Mar 4, 2026

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

BEGIN_COMMIT

feat: onboard a new library

PiperOrigin-RevId: 873108574
Library-IDs: google-cloud-hypercomputecluster

END_COMMIT

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

@Linchin Linchin requested review from a team as code owners March 4, 2026 23:38
@snippet-bot
Copy link

snippet-bot bot commented Mar 4, 2026

Here is the summary of changes.

You are about to add 10 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, 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 automates the onboarding of the google-cloud-hypercomputecluster client library, specifically integrating its v1 API. The changes encompass updating core configuration, generating new client and type definitions, and enhancing documentation and sample code to ensure comprehensive support for the new API version.

Highlights

  • New API Version Onboarded: The google-cloud-hypercomputecluster client library has been onboarded with its v1 API version, expanding its capabilities.
  • Configuration Updates: The .librarian/state.yaml file was updated to reflect the new v1 API path and the latest generated commit hash for the google-cloud-hypercomputecluster library.
  • Client and Type Generation: New client and type files for the v1 API of google-cloud-hypercomputecluster were generated, including synchronous and asynchronous clients, pagers, and various transport implementations (gRPC, gRPC AsyncIO, REST).
  • Documentation and Samples: Documentation files and sample code snippets were added and updated to support the newly onboarded v1 API, providing clear guidance for usage.
Changelog
  • .librarian/state.yaml
    • Updated last_generated_commit for google-cloud-hypercomputecluster.
    • Added v1 API path to the google-cloud-hypercomputecluster entry.
  • packages/google-cloud-hypercomputecluster/README.rst
    • Updated the description for the Cluster Director API.
  • packages/google-cloud-hypercomputecluster/docs/README.rst
    • Updated the description for the Cluster Director API.
  • packages/google-cloud-hypercomputecluster/docs/hypercomputecluster_v1/hypercompute_cluster.rst
    • Added new documentation for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/docs/hypercomputecluster_v1/services_.rst
    • Added new documentation for v1 services.
  • packages/google-cloud-hypercomputecluster/docs/hypercomputecluster_v1/types_.rst
    • Added new documentation for v1 types.
  • packages/google-cloud-hypercomputecluster/docs/index.rst
    • Updated the index to include the v1 API reference.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster/init.py
    • Updated imports to reference v1 services and types.
    • Added new operation metadata types to __all__.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/init.py
    • Added new __init__.py for the v1 client.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/gapic_metadata.json
    • Added new GAPIC metadata for the v1 API.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/gapic_version.py
    • Added new gapic_version.py for the v1 API.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/py.typed
    • Added new marker file for v1 inline types.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/init.py
    • Added new __init__.py for v1 services.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/init.py
    • Added new __init__.py for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/async_client.py
    • Added new asynchronous client for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/client.py
    • Added new synchronous client for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/pagers.py
    • Added new pagers for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/README.rst
    • Added new README for v1 transports.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/init.py
    • Added new __init__.py for v1 transports.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/base.py
    • Added new base transport for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/grpc.py
    • Added new gRPC transport for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/grpc_asyncio.py
    • Added new gRPC AsyncIO transport for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/rest.py
    • Added new REST transport for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/services/hypercompute_cluster/transports/rest_base.py
    • Added new base REST transport for the v1 HypercomputeCluster service.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/types/init.py
    • Added new __init__.py for v1 types.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/types/hypercompute_cluster.py
    • Added new types for v1 HypercomputeCluster.
  • packages/google-cloud-hypercomputecluster/google/cloud/hypercomputecluster_v1/types/operation_metadata.py
    • Added new operation metadata types for v1.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_create_cluster_async.py
    • Added new asynchronous sample for CreateCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_create_cluster_sync.py
    • Added new synchronous sample for CreateCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_delete_cluster_async.py
    • Added new asynchronous sample for DeleteCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_delete_cluster_sync.py
    • Added new synchronous sample for DeleteCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_get_cluster_async.py
    • Added new asynchronous sample for GetCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_get_cluster_sync.py
    • Added new synchronous sample for GetCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_list_clusters_async.py
    • Added new asynchronous sample for ListClusters.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_list_clusters_sync.py
    • Added new synchronous sample for ListClusters.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_update_cluster_async.py
    • Added new asynchronous sample for UpdateCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/hypercomputecluster_v1_generated_hypercompute_cluster_update_cluster_sync.py
    • Added new synchronous sample for UpdateCluster.
  • packages/google-cloud-hypercomputecluster/samples/generated_samples/snippet_metadata_google.cloud.hypercomputecluster.v1.json
    • Added new snippet metadata for the v1 API.
  • packages/google-cloud-hypercomputecluster/tests/unit/gapic/hypercomputecluster_v1/init.py
    • Added new __init__.py for v1 unit tests.
Activity
  • This pull request was automatically generated by the Librarian CLI to onboard a new Cloud Client Library for google-cloud-hypercomputecluster.
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 appears to be an automated onboarding of the google-cloud-hypercomputecluster v1 client library. The changes primarily consist of adding new, generated files for this version and updating existing configurations and documentation. I've identified a few minor issues: a duplicated header in the documentation that could affect rendering, and several unsorted __all__ lists which could be improved for better maintainability. My review includes suggestions to address these points.

Comment on lines 17 to 18
API Reference
-------------
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 API Reference header is duplicated. This can cause rendering issues in the generated documentation. Please remove this duplicated section.

Comment on lines +202 to +272
__all__ = (
"HypercomputeClusterAsyncClient",
"BootDisk",
"BucketReference",
"CheckClusterHealth",
"Cluster",
"ComputeInstance",
"ComputeInstanceSlurmNodeSet",
"ComputeResource",
"ComputeResourceConfig",
"CreateClusterRequest",
"CreateFilestoreInstance",
"CreateLoginNode",
"CreateLustreInstance",
"CreateNetwork",
"CreateNodeset",
"CreateOrchestrator",
"CreatePartition",
"CreatePrivateServiceAccess",
"CreateStorageBucket",
"DeleteClusterRequest",
"DeleteFilestoreInstance",
"DeleteLoginNode",
"DeleteLustreInstance",
"DeleteNetwork",
"DeleteNodeset",
"DeleteOrchestrator",
"DeletePartition",
"DeletePrivateServiceAccess",
"DeleteStorageBucket",
"ExistingBucketConfig",
"ExistingFilestoreConfig",
"ExistingLustreConfig",
"ExistingNetworkConfig",
"FileShareConfig",
"FilestoreReference",
"GcsAutoclassConfig",
"GcsHierarchicalNamespaceConfig",
"GetClusterRequest",
"HypercomputeClusterClient",
"ListClustersRequest",
"ListClustersResponse",
"LustreReference",
"NetworkReference",
"NetworkResource",
"NetworkResourceConfig",
"NewBucketConfig",
"NewFilestoreConfig",
"NewFlexStartInstancesConfig",
"NewLustreConfig",
"NewNetworkConfig",
"NewOnDemandInstancesConfig",
"NewReservedInstancesConfig",
"NewSpotInstancesConfig",
"OperationMetadata",
"OperationProgress",
"OperationStep",
"Orchestrator",
"SlurmLoginNodes",
"SlurmNodeSet",
"SlurmOrchestrator",
"SlurmPartition",
"StorageConfig",
"StorageResource",
"StorageResourceConfig",
"UpdateClusterRequest",
"UpdateLoginNode",
"UpdateNodeset",
"UpdateOrchestrator",
"UpdatePartition",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For better maintainability and readability, the __all__ list should be sorted alphabetically.

__all__ = (
    "BootDisk",
    "BucketReference",
    "CheckClusterHealth",
    "Cluster",
    "ComputeInstance",
    "ComputeInstanceSlurmNodeSet",
    "ComputeResource",
    "ComputeResourceConfig",
    "CreateClusterRequest",
    "CreateFilestoreInstance",
    "CreateLoginNode",
    "CreateLustreInstance",
    "CreateNetwork",
    "CreateNodeset",
    "CreateOrchestrator",
    "CreatePartition",
    "CreatePrivateServiceAccess",
    "CreateStorageBucket",
    "DeleteClusterRequest",
    "DeleteFilestoreInstance",
    "DeleteLoginNode",
    "DeleteLustreInstance",
    "DeleteNetwork",
    "DeleteNodeset",
    "DeleteOrchestrator",
    "DeletePartition",
    "DeletePrivateServiceAccess",
    "DeleteStorageBucket",
    "ExistingBucketConfig",
    "ExistingFilestoreConfig",
    "ExistingLustreConfig",
    "ExistingNetworkConfig",
    "FileShareConfig",
    "FilestoreReference",
    "GcsAutoclassConfig",
    "GcsHierarchicalNamespaceConfig",
    "GetClusterRequest",
    "HypercomputeClusterAsyncClient",
    "HypercomputeClusterClient",
    "ListClustersRequest",
    "ListClustersResponse",
    "LustreReference",
    "NetworkReference",
    "NetworkResource",
    "NetworkResourceConfig",
    "NewBucketConfig",
    "NewFilestoreConfig",
    "NewFlexStartInstancesConfig",
    "NewLustreConfig",
    "NewNetworkConfig",
    "NewOnDemandInstancesConfig",
    "NewReservedInstancesConfig",
    "NewSpotInstancesConfig",
    "OperationMetadata",
    "OperationProgress",
    "OperationStep",
    "Orchestrator",
    "SlurmLoginNodes",
    "SlurmNodeSet",
    "SlurmOrchestrator",
    "SlurmPartition",
    "StorageConfig",
    "StorageResource",
    "StorageResourceConfig",
    "UpdateClusterRequest",
    "UpdateLoginNode",
    "UpdateNodeset",
    "UpdateOrchestrator",
    "UpdatePartition",
)

Comment on lines +88 to +156
__all__ = (
"BootDisk",
"BucketReference",
"Cluster",
"ComputeInstance",
"ComputeInstanceSlurmNodeSet",
"ComputeResource",
"ComputeResourceConfig",
"CreateClusterRequest",
"DeleteClusterRequest",
"ExistingBucketConfig",
"ExistingFilestoreConfig",
"ExistingLustreConfig",
"ExistingNetworkConfig",
"FileShareConfig",
"FilestoreReference",
"GcsAutoclassConfig",
"GcsHierarchicalNamespaceConfig",
"GetClusterRequest",
"ListClustersRequest",
"ListClustersResponse",
"LustreReference",
"NetworkReference",
"NetworkResource",
"NetworkResourceConfig",
"NewBucketConfig",
"NewFilestoreConfig",
"NewFlexStartInstancesConfig",
"NewLustreConfig",
"NewNetworkConfig",
"NewOnDemandInstancesConfig",
"NewReservedInstancesConfig",
"NewSpotInstancesConfig",
"Orchestrator",
"SlurmLoginNodes",
"SlurmNodeSet",
"SlurmOrchestrator",
"SlurmPartition",
"StorageConfig",
"StorageResource",
"StorageResourceConfig",
"UpdateClusterRequest",
"CheckClusterHealth",
"CreateFilestoreInstance",
"CreateLoginNode",
"CreateLustreInstance",
"CreateNetwork",
"CreateNodeset",
"CreateOrchestrator",
"CreatePartition",
"CreatePrivateServiceAccess",
"CreateStorageBucket",
"DeleteFilestoreInstance",
"DeleteLoginNode",
"DeleteLustreInstance",
"DeleteNetwork",
"DeleteNodeset",
"DeleteOrchestrator",
"DeletePartition",
"DeletePrivateServiceAccess",
"DeleteStorageBucket",
"OperationMetadata",
"OperationProgress",
"OperationStep",
"UpdateLoginNode",
"UpdateNodeset",
"UpdateOrchestrator",
"UpdatePartition",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For better maintainability and readability, the __all__ list should be sorted alphabetically.

__all__ = (
    "BootDisk",
    "BucketReference",
    "CheckClusterHealth",
    "Cluster",
    "ComputeInstance",
    "ComputeInstanceSlurmNodeSet",
    "ComputeResource",
    "ComputeResourceConfig",
    "CreateClusterRequest",
    "CreateFilestoreInstance",
    "CreateLoginNode",
    "CreateLustreInstance",
    "CreateNetwork",
    "CreateNodeset",
    "CreateOrchestrator",
    "CreatePartition",
    "CreatePrivateServiceAccess",
    "CreateStorageBucket",
    "DeleteClusterRequest",
    "DeleteFilestoreInstance",
    "DeleteLoginNode",
    "DeleteLustreInstance",
    "DeleteNetwork",
    "DeleteNodeset",
    "DeleteOrchestrator",
    "DeletePartition",
    "DeletePrivateServiceAccess",
    "DeleteStorageBucket",
    "ExistingBucketConfig",
    "ExistingFilestoreConfig",
    "ExistingLustreConfig",
    "ExistingNetworkConfig",
    "FileShareConfig",
    "FilestoreReference",
    "GcsAutoclassConfig",
    "GcsHierarchicalNamespaceConfig",
    "GetClusterRequest",
    "ListClustersRequest",
    "ListClustersResponse",
    "LustreReference",
    "NetworkReference",
    "NetworkResource",
    "NetworkResourceConfig",
    "NewBucketConfig",
    "NewFilestoreConfig",
    "NewFlexStartInstancesConfig",
    "NewLustreConfig",
    "NewNetworkConfig",
    "NewOnDemandInstancesConfig",
    "NewReservedInstancesConfig",
    "NewSpotInstancesConfig",
    "OperationMetadata",
    "OperationProgress",
    "OperationStep",
    "Orchestrator",
    "SlurmLoginNodes",
    "SlurmNodeSet",
    "SlurmOrchestrator",
    "SlurmPartition",
    "StorageConfig",
    "StorageResource",
    "StorageResourceConfig",
    "UpdateClusterRequest",
    "UpdateLoginNode",
    "UpdateNodeset",
    "UpdateOrchestrator",
    "UpdatePartition",
)

@Linchin Linchin merged commit 6876f64 into main Mar 5, 2026
27 checks passed
@Linchin Linchin deleted the librarian-20260304T233807Z branch March 5, 2026 00:03
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