Skip to content

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

Draft
quirogas wants to merge 3 commits into
googleapis:mainfrom
quirogas:feat/storage-control-regenerate-v2
Draft

quirogas wants to merge 3 commits into
googleapis:mainfrom
quirogas:feat/storage-control-regenerate-v2

Conversation

@quirogas

@quirogas quirogas commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Stacked on #9837 and #9838. 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.

…l release

Moves packages/google-storage-control from release-please-config.json into release-please-submodules.json so it opens its own standalone release PR.
…g Object

Re-runs npm run compile-protos inside packages/google-storage-control/librarian.js after storage_control_utils.js renames message Object to message StorageObject in storage.proto so protos/protos.js does not shadow global Object.
…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.

@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 adds support for Rapid Cache and Object Full Context features to the @google-cloud/storage-control package, introducing new proto definitions, client methods, and generated samples. However, a critical issue was found in gapic_metadata.json where the primary StorageControl service was completely overwritten by the Storage service, which will break tooling and tracking expecting the control plane client mapping.

"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.storage.control.v2",
"protoPackage": "google.storage.v2",

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

The gapic_metadata.json file has been regenerated such that the primary service StorageControl (package google.storage.control.v2) has been completely overwritten by the Storage service (package google.storage.v2). Since @google-cloud/storage-control is primarily for the control plane (StorageControlClient), this metadata overwrite will break tooling, tracking, and dashboards that expect StorageControlClient mapping. Please check the generator configuration or build scripts to ensure that the primary service's metadata is preserved or that both services are correctly represented.

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

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