Skip to content

Commit e1c3db7

Browse files
michaelawyuJon Wayne Parrott
michaelawyu
authored and
Jon Wayne Parrott
committed
Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleCloudPlatform/python-docs-samples#1254)
1 parent 6fa24e9 commit e1c3db7

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

samples/hello_happybase/README.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Google Cloud Bigtable Python Samples
44
===============================================================================
55

6+
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
7+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/hello_happybase/README.rst
8+
9+
610
This directory contains samples for Google Cloud Bigtable. `Google Cloud Bigtable`_ is Google's NoSQL Big Data database service. It's the same database that powers many core Google services, including Search, Analytics, Maps, and Gmail.
711

812

@@ -61,6 +65,10 @@ Samples
6165
Basic example
6266
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6367

68+
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
69+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/hello_happybase/main.py;bigtable/hello_happybase/README.rst
70+
71+
6472

6573

6674
To run this sample:
@@ -70,25 +78,26 @@ To run this sample:
7078
$ python main.py
7179
7280
usage: main.py [-h] [--table TABLE] project_id instance_id
73-
81+
7482
Demonstrates how to connect to Cloud Bigtable and run some basic operations.
7583
Prerequisites: - Create a Cloud Bigtable cluster.
7684
https://cloud.google.com/bigtable/docs/creating-cluster - Set your Google
7785
Application Default Credentials.
7886
https://developers.google.com/identity/protocols/application-default-
7987
credentials
80-
88+
8189
positional arguments:
8290
project_id Your Cloud Platform project ID.
8391
instance_id ID of the Cloud Bigtable instance to connect to.
84-
92+
8593
optional arguments:
8694
-h, --help show this help message and exit
8795
--table TABLE Table to create and destroy. (default: Hello-Bigtable)
8896
8997
9098
9199
100+
92101
The client library
93102
-------------------------------------------------------------------------------
94103

samples/hello_happybase/README.rst.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ samples:
2828
show_help: true
2929

3030
cloud_client_library: true
31+
32+
folder: bigtable/hello_happybase

0 commit comments

Comments
 (0)