Skip to content

Commit e69438f

Browse files
authored
cleanup(doc): add IAM examples to Bigtable gRPC doc, fix typos (#6838)
1 parent 43cc041 commit e69438f

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

google/cloud/bigtable/doc/bigtable-main.dox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ using the C++ client library.
2525
[manage resource page][resource-link]. Make a note of the project id, you
2626
will need to use it later.
2727
2. Make sure that [billing is enabled][billing-link] for your project.
28-
3. Learn about [key terms and concepts][concepts-link] for Cloud Spanner.
28+
3. Learn about [key terms and concepts][concepts-link] for Cloud Bigtable.
2929
4. Setup the authentication for the examples:
3030
- [Configure a service account][authentication-quickstart],
3131
- or [login with your personal account][gcloud-quickstart]
@@ -36,7 +36,7 @@ In order to use the Cloud Bigtable C++ client library from your own code, you'll
3636
need to configure your build system how to fetch and compile the Cloud C++
3737
client library. The Cloud C++ client library natively supports the
3838
[Bazel](https://bazel.build/) and [CMake](https://cmake.org/) build systems.
39-
We've created a minimal, "Hello world", [quickstart repo][quickstart-link] that
39+
We've created a minimal, "Hello world", [quickstart repo][cbt-quickstart] that
4040
includes detailed instructions on how to compile the library for use in your
4141
application. You can fetch the source from [GitHub][github-link] as normal:
4242

google/cloud/bigtable/doc/bigtable-samples-grpc-credentials.dox

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,17 @@ One may face "Request had insufficient authentication scopes." error while runni
7272

7373
## Use of IAM Credentials
7474

75-
These credentials are not supported yet.
75+
### Check IAM Policy
76+
77+
@snippet table_admin_iam_policy_snippets.cc get iam policy
78+
79+
### Set IAM Policy
80+
81+
@snippet table_admin_iam_policy_snippets.cc set iam policy
82+
83+
### Check IAM Permissions
84+
85+
@snippet table_admin_iam_policy_snippets.cc test iam permissions
7686

7787
[info-google-authentication]: https://cloud.google.com/docs/authentication/getting-started
7888
[info-root-certificates]: https://github.com/googleapis/google-cloud-cpp/tree/main/google/cloud/bigtable/examples#configure-grpc-root-certificates

0 commit comments

Comments
 (0)