docs(bigtable): document admin client guidance in AGENTS.md - #20603
Merged
mutianf merged 2 commits intoSep 30, 2026
Merged
Conversation
Remind agents that bigtable/admin/apiv2/ is auto-generated from the Bigtable Admin proto and must not be edited directly, and point to the two generated clients (instance admin and table admin) as the reference when writing application code that calls admin operations. Change-Id: I4c7a869ba2f81b3d7acc54ba6f29769993adcdd1
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the bigtable/AGENTS.md file to include a new section with instructions for AI coding agents when editing admin operations. The review feedback correctly identifies an incorrect filename reference, pointing out that the BigtableTableAdmin client file is named bigtable_table_admin_client.go rather than table_admin.go.
| `bigtable/admin/apiv2` as the authoritative reference for correct client | ||
| construction, request building, and error handling. There are two clients: | ||
| - `bigtable/admin/apiv2/bigtable_instance_admin_client.go` — instance, cluster, and app-profile operations | ||
| - `bigtable/admin/apiv2/table_admin.go` — table, backup, and schema operations |
Contributor
sushanb
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bigtable/admin/apiv2/is auto-generated from the Bigtable Admin proto and must not be edited directly; proto changes are the right entry point.bigtable_instance_admin_client.go— instance, cluster, app-profile opstable_admin.go— table, backup, schema opsTest plan
bigtable/AGENTS.md.