Repository navigation
chore(bigtable): add standalone ListInstances sample with imports - #15080
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new sample class ListInstances and its corresponding integration test ListInstancesTest to list Cloud Bigtable instances in a specified project. The feedback suggests refactoring the implementation to use the idiomatic, hand-written wrapper client BigtableInstanceAdminClient and its model classes instead of the low-level proto-generated BigtableInstanceAdminClientV2. This refactoring simplifies the code by removing manual proto request construction and requires updating the test assertions to match the simplified output format.
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
Add a standalone
ListInstancessample withbigtable_list_instanceswrapping theimportstatements andBigtableInstanceAdminClientV2client initialization so the rendered documentation snippet is self-contained. Keep the existing region tag inInstanceAdminExampletemporarily until DevSite references are updated toListInstances.java.b/587900321