diff --git a/bigquery/cloud-client/README.rst b/bigquery/cloud-client/README.rst index 4d108b1e5d..1f5b08cabf 100644 --- a/bigquery/cloud-client/README.rst +++ b/bigquery/cloud-client/README.rst @@ -326,11 +326,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/bigquery/dml/README.rst b/bigquery/dml/README.rst index 1a1e3ec29f..b9ce08f97f 100644 --- a/bigquery/dml/README.rst +++ b/bigquery/dml/README.rst @@ -139,11 +139,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/bigtable/autoscaler/README.rst b/bigtable/autoscaler/README.rst index 7ab8608fdb..6e5ffa1f9d 100644 --- a/bigtable/autoscaler/README.rst +++ b/bigtable/autoscaler/README.rst @@ -9,7 +9,7 @@ This directory contains samples for Google Cloud Bigtable. `Google Cloud Bigtabl This sample demonstrates using `Stackdriver monitoring`_, to scale Cloud Bigtable based on CPU usage. -.. Stackdriver Monitoring: http://cloud.google.com/monitoring/docs +.. _Stackdriver Monitoring: http://cloud.google.com/monitoring/docs .. _Google Cloud Bigtable: https://cloud.google.com/bigtable/docs @@ -88,12 +88,13 @@ To run this sample: usage: autoscaler.py [-h] [--high_cpu_threshold HIGH_CPU_THRESHOLD] [--low_cpu_threshold LOW_CPU_THRESHOLD] [--short_sleep SHORT_SLEEP] [--long_sleep LONG_SLEEP] - instance_id + bigtable_instance bigtable_cluster Scales Bigtable clusters based on CPU usage. positional arguments: - instance_id ID of the Cloud Bigtable instance to connect to. + bigtable_instance ID of the Cloud Bigtable instance to connect to. + bigtable_cluster ID of the Cloud Bigtable cluster to connect to. optional arguments: -h, --help show this help message and exit @@ -120,11 +121,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/bigtable/autoscaler/README.rst.in b/bigtable/autoscaler/README.rst.in index 26129bcdc8..999b06b4d4 100644 --- a/bigtable/autoscaler/README.rst.in +++ b/bigtable/autoscaler/README.rst.in @@ -13,7 +13,7 @@ description: | This sample demonstrates using `Stackdriver monitoring`_, to scale Cloud Bigtable based on CPU usage. - .. Stackdriver Monitoring: http://cloud.google.com/monitoring/docs + .. _Stackdriver Monitoring: http://cloud.google.com/monitoring/docs setup: - auth diff --git a/bigtable/hello/README.rst b/bigtable/hello/README.rst index c4206bc79a..dc2a6b38d8 100644 --- a/bigtable/hello/README.rst +++ b/bigtable/hello/README.rst @@ -108,11 +108,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/bigtable/hello_happybase/README.rst b/bigtable/hello_happybase/README.rst index 6d7c87e6fb..991e5ec550 100644 --- a/bigtable/hello_happybase/README.rst +++ b/bigtable/hello_happybase/README.rst @@ -115,11 +115,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/datastore/cloud-client/README.rst b/datastore/cloud-client/README.rst index 47bc720455..f29ce26ea2 100644 --- a/datastore/cloud-client/README.rst +++ b/datastore/cloud-client/README.rst @@ -125,11 +125,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/dns/api/README.rst b/dns/api/README.rst index 48a72cd59a..2b90d348b7 100644 --- a/dns/api/README.rst +++ b/dns/api/README.rst @@ -91,11 +91,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/error_reporting/README.rst b/error_reporting/README.rst index be94d09c81..967057054a 100644 --- a/error_reporting/README.rst +++ b/error_reporting/README.rst @@ -92,11 +92,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/language/cloud-client/v1/README.rst b/language/cloud-client/v1/README.rst index 4082c6db2e..7e66faa8b8 100644 --- a/language/cloud-client/v1/README.rst +++ b/language/cloud-client/v1/README.rst @@ -128,11 +128,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/language/cloud-client/v1beta2/README.rst b/language/cloud-client/v1beta2/README.rst index 17b5a04bc0..3d260b9df9 100644 --- a/language/cloud-client/v1beta2/README.rst +++ b/language/cloud-client/v1beta2/README.rst @@ -133,11 +133,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/logging/cloud-client/README.rst b/logging/cloud-client/README.rst index 767abc1031..a9ff67afc4 100644 --- a/logging/cloud-client/README.rst +++ b/logging/cloud-client/README.rst @@ -152,11 +152,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/monitoring/api/v3/cloud-client/README.rst b/monitoring/api/v3/cloud-client/README.rst index 5751786ef5..5af611129c 100644 --- a/monitoring/api/v3/cloud-client/README.rst +++ b/monitoring/api/v3/cloud-client/README.rst @@ -128,11 +128,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/pubsub/cloud-client/README.rst b/pubsub/cloud-client/README.rst index b507e8fc2b..0c18e7ff61 100644 --- a/pubsub/cloud-client/README.rst +++ b/pubsub/cloud-client/README.rst @@ -192,11 +192,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/scripts/readme-gen/templates/README.tmpl.rst b/scripts/readme-gen/templates/README.tmpl.rst index 9acd1ba227..79ab5688aa 100644 --- a/scripts/readme-gen/templates/README.tmpl.rst +++ b/scripts/readme-gen/templates/README.tmpl.rst @@ -55,11 +55,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues {% endif %} diff --git a/spanner/cloud-client/README.rst b/spanner/cloud-client/README.rst index 1b39bd2dfb..bf917255bf 100644 --- a/spanner/cloud-client/README.rst +++ b/spanner/cloud-client/README.rst @@ -129,9 +129,16 @@ To run this sample: particular timestamp. add_index Adds a simple index to the example database. query_data_with_index - Inserts sample data into the given database. The - database and table must already exist and can be - created using `create_database`. + Queries sample data from the database using SQL and an + index. The index must exist before running this + sample. You can add the index by running the + `add_index` sample or by running this DDL statement + against your database: CREATE INDEX AlbumsByAlbumTitle + ON Albums(AlbumTitle) This sample also uses the + `MarketingBudget` column. You can add the column by + running the `add_column` sample or by running this DDL + statement against your database: ALTER TABLE Albums + ADD COLUMN MarketingBudget INT64 read_data_with_index Inserts sample data into the given database. The database and table must already exist and can be @@ -157,11 +164,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/speech/cloud-client/README.rst b/speech/cloud-client/README.rst index 7b39ad1289..70fdd92b06 100644 --- a/speech/cloud-client/README.rst +++ b/speech/cloud-client/README.rst @@ -170,11 +170,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/storage/cloud-client/README.rst b/storage/cloud-client/README.rst index 070cf263a0..77722f1607 100644 --- a/storage/cloud-client/README.rst +++ b/storage/cloud-client/README.rst @@ -278,11 +278,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/translate/cloud-client/README.rst b/translate/cloud-client/README.rst index 97480ee6ad..fe80572430 100644 --- a/translate/cloud-client/README.rst +++ b/translate/cloud-client/README.rst @@ -130,11 +130,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/video/cloud-client/analyze/README.rst b/video/cloud-client/analyze/README.rst index 2ecafe2429..cb3d4954dd 100644 --- a/video/cloud-client/analyze/README.rst +++ b/video/cloud-client/analyze/README.rst @@ -115,11 +115,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/video/cloud-client/faces/README.rst b/video/cloud-client/faces/README.rst index fa870f1a61..05751389ca 100644 --- a/video/cloud-client/faces/README.rst +++ b/video/cloud-client/faces/README.rst @@ -109,11 +109,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/video/cloud-client/labels/README.rst b/video/cloud-client/labels/README.rst index 0f93579a6a..431f5325a8 100644 --- a/video/cloud-client/labels/README.rst +++ b/video/cloud-client/labels/README.rst @@ -109,11 +109,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/video/cloud-client/shotchange/README.rst b/video/cloud-client/shotchange/README.rst index cf24f2f024..6b5f9790c8 100644 --- a/video/cloud-client/shotchange/README.rst +++ b/video/cloud-client/shotchange/README.rst @@ -109,11 +109,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/vision/cloud-client/crop_hints/README.rst b/vision/cloud-client/crop_hints/README.rst index 42aaa05fa5..2f21627020 100644 --- a/vision/cloud-client/crop_hints/README.rst +++ b/vision/cloud-client/crop_hints/README.rst @@ -100,11 +100,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/vision/cloud-client/detect/README.rst b/vision/cloud-client/detect/README.rst index 7fd1819068..bb8bf95c20 100644 --- a/vision/cloud-client/detect/README.rst +++ b/vision/cloud-client/detect/README.rst @@ -144,11 +144,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/vision/cloud-client/document_text/README.rst b/vision/cloud-client/document_text/README.rst index d874a6fbc0..9f312d15a0 100644 --- a/vision/cloud-client/document_text/README.rst +++ b/vision/cloud-client/document_text/README.rst @@ -100,11 +100,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/vision/cloud-client/quickstart/README.rst b/vision/cloud-client/quickstart/README.rst index 3e71082999..e6c5c8ff8a 100644 --- a/vision/cloud-client/quickstart/README.rst +++ b/vision/cloud-client/quickstart/README.rst @@ -99,11 +99,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues diff --git a/vision/cloud-client/web/README.rst b/vision/cloud-client/web/README.rst index d1fc6a8ce1..0e2c54178e 100644 --- a/vision/cloud-client/web/README.rst +++ b/vision/cloud-client/web/README.rst @@ -107,11 +107,11 @@ This sample uses the `Google Cloud Client Library for Python`_. You can read the documentation for more details on API usage and use GitHub to `browse the source`_ and `report issues`_. -.. Google Cloud Client Library for Python: +.. _Google Cloud Client Library for Python: https://googlecloudplatform.github.io/google-cloud-python/ -.. browse the source: +.. _browse the source: https://github.com/GoogleCloudPlatform/google-cloud-python -.. report issues: +.. _report issues: https://github.com/GoogleCloudPlatform/google-cloud-python/issues