Skip to content

Commit abada1b

Browse files
committed
add header, use reference links
1 parent 96ab255 commit abada1b

1 file changed

Lines changed: 28 additions & 14 deletions

File tree

google/cloud/bigtable/examples/README.md

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Google Cloud Bigtable Code Samples
2+
13
## Table of Contents
24

35
- [Before you begin](#before-you-begin)
@@ -17,7 +19,7 @@
1719

1820
You will need a Google Cloud Platform (GCP) Project with billing and the
1921
Bigtable Admin API enabled. The
20-
[Cloud Bigtable quickstart](https://cloud.google.com/bigtable/docs/quickstart-cbt)
22+
[Cloud Bigtable quickstart][cbt-doc-quickstart]
2123
covers the necessary steps in detail. Make a note of the GCP Project ID,
2224
Instance ID, and Table ID as you will need them below.
2325

@@ -51,9 +53,9 @@ set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
5153

5254
## Hello World
5355

54-
View the [Hello World][hello_world_code] example to see sample usage of the
56+
View the [Hello World][hello-world-code] example to see sample usage of the
5557
Bigtable client library. More details on this sample code can be found
56-
[here](https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-world.html).
58+
[here][doxygen-hello-world].
5759

5860
### Running Hello World
5961

@@ -65,16 +67,16 @@ $ ./bigtable_hello_world hello-world <project_id> <instance_id> <table_id>
6567

6668
### Hello World - `InstanceAdmin`
6769

68-
View the [Hello Instance Admin][instance_admin_code] example to see sample usage of instance
70+
View the [Hello Instance Admin][instance-admin-code] example to see sample usage of instance
6971
administration of the Bigtable client library. More details on this sample code can be found
70-
[here](https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-instance-admin.html).
72+
[here][doxygen-instance-admin].
7173

7274
### Running `InstanceAdmin` Samples
7375

7476
| Target | Description |
7577
| ------------------------------------ | ----------------------------------- |
7678
| `./bigtable_hello_instance_admin` | Demonstration of basic operations |
77-
| `./bigtable_hello_app_profile` | Demonstration of basic operations using [App Profile](https://cloud.google.com/bigtable/docs/app-profiles) |
79+
| `./bigtable_hello_app_profile` | Demonstration of basic operations using [App Profile][cbt-doc-app-profiles] |
7880
| `./bigtable_instance_admin_snippets` | Collection of individual operations |
7981

8082
Run the above targets with the `--help` flag to display the available commands and their usage.
@@ -88,16 +90,16 @@ $ ./bigtable_instance_admin_snippets create-instance <project-id> <instance-id>
8890

8991
### Hello World - `TableAdmin`
9092

91-
View the [Hello Table Admin][table_admin_code] example to see sample usage of table
92-
administration of the Bigtable client library. More details on this sample code can be found [here](https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-table-admin.html).
93+
View the [Hello Table Admin][table-admin-code] example to see sample usage of table
94+
administration of the Bigtable client library. More details on this sample code can be found [here][doxygen-table-admin].
9395

9496
### Running `TableAdmin` Samples
9597

9698
| Target | Description |
9799
| ---------------------------------------- | ----------------------------------- |
98100
| `./bigtable_hello_table_admin` | Demonstration of basic operations |
99101
| `./table_admin_snippets` | Collection of individual operations |
100-
| `./bigtable_table_admin_backup_snippets` | Collection of [Backup](https://cloud.google.com/bigtable/docs/backups) operations |
102+
| `./bigtable_table_admin_backup_snippets` | Collection of [Backup][cbt-doc-backups] operations |
101103

102104
Run the above targets with the `--help` flag to display the available commands and their usage.
103105
Here is an example of one such command which will create a table.
@@ -112,7 +114,7 @@ $ ./table_admin_snippets create-table <project-id> <instance-id> <table-id>
112114
| `./read_snippets` | Collection of synchronous read operations |
113115
| `./data_snippets` | Collection of other synchronous table operations |
114116
| `./data_async_snippets` | Collection of asynchronous table operations |
115-
| `./data_filter_snippets` | Collection of operations using [Filters](https://cloud.google.com/bigtable/docs/filters)|
117+
| `./data_filter_snippets` | Collection of operations using [Filters][cbt-doc-filters] |
116118

117119
The above samples demonstrate individual data operations. Running the targets with
118120
the `--help` flag will display the available commands and their usage. Here is an example of one
@@ -124,7 +126,9 @@ $ ./read_snippets read-row <project-id> <instance-id> <table-id> <row-key>
124126

125127
## Credentials
126128

127-
The following samples demonstrate use of [Authentication](https://cloud.google.com/bigtable/docs/authentication) and [Access Control]((https://cloud.google.com/bigtable/docs/access-control)) for Bigtable. More details on the samples can be found [here](https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-samples-grpc-credentials.html).
129+
The following samples demonstrate use of [Authentication][cbt-doc-authentication]
130+
and [Access Control][cbt-doc-access-control] for Bigtable. More details on the samples
131+
can be found [here][doxygen-grpc].
128132

129133
| Target | Description |
130134
| ----------------------------------- | -------------------------------------- |
@@ -137,7 +141,17 @@ The following samples demonstrate use of [Authentication](https://cloud.google.c
137141
$ ./table_admin_iam_policy_snippets get-iam-policy <project-id> <instance-id> <table-id>
138142
```
139143

140-
[hello_world_code]: bigtable_hello_world.cc
141-
[instance_admin_code]: bigtable_hello_instance_admin.cc
142-
[table_admin_code]: bigtable_hello_table_admin.cc
144+
[hello-world-code]: bigtable_hello_world.cc
145+
[instance-admin-code]: bigtable_hello_instance_admin.cc
146+
[table-admin-code]: bigtable_hello_table_admin.cc
143147
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571
148+
[cbt-doc-quickstart]: https://cloud.google.com/bigtable/docs/quickstart-cbt
149+
[cbt-doc-app-profiles]: https://cloud.google.com/bigtable/docs/app-profiles
150+
[cbt-doc-backups]: https://cloud.google.com/bigtable/docs/backups
151+
[cbt-doc-filters]: https://cloud.google.com/bigtable/docs/filters
152+
[cbt-doc-authentication]: https://cloud.google.com/bigtable/docs/authentication
153+
[cbt-doc-access-control]: https://cloud.google.com/bigtable/docs/access-control
154+
[doxygen-hello-world]: https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-world.html
155+
[doxygen-instance-admin]: https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-instance-admin.html
156+
[doxygen-table-admin]: https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-hello-table-admin.html
157+
[doxygen-grpc]: https://googleapis.dev/cpp/google-cloud-bigtable/latest/bigtable-samples-grpc-credentials.html

0 commit comments

Comments
 (0)