Skip to content

feat(storage-control): regenerate client with ViewObjectFullContext and RapidCache APIs - #9845

Draft
quirogas wants to merge 3 commits into
fix/storage-control-librarian-js-compile-protosfrom
feat/storage-control-regenerate-v2
Draft

quirogas wants to merge 3 commits into
fix/storage-control-librarian-js-compile-protosfrom
feat/storage-control-regenerate-v2

Conversation

@quirogas

@quirogas quirogas commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Removes skip_generate from google-storage-control in librarian.yaml, preserves sample fixtures and webpack.config.js in keep, and regenerates @google-cloud/storage-control with ViewObjectFullContext, UpdateManagedFolder, and RapidCache APIs. Related to #9836.

…nd RapidCache APIs

Removes `skip_generate` from `google-storage-control` in `librarian.yaml`, preserves sample fixtures and `webpack.config.js` in `keep`, and regenerates `@google-cloud/storage-control` with `ViewObjectFullContext`, `UpdateManagedFolder`, and `RapidCache` APIs.
@quirogas
quirogas added this pull request to stack #9846 November 9, 2026 02:18

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

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.

Code Review

This pull request introduces support for Rapid Cache and Object Context features in the Google Storage Control client, adding several new RPCs (such as UpdateManagedFolder, ViewObjectFullContext, and various Rapid Cache operations) along with their corresponding client library implementations, configurations, and tests. The review feedback highlights that the generation process for the Storage service has completely overwritten the gapic_metadata.json file, losing the metadata for StorageControl, which needs to be resolved upstream. Additionally, a minor grammatical typo was identified in a comment within the auto-generated storage_control.proto file that should also be corrected upstream.

"libraryPackage": "@google-cloud/storage-control",
"services": {
"StorageControl": {
"Storage": {

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.

high

It appears that gapic_metadata.json is being overwritten during the generation process. Since this package (@google-cloud/storage-control) contains both the StorageControl and Storage services, gapic_metadata.json should ideally contain metadata for both services. Currently, the generation of the Storage service has completely overwritten the metadata for StorageControl.

This is a common issue when multiple services are generated into the same package in separate generator runs, causing the last run to overwrite the metadata file. Please update the generator configuration or build scripts to ensure that the metadata for both services is merged, or that they are generated together to prevent one from overwriting the other.

References
  1. Do not manually edit generated client configuration JSON files. Any changes or updates must be made upstream in the generator.

}

// Lists the `IntelligenceFinding` resources for the specified project.
// Lists the `IntelligenceFinding` resources for the specified the project.

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

There is a grammatical typo in the comment: 'specified the project' should be 'specified project' (or 'specified organization, folder, or project'). Since this proto file is auto-generated, please do not edit it manually. Any changes or updates must be made upstream in the source definitions.

References
  1. Do not manually edit generated proto files. Any changes or updates must be made upstream in the source definitions.

This branch has not been deployed

No deployments
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