From c99447414c00671ea021ff4cd887b4a621b8bfba Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 9 Jul 2019 16:53:56 -0700 Subject: [PATCH 1/3] Add futures to documentation. --- api_core/docs/futures.rst | 10 ++++++++++ api_core/docs/index.rst | 1 + api_core/google/api_core/future/polling.py | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 api_core/docs/futures.rst diff --git a/api_core/docs/futures.rst b/api_core/docs/futures.rst new file mode 100644 index 000000000000..7a43da9de291 --- /dev/null +++ b/api_core/docs/futures.rst @@ -0,0 +1,10 @@ +Futures +======================= + +.. automodule:: google.api_core.future + :members: + :show-inheritance: + +.. automodule:: google.api_core.future.polling + :members: + :show-inheritance: \ No newline at end of file diff --git a/api_core/docs/index.rst b/api_core/docs/index.rst index 112bb30f2054..9dec6e8e1de4 100644 --- a/api_core/docs/index.rst +++ b/api_core/docs/index.rst @@ -10,6 +10,7 @@ Core auth client_info exceptions + futures helpers iam operation diff --git a/api_core/google/api_core/future/polling.py b/api_core/google/api_core/future/polling.py index 5c16c49f67f6..843fba0d8586 100644 --- a/api_core/google/api_core/future/polling.py +++ b/api_core/google/api_core/future/polling.py @@ -45,7 +45,7 @@ class PollingFuture(base.Future): behavior will repeatedly call ``done`` until it returns True. .. note: Privacy here is intended to prevent the final class from - overexposing, not to prevent subclasses from accessing methods. + overexposing, not to prevent subclasses from accessing methods. Args: retry (google.api_core.retry.Retry): The retry configuration used From 25aa979cdce9f4453e4dc445fd66909ef7ebc2bb Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 17 Jul 2019 15:32:00 -0700 Subject: [PATCH 2/3] Link to docs at googleapis.dev --- README.rst | 8 -------- api_core/README.rst | 2 +- asset/README.rst | 4 ++-- automl/README.rst | 4 ++-- bigquery/README.rst | 4 ++-- bigquery_datatransfer/README.rst | 4 ++-- bigquery_storage/README.rst | 4 ++-- bigtable/README.rst | 4 ++-- container/README.rst | 6 +++--- containeranalysis/README.rst | 4 ++-- containeranalysis/docs/README.rst | 4 ++-- core/README.rst | 2 +- datacatalog/README.rst | 4 ++-- datalabeling/README.rst | 4 ++-- dataproc/README.rst | 4 ++-- datastore/README.rst | 4 ++-- dlp/README.rst | 4 ++-- dns/README.rst | 4 ++-- error_reporting/README.rst | 4 ++-- firestore/README.rst | 4 ++-- grafeas/README.rst | 2 +- iam/README.rst | 4 ++-- iot/README.rst | 4 ++-- irm/README.rst | 4 ++-- kms/README.rst | 4 ++-- language/README.rst | 6 +++--- legacy/google-cloud/setup-README.rst | 12 ++---------- logging/README.rst | 4 ++-- monitoring/README.rst | 2 +- oslogin/README.rst | 4 ++-- phishingprotection/README.rst | 4 ++-- phishingprotection/docs/index.rst | 4 ++-- pubsub/README.rst | 8 ++++---- redis/README.rst | 4 ++-- resource_manager/README.rst | 2 +- runtimeconfig/README.rst | 4 ++-- scheduler/README.rst | 4 ++-- securitycenter/README.rst | 4 ++-- spanner/README.rst | 4 ++-- spanner/docs/client-usage.rst | 2 +- speech/README.rst | 4 ++-- storage/README.rst | 4 ++-- synth.metadata | 2 +- synth.py | 19 +++++++++++++++++++ talent/README.rst | 4 ++-- tasks/README.rst | 4 ++-- texttospeech/README.rst | 4 ++-- trace/README.rst | 4 ++-- translate/README.rst | 4 ++-- videointelligence/README.rst | 4 ++-- vision/README.rst | 4 ++-- webrisk/README.rst | 4 ++-- websecurityscanner/README.rst | 4 ++-- 53 files changed, 118 insertions(+), 115 deletions(-) create mode 100644 synth.py diff --git a/README.rst b/README.rst index b89be1d4c887..f0820498cc21 100644 --- a/README.rst +++ b/README.rst @@ -5,14 +5,6 @@ Python idiomatic clients for `Google Cloud Platform`_ services. .. _Google Cloud Platform: https://cloud.google.com/ -- `Homepage`_ -- `API Documentation`_ -- `Read The Docs Documentation`_ - -.. _Homepage: https://googleapis.github.io/google-cloud-python/ -.. _API Documentation: https://googleapis.github.io/google-cloud-python/latest/ -.. _Read The Docs Documentation: https://google-cloud-python.readthedocs.io/en/latest/ - **Heads up**! These libraries are supported on App Engine standard's `Python 3 runtime`_ but are *not* supported on App Engine's `Python 2 runtime`_. .. _Python 3 runtime: https://cloud.google.com/appengine/docs/standard/python3 diff --git a/api_core/README.rst b/api_core/README.rst index e44f55aedae0..1740298d2b9e 100644 --- a/api_core/README.rst +++ b/api_core/README.rst @@ -11,7 +11,7 @@ common helpers used by all Google API clients. For more information, see the :target: https://pypi.org/project/google-api_core/ .. |versions| image:: https://img.shields.io/pypi/pyversions/google-api_core.svg :target: https://pypi.org/project/google-api_core/ -.. _documentation: https://googleapis.github.io/google-cloud-python/latest/core/ +.. _documentation: https://googleapis.dev/python/google-api-core/latest .. |compat_check_pypi| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=google-api-core :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=google-api-core .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dapi_core diff --git a/asset/README.rst b/asset/README.rst index 4fb7654ee23d..be8588b4ddec 100644 --- a/asset/README.rst +++ b/asset/README.rst @@ -19,7 +19,7 @@ Python Client for Cloud Asset API .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dasset :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dasset .. _Cloud Asset API: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/reference/rest/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/asset/index.html +.. _Client Library Documentation: https://googleapis.dev/python/asset/latest .. _Product Documentation: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Asset API.: https://console.cloud.google.com/apis/library/cloudasset.googleapis.com -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/automl/README.rst b/automl/README.rst index 08ba90ae85b0..d1387cbe7377 100644 --- a/automl/README.rst +++ b/automl/README.rst @@ -22,7 +22,7 @@ transfer learning, and Neural Architecture Search technology. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dautoml :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dautoml .. _Cloud AutoML API: https://cloud.google.com/automl -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/automl/index.html +.. _Client Library Documentation: https://googleapis.dev/python/automl/latest .. _Product Documentation: https://cloud.google.com/automl Quick Start @@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud AutoML API.: https://cloud.google.com/automl -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/bigquery/README.rst b/bigquery/README.rst index a3f0687eef9f..67da531a6597 100644 --- a/bigquery/README.rst +++ b/bigquery/README.rst @@ -22,7 +22,7 @@ processing power of Google's infrastructure. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigquery :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigquery .. _BigQuery: https://cloud.google.com/bigquery/what-is-bigquery -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/bigquery/index.html +.. _Client Library Documentation: https://googleapis.dev/python/bigquery/latest .. _Product Documentation: https://cloud.google.com/bigquery/docs/reference/v2/ Quick Start @@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud BigQuery API.: https://cloud.google.com/bigquery -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/bigquery_datatransfer/README.rst b/bigquery_datatransfer/README.rst index 7c06c123f8c8..8f8e839e7b1a 100644 --- a/bigquery_datatransfer/README.rst +++ b/bigquery_datatransfer/README.rst @@ -20,7 +20,7 @@ SaaS applications to Google BigQuery on a scheduled, managed basis. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigquery_datatransfer :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigquery_datatransfer .. _BigQuery Data Transfer API: https://cloud.google.com/bigquery/transfer -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/bigquery_datatransfer/index.html +.. _Client Library Documentation: https://googleapis.dev/python/bigquery-datatransfer/latest .. _Product Documentation: https://cloud.google.com/bigquery/docs/transfer-service-overview Quick Start @@ -34,7 +34,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable the BigQuery Data Transfer API.: https://cloud.google.com/bigquery/docs/transfer-service-overview -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/bigquery_storage/README.rst b/bigquery_storage/README.rst index 17835f8ba67f..f5ed97c6a302 100644 --- a/bigquery_storage/README.rst +++ b/bigquery_storage/README.rst @@ -14,7 +14,7 @@ Python Client for BigQuery Storage API (`Beta`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigquery_storage .. _Beta: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _BigQuery Storage API: https://cloud.google.com/bigquery/docs/reference/storage/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/bigquery_storage/index.html +.. _Client Library Documentation: https://googleapis.dev/python/bigquery-storage/latest .. _Product Documentation: https://cloud.google.com/bigquery/docs/reference/storage/ Quick Start @@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the BigQuery Storage API.: https://console.cloud.google.com/apis/library/bigquerystorage.googleapis.com -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/bigtable/README.rst b/bigtable/README.rst index f2255b780c84..e0d1dc5654e7 100644 --- a/bigtable/README.rst +++ b/bigtable/README.rst @@ -21,7 +21,7 @@ Analytics, Maps, and Gmail. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigtable :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dbigtable .. _Google Cloud Bigtable: https://cloud.google.com/bigtable -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/bigtable/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/bigtable/latest .. _Product Documentation: https://cloud.google.com/bigtable/docs Quick Start @@ -37,7 +37,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Bigtable API.: https://cloud.google.com/bigtable -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/container/README.rst b/container/README.rst index ded41ddef9c6..18e56a5eef72 100644 --- a/container/README.rst +++ b/container/README.rst @@ -21,7 +21,7 @@ Kubernetes technology. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dcontainer :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dcontainer .. _Google Kubernetes Engine API: https://cloud.google.com/kubernetes-engine -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/container/index.html +.. _Client Library Documentation: https://googleapis.dev/python/container/latest .. _Product Documentation: https://cloud.google.com/kubernetes-engine Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable the Google Container Engine API.: https://cloud.google.com/container -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ @@ -102,4 +102,4 @@ Next Steps - Read the `Product documentation`_ to learn more about the product and see How-to Guides. -.. _Client API Documentation: https://googleapis.github.io/google-cloud-python/latest/container/gapic/v1/api.html +.. _Client API Documentation: https://googleapis.dev/python/container/latest diff --git a/containeranalysis/README.rst b/containeranalysis/README.rst index 1c48e9a5d76f..0910115bec99 100644 --- a/containeranalysis/README.rst +++ b/containeranalysis/README.rst @@ -9,7 +9,7 @@ and retrieval of critical metadata about all of your software artifacts. .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Container Analysis API: https://cloud.google.com/container-registry/docs/container-analysis -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/containeranalysis/index.html +.. _Client Library Documentation: https://googleapis.dev/python/containeranalysis/latest/index.html .. _Product Documentation: https://cloud.google.com/container-registry/docs/container-analysis Quick Start @@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Container Analysis API.: https://cloud.google.com/container-registry/docs/container-analysis -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/containeranalysis/docs/README.rst b/containeranalysis/docs/README.rst index 645ee4364aa5..e2d7a200e4e8 100644 --- a/containeranalysis/docs/README.rst +++ b/containeranalysis/docs/README.rst @@ -9,7 +9,7 @@ and retrieval of critical metadata about all of your software artifacts. .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Container Analysis API: https://cloud.google.com/container-registry/docs/container-analysis -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/containeranalysis/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/containeranalysis/latest .. _Product Documentation: https://cloud.google.com/container-registry/docs/container-analysis Quick Start @@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Container Analysis API.: https://cloud.google.com/container-registry/docs/container-analysis -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/containeranalysis/latest Installation ~~~~~~~~~~~~ diff --git a/core/README.rst b/core/README.rst index ed3d8314de8b..33c5076ca9b0 100644 --- a/core/README.rst +++ b/core/README.rst @@ -18,7 +18,7 @@ common helpers (e.g. base ``Client`` classes) used by all of the :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=google-cloud-core .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dcore :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dcore -.. _Documentation: https://googleapis.github.io/google-cloud-python/latest/core/index.html +.. _Documentation: https://googleapis.dev/python/google-cloud-core/latest Quick Start ----------- diff --git a/datacatalog/README.rst b/datacatalog/README.rst index 512a3befb73b..40097581f3ec 100644 --- a/datacatalog/README.rst +++ b/datacatalog/README.rst @@ -16,7 +16,7 @@ include: Entries (Data Catalog representation of a cloud resource). :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddatacatalog .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Google Cloud Data Catalog API: https://cloud.google.com/data-catalog -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/datacatalog/index.html +.. _Client Library Documentation: https://cloud.google.com/nodejs/docs/reference/datacatalog/latest/ .. _Product Documentation: https://cloud.google.com/data-catalog Quick Start @@ -32,7 +32,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Data Catalog API.: https://cloud.google.com/data-catalog -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/datalabeling/README.rst b/datalabeling/README.rst index e479e234b28f..0d13b26a3e7e 100644 --- a/datalabeling/README.rst +++ b/datalabeling/README.rst @@ -14,7 +14,7 @@ Python Client for Data Labeling API (`Beta`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddatalabeling .. _Beta: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst .. _Data Labeling API: https://cloud.google.com/data-labeling -.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/datalabeling/index.html +.. _Client Library Documentation: https://googleapis.dev/python/datalabeling/latest .. _Product Documentation: https://cloud.google.com/data-labeling/docs/ Quick Start @@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Data Labeling API.: https://cloud.google.com/data-labeling -.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/dataproc/README.rst b/dataproc/README.rst index 429916c8617f..5f84cec2f29a 100644 --- a/dataproc/README.rst +++ b/dataproc/README.rst @@ -19,7 +19,7 @@ Python Client for Google Cloud Dataproc API .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddataproc :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddataproc .. _Google Cloud Dataproc API: https://cloud.google.com/dataproc -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/dataproc/index.html +.. _Client Library Documentation: https://googleapis.dev/python/dataproc/latest .. _Product Documentation: https://cloud.google.com/dataproc Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Dataproc API.: https://cloud.google.com/dataproc -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/datastore/README.rst b/datastore/README.rst index c5d9748dc508..c242ed96f8aa 100644 --- a/datastore/README.rst +++ b/datastore/README.rst @@ -24,7 +24,7 @@ all other queries. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddatastore .. _Google Cloud Datastore API: https://cloud.google.com/datastore/docs .. _Product Documentation: https://cloud.google.com/datastore/docs -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/datastore/index.html +.. _Client Library Documentation: https://googleapis.dev/python/datastore/latest Quick Start ----------- @@ -39,7 +39,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Datastore API.: https://cloud.google.com/datastore -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/dlp/README.rst b/dlp/README.rst index 1f82675afcb3..e275a7512d53 100644 --- a/dlp/README.rst +++ b/dlp/README.rst @@ -21,7 +21,7 @@ storage repositories. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddlp :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddlp .. _Cloud Data Loss Prevention (DLP) API: https://cloud.google.com/dlp -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/dlp/index.html +.. _Client Library Documentation: https://googleapis.dev/python/dlp/latest .. _Product Documentation: https://cloud.google.com/dlp Quick Start @@ -37,7 +37,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Data Loss Prevention (DLP) API.: https://cloud.google.com/dlp -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/dns/README.rst b/dns/README.rst index 9861c020457f..f1aa1d230575 100644 --- a/dns/README.rst +++ b/dns/README.rst @@ -20,7 +20,7 @@ manage DNS for your applications. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Ddns .. _Google Cloud DNS: https://cloud.google.com/dns/ :target: https://pypi.org/project/google-cloud-dns/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/dns/index.html +.. _Client Library Documentation: https://googleapis.dev/python/dns/latest .. _Product Documentation: https://cloud.google.com/dns/docs/ Quick Start @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud DNS API.: https://cloud.google.com/dns -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/error_reporting/README.rst b/error_reporting/README.rst index 393ae746c2fb..0221d00e0f46 100644 --- a/error_reporting/README.rst +++ b/error_reporting/README.rst @@ -14,7 +14,7 @@ to receive email and mobile alerts on new errors. - `Product Documentation`_ .. _Error Reporting: https://cloud.google.com/error-reporting/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/error-reporting/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/clouderroreporting/latest .. _Product Documentation: https://cloud.google.com/error-reporting/reference/ .. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-error-reporting.svg :target: https://pypi.org/project/google-cloud-error-reporting/ @@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Error Reporting API.: https://cloud.google.com/error-reporting -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/firestore/README.rst b/firestore/README.rst index 3c01cea29eed..e77f1ae01af7 100644 --- a/firestore/README.rst +++ b/firestore/README.rst @@ -26,7 +26,7 @@ including Cloud Functions. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dfirestore .. _Google Cloud Firestore: https://cloud.google.com/firestore/ .. _Product Documentation: https://cloud.google.com/firestore/docs/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/firestore/index.html +.. _Client Library Documentation: https://googleapis.dev/python/firestore/latest Quick Start ----------- @@ -41,7 +41,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Firestore API.: https://cloud.google.com/firestore -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/grafeas/README.rst b/grafeas/README.rst index de2bb7d21f57..b8997cffaf93 100644 --- a/grafeas/README.rst +++ b/grafeas/README.rst @@ -9,7 +9,7 @@ retrieval of critical metadata about all of your software artifacts. .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Grafeas API: https://grafeas.io/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/grafeas/index.html +.. _Client Library Documentation: https://googleapis.dev/python/grafeas/latest .. _Product Documentation: https://grafeas.io/ Installation diff --git a/iam/README.rst b/iam/README.rst index 90072149ee30..2f6fca36767f 100644 --- a/iam/README.rst +++ b/iam/README.rst @@ -14,7 +14,7 @@ Python Client for IAM API (`Alpha`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Diam .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _IAM API: https://cloud.google.com/iam -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/iam/index.html +.. _Client Library Documentation: https://googleapis.dev/python/iam/latest .. _Product Documentation: https://cloud.google.com/iam Quick Start @@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the IAM API.: https://console.cloud.google.com/flows/enableapi?apiid=iam -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/iot/README.rst b/iot/README.rst index 507beb94499a..9e517cf1d599 100644 --- a/iot/README.rst +++ b/iot/README.rst @@ -20,7 +20,7 @@ connect to the Google Cloud Platform. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Diot :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Diot .. _Cloud IoT API: https://cloud.google.com/iot -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/iot/index.html +.. _Client Library Documentation: https://googleapis.dev/python/iot/latest .. _Product Documentation: https://cloud.google.com/iot Quick Start @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud IoT API.: https://cloud.google.com/iot -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/irm/README.rst b/irm/README.rst index b70f79f8d376..efff00453fa9 100644 --- a/irm/README.rst +++ b/irm/README.rst @@ -14,7 +14,7 @@ Python Client for Stackdriver Incident Response & Management API (`Alpha`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dirm .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Stackdriver Incident Response & Management API: https://cloud.google.com/incident-response/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/irm +.. _Client Library Documentation: https://googleapis.dev/python/irm/latest .. _Product Documentation: https://cloud.google.com/incident-response/docs Quick Start @@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Stackdriver Incident Response & Management API.: https://cloud.google.com/irm -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/kms/README.rst b/kms/README.rst index 5af5a8310c3a..81b3bb044d81 100644 --- a/kms/README.rst +++ b/kms/README.rst @@ -21,7 +21,7 @@ cloud resources and applications. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms .. _Cloud Key Management Service (KMS) API: https://cloud.google.com/kms -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/kms/index.html +.. _Client Library Documentation: https://googleapis.dev/python/kms/latest .. _Product Documentation: https://cloud.google.com/kms Quick Start @@ -37,7 +37,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Key Management Service (KMS) API.: https://cloud.google.com/kms -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/language/README.rst b/language/README.rst index a68b57d1f39f..62f10e21aa4f 100644 --- a/language/README.rst +++ b/language/README.rst @@ -28,7 +28,7 @@ with your document storage on Google Cloud Storage. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dlanguage .. _Google Cloud Natural Language: https://cloud.google.com/natural-language/ .. _Product Documentation: https://cloud.google.com/language/docs -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/language/index.html +.. _Client Library Documentation: https://googleapis.dev/python/language/latest .. note:: @@ -48,7 +48,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Language API.: https://cloud.google.com/natural-language -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ @@ -103,4 +103,4 @@ Next Steps - Read the `Product documentation`_ to learn more about the product and see How-to Guides. -.. _Usage documentation: https://googleapis.github.io/google-cloud-python/latest/language/usage.html +.. _Usage documentation: https://googleapis.dev/python/language/latest diff --git a/legacy/google-cloud/setup-README.rst b/legacy/google-cloud/setup-README.rst index 7a611db8c011..8cf3fb3d72c9 100644 --- a/legacy/google-cloud/setup-README.rst +++ b/legacy/google-cloud/setup-README.rst @@ -7,26 +7,18 @@ Google Cloud Python Client this package will no longer install any other packages. Please install the `product-specific google-cloud-* packages`__ needed for your application. -.. __: https://github.com/GoogleCloudPlatform/google-cloud-python#google-cloud-python-client +.. __: https://github.com/googleapis/google-cloud-python .. _Google Cloud Platform: https://cloud.google.com/ |pypi| |circleci| |appveyor| |coverage| |versions| -- `Homepage`_ -- `API Documentation`_ -- `Read The Docs Documentation`_ - -.. _Homepage: https://googleapis.github.io/google-cloud-python/ -.. _API Documentation: https://googleapis.github.io/google-cloud-python/latest/ -.. _Read The Docs Documentation: https://google-cloud-python.readthedocs.io/en/latest/ - License ------- Apache 2.0 - See `the LICENSE`_ for more information. -.. _the LICENSE: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/LICENSE +.. _the LICENSE: https://github.com/googleapis/google-cloud-python/blob/master/LICENSE .. |circleci| image:: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python.svg?style=shield :target: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python diff --git a/logging/README.rst b/logging/README.rst index a06077102e76..dd60385f136f 100644 --- a/logging/README.rst +++ b/logging/README.rst @@ -18,7 +18,7 @@ Logging configuration. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dlogging :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dlogging .. _Stackdriver Logging API: https://cloud.google.com/logging -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/logging/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/logging/latest .. _Product Documentation: https://cloud.google.com/logging/docs Quick Start @@ -34,7 +34,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Stackdriver Logging API.: https://cloud.google.com/logging -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/monitoring/README.rst b/monitoring/README.rst index abcdf2b1522a..974d7aa761a9 100644 --- a/monitoring/README.rst +++ b/monitoring/README.rst @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Stackdriver Monitoring API.: https://cloud.google.com/monitoring/api/enable-api -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/oslogin/README.rst b/oslogin/README.rst index 09649af6d60f..44bd236e6184 100644 --- a/oslogin/README.rst +++ b/oslogin/README.rst @@ -18,7 +18,7 @@ Python Client for Google Cloud OS Login API (unreleased) .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-oslogin.svg :target: https://pypi.org/project/google-cloud-oslogin/ .. _Google Cloud OS Login API: https://cloud.google.com/os-login -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/oslogin/index.html +.. _Client Library Documentation: https://googleapis.dev/python/oslogin/latest .. _Product Documentation: https://cloud.google.com/os-login Quick Start @@ -34,7 +34,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud OS Login API.: https://cloud.google.com/os-login -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/phishingprotection/README.rst b/phishingprotection/README.rst index 40bf5859e11e..f52f6c25b1c9 100644 --- a/phishingprotection/README.rst +++ b/phishingprotection/README.rst @@ -14,7 +14,7 @@ Python Client for Phishing Protection API (`Alpha`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dphishingprotection .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Phishing Protection API: https://cloud.google.com/phishing-protection -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/phishingprotection/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/phishingprotection/latest/ .. _Product Documentation: https://cloud.google.com/phishing-protection Quick Start @@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Phishing Protection API.: https://cloud.google.com/phishing-protection -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/phishingprotection/docs/index.rst b/phishingprotection/docs/index.rst index dac48c69cb6e..b751edabdfba 100644 --- a/phishingprotection/docs/index.rst +++ b/phishingprotection/docs/index.rst @@ -8,7 +8,7 @@ Python Client for Phishing Protection API (`Alpha`_) .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Phishing Protection API: https://cloud.google.com/phishingprotection -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/phishingprotection/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/phishingprotection/latest .. _Product Documentation: https://cloud.google.com/phishingprotection Quick Start @@ -24,7 +24,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Phishing Protection API.: https://cloud.google.com/phishingprotection -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/phishingprotection/latest Installation ~~~~~~~~~~~~ diff --git a/pubsub/README.rst b/pubsub/README.rst index 3c0eb17b8644..f31894deac5b 100644 --- a/pubsub/README.rst +++ b/pubsub/README.rst @@ -31,7 +31,7 @@ independently written applications. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dpubsub .. _Google Cloud Pub / Sub: https://cloud.google.com/pubsub/ .. _Product Documentation: https://cloud.google.com/pubsub/docs -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/pubsub/ +.. _Client Library Documentation: https://googleapis.dev/python/pubsub/latest Quick Start ----------- @@ -46,7 +46,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Pub / Sub API.: https://cloud.google.com/pubsub -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ @@ -117,7 +117,7 @@ messages to it To learn more, consult the `publishing documentation`_. -.. _publishing documentation: https://googleapis.github.io/google-cloud-python/latest/pubsub/publisher/index.html +.. _publishing documentation: https://googleapis.dev/python/pubsub/latest Subscribing @@ -162,7 +162,7 @@ block the current thread until a given condition obtains: It is also possible to pull messages in a synchronous (blocking) fashion. To learn more about subscribing, consult the `subscriber documentation`_. -.. _subscriber documentation: https://googleapis.github.io/google-cloud-python/latest/pubsub/subscriber/index.html +.. _subscriber documentation: https://googleapis.dev/python/pubsub/latest Authentication diff --git a/redis/README.rst b/redis/README.rst index f9f817573c79..72a1d7f4629e 100644 --- a/redis/README.rst +++ b/redis/README.rst @@ -21,7 +21,7 @@ Cloud Platform. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dredis :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dredis .. _Google Cloud Memorystore for Redis API: https://cloud.google.com/memorystore/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/redis/index.html +.. _Client Library Documentation: https://googleapis.dev/python/redis/latest .. _Product Documentation: https://cloud.google.com/memorystore/ Quick Start @@ -37,7 +37,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Memorystore for Redis API.: https://console.cloud.google.com/apis/library/redis.googleapis.com -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/resource_manager/README.rst b/resource_manager/README.rst index 71758aa20e02..7a9c8131fc62 100644 --- a/resource_manager/README.rst +++ b/resource_manager/README.rst @@ -28,7 +28,7 @@ With this API, you can do the following: .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dresource_manager :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dresource_manager .. _Google Cloud Resource Manager: https://cloud.google.com/resource-manager/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/resource-manager/api.html +.. _Client Library Documentation: https://googleapis.dev/python/cloudresourcemanager/latest .. _Product Documentation: https://cloud.google.com/resource-manager/docs/ .. note:: diff --git a/runtimeconfig/README.rst b/runtimeconfig/README.rst index 55647cd1819e..0faa4a901c1e 100644 --- a/runtimeconfig/README.rst +++ b/runtimeconfig/README.rst @@ -22,7 +22,7 @@ return based on certain conditions. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Druntimeconfig :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Druntimeconfig .. _Google Cloud RuntimeConfig: https://cloud.google.com/deployment-manager/runtime-configurator/ -.. _Client Library Documentation: http://googleapis.github.io/google-cloud-python/runtimeconfig/index.html +.. _Client Library Documentation: https://googleapis.dev/python/runtimeconfig/latest .. _Product Documentation: https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/ **This client library is currently in alpha and may be subject to change.** @@ -40,7 +40,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud RuntimeConfig API.: https://cloud.google.com/runtimeconfig -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/scheduler/README.rst b/scheduler/README.rst index 722c837eb88d..ef98f039d55a 100644 --- a/scheduler/README.rst +++ b/scheduler/README.rst @@ -19,7 +19,7 @@ Python Client for Cloud Scheduler API .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dscheduler :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dscheduler .. _Cloud Scheduler API: https://cloud.google.com/scheduler -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/scheduler/index.html +.. _Client Library Documentation: https://googleapis.dev/python/scheduler/latest .. _Product Documentation: https://cloud.google.com/scheduler Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Scheduler API.: https://cloud.google.com/scheduler -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/securitycenter/README.rst b/securitycenter/README.rst index 69e76169c841..8b80e0801d66 100644 --- a/securitycenter/README.rst +++ b/securitycenter/README.rst @@ -19,7 +19,7 @@ Python Client for Cloud Security Command Center API (`Alpha`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dsecuritycenter .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Cloud Security Command Center API: https://cloud.google.com/security-command-center -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/securitycenter/index.html +.. _Client Library Documentation: https://googleapis.dev/python/securitycenter/latest .. _Product Documentation: https://cloud.google.com/security-command-center @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Security Command Center API.: https://cloud.google.com/security-command-center -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/spanner/README.rst b/spanner/README.rst index 98086cfa1d6f..4725ed0f93e8 100644 --- a/spanner/README.rst +++ b/spanner/README.rst @@ -26,7 +26,7 @@ workloads. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dspanner :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dspanner .. _Cloud Spanner: https://cloud.google.com/spanner/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/spanner/index.html +.. _Client Library Documentation: https://googleapis.dev/python/spanner/latest .. _Product Documentation: https://cloud.google.com/spanner/docs Quick Start @@ -42,7 +42,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Spanner API.: https://cloud.google.com/spanner -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/spanner/docs/client-usage.rst b/spanner/docs/client-usage.rst index befd38e9c37c..f0340d3111b5 100644 --- a/spanner/docs/client-usage.rst +++ b/spanner/docs/client-usage.rst @@ -32,7 +32,7 @@ Configuration - For an overview of authentication in ``google.cloud-python``, see `Authentication - `_. + `_. - In addition to any authentication configuration, you can also set the :envvar:`GCLOUD_PROJECT` environment variable for the Google Cloud Console diff --git a/speech/README.rst b/speech/README.rst index fa8b054a8986..af094eb6e816 100644 --- a/speech/README.rst +++ b/speech/README.rst @@ -22,7 +22,7 @@ variants, to support your global user base. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dspeech :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dspeech .. _Cloud Speech API: https://cloud.google.com/speech -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/speech/index.html +.. _Client Library Documentation: https://googleapis.dev/python/speech/latest .. _Product Documentation: https://cloud.google.com/speech Quick Start @@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Speech API.: https://cloud.google.com/speech -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/stable/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/storage/README.rst b/storage/README.rst index fba85d118803..06b8e459ac43 100644 --- a/storage/README.rst +++ b/storage/README.rst @@ -22,7 +22,7 @@ via direct download. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dstorage :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dstorage .. _Google Cloud Storage: https://cloud.google.com/storage/docs -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/storage/client.html +.. _Client Library Documentation: https://googleapis.dev/python/storage/latest .. _Storage API docs: https://cloud.google.com/storage/docs/json_api/v1 Quick Start @@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Storage API.: https://cloud.google.com/storage -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/synth.metadata b/synth.metadata index c01baa9e6fa9..823f8260db6c 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,3 +1,3 @@ { - "updateTime": "2019-03-18T13:56:09.030990Z" + "updateTime": "2019-07-17T22:11:50.945039Z" } \ No newline at end of file diff --git a/synth.py b/synth.py new file mode 100644 index 000000000000..d59503e1e657 --- /dev/null +++ b/synth.py @@ -0,0 +1,19 @@ +import json +import os +from pathlib import Path + +import synthtool as s + +repo_path = "/usr/local/google/home/busunkim/github/google-cloud-python" + +api_dirs = [ + Path(repo_path) / p for p in os.listdir(repo_path) if os.path.exists(Path(repo_path) / p / "README.rst") +] + +print(api_dirs[0]) +for d in api_dirs: + with open(d / ".repo-metadata.json") as f: + metadata = json.load(f) + documentation = metadata['client_documentation'] + s.replace(d / "*.rst", "(_Setup Authentication\.:) https://.*\.github\.io/google-cloud-python/.*/core/auth.html", f"\g<1> https://googleapis.dev/python/google-api-core/latest/auth.html") + s.replace(d / "docs/*.rst", "(.*) https://.*\.github\.io/google-cloud-python/latest/.*/.*\.html", f"\g<1> {documentation}") \ No newline at end of file diff --git a/talent/README.rst b/talent/README.rst index f5aa79b2dd19..73768bdc6178 100644 --- a/talent/README.rst +++ b/talent/README.rst @@ -15,7 +15,7 @@ delete job postings, as well as search jobs based on keywords and filters. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtalent .. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst .. _Cloud Talent Solution API: https://cloud.google.com/jobs -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/talent/index.html +.. _Client Library Documentation: https://googleapis.dev/python/talent/latest .. _Product Documentation: https://cloud.google.com/jobs Quick Start @@ -31,7 +31,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Talent Solution API.: https://cloud.google.com/jobs -.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/tasks/README.rst b/tasks/README.rst index 1f65e3aa2d19..6dbc468befc0 100644 --- a/tasks/README.rst +++ b/tasks/README.rst @@ -20,7 +20,7 @@ requests. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtasks :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtasks .. _Cloud Tasks API: https://cloud.google.com/tasks -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/tasks/index.html +.. _Client Library Documentation: https://googleapis.dev/python/tasks/latest .. _Product Documentation: https://cloud.google.com/tasks Quick Start @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Tasks API.: https://console.cloud.google.com/apis/library/cloudtasks.googleapis.com -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/texttospeech/README.rst b/texttospeech/README.rst index fe69909fd370..988ff4e63ee0 100644 --- a/texttospeech/README.rst +++ b/texttospeech/README.rst @@ -20,7 +20,7 @@ powerful neural network models. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtexttospeech :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtexttospeech .. _Cloud Text-to-Speech API: https://cloud.google.com/texttospeech -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/texttospeech/index.html +.. _Client Library Documentation: https://googleapis.dev/python/texttospeech/latest .. _Product Documentation: https://cloud.google.com/texttospeech Quick Start @@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Cloud Text-to-Speech API.: https://cloud.google.com/texttospeech -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/trace/README.rst b/trace/README.rst index 6b15d8f9fd4f..0d4592241ec5 100644 --- a/trace/README.rst +++ b/trace/README.rst @@ -21,7 +21,7 @@ default. Trace data from other applications can be provided using this API. .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtrace :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dtrace .. _Stackdriver Trace API: https://cloud.google.com/trace -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/trace/starting.html +.. _Client Library Documentation: https://googleapis.dev/python/trace/latest .. _Product Documentation: https://cloud.google.com/trace Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable the trace API.: https://cloud.google.com/trace -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/translate/README.rst b/translate/README.rst index 724b8b816b36..feeb2107b8cb 100644 --- a/translate/README.rst +++ b/translate/README.rst @@ -25,7 +25,7 @@ Cloud Translation is available as a paid service. See the `Pricing`_ and .. _Google Cloud Translation: https://cloud.google.com/translate/ .. _Pricing: https://cloud.google.com/translate/pricing .. _FAQ: https://cloud.google.com/translate/faq -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/translate/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/translate/latest .. _Product Documentation: https://cloud.google.com/translate/docs Quick Start @@ -41,7 +41,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Translate API.: https://cloud.google.com/translate -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/videointelligence/README.rst b/videointelligence/README.rst index 935b9261e257..6f931492bc48 100644 --- a/videointelligence/README.rst +++ b/videointelligence/README.rst @@ -27,7 +27,7 @@ relevant information at the video, shot or per frame. :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dvideointelligence .. _Google Cloud Video Intelligence: https://cloud.google.com/video-intelligence/ .. _Google Cloud Storage: https://cloud.google.com/storage/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/videointelligence/index.html +.. _Client Library Documentation: https://googleapis.dev/python/videointelligence/latest .. _Product Documentation: https://cloud.google.com/video-intelligence/docs/ Quick Start @@ -43,7 +43,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Video Intelligence API.: https://cloud.google.com/datastore -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/vision/README.rst b/vision/README.rst index e89afdfb4d40..53031031d151 100644 --- a/vision/README.rst +++ b/vision/README.rst @@ -30,7 +30,7 @@ Storage. .. _Vision: https://cloud.google.com/vision/ .. _Google Cloud Vision: https://cloud.google.com/vision/ -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/vision/ +.. _Client Library Documentation: https://googleapis.dev/python/vision/latest .. _Product Documentation: https://cloud.google.com/vision/reference/rest/ @@ -47,7 +47,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Google Cloud Vision API.: https://cloud.google.com/vision -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/webrisk/README.rst b/webrisk/README.rst index ef22a585b946..756311aaaf78 100644 --- a/webrisk/README.rst +++ b/webrisk/README.rst @@ -18,7 +18,7 @@ Python Client for Web Risk API (`Alpha`_) :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dwebrisk .. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst .. _Web Risk API: https://cloud.google.com/webrisk -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/webrisk/usage.html +.. _Client Library Documentation: https://googleapis.dev/python/webrisk/latest .. _Product Documentation: https://cloud.google.com/webrisk Quick Start @@ -34,7 +34,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Web Risk API.: https://cloud.google.com/webrisk -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ diff --git a/websecurityscanner/README.rst b/websecurityscanner/README.rst index fb88646f211f..626084ff3f63 100644 --- a/websecurityscanner/README.rst +++ b/websecurityscanner/README.rst @@ -19,7 +19,7 @@ Python Client for Web Security Scanner API .. |compat_check_github| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dwebsecurityscanner :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dwebsecurityscanner .. _Web Security Scanner API: https://cloud.google.com/security-scanner -.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/websecurityscanner/index.html +.. _Client Library Documentation: https://googleapis.dev/python/websecurityscanner/latest .. _Product Documentation: https://cloud.google.com/security-scanner Quick Start @@ -35,7 +35,7 @@ In order to use this library, you first need to go through the following steps: .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project .. _Enable the Web Security Scanner API.: https://cloud.google.com/security-scanner -.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html +.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html Installation ~~~~~~~~~~~~ From b08e31fa9a09af2ad72cbc7a082cf52e100cc281 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 17 Jul 2019 15:44:20 -0700 Subject: [PATCH 3/3] Remove synth file. --- synth.metadata | 3 --- synth.py | 19 ------------------- 2 files changed, 22 deletions(-) delete mode 100644 synth.metadata delete mode 100644 synth.py diff --git a/synth.metadata b/synth.metadata deleted file mode 100644 index 823f8260db6c..000000000000 --- a/synth.metadata +++ /dev/null @@ -1,3 +0,0 @@ -{ - "updateTime": "2019-07-17T22:11:50.945039Z" -} \ No newline at end of file diff --git a/synth.py b/synth.py deleted file mode 100644 index d59503e1e657..000000000000 --- a/synth.py +++ /dev/null @@ -1,19 +0,0 @@ -import json -import os -from pathlib import Path - -import synthtool as s - -repo_path = "/usr/local/google/home/busunkim/github/google-cloud-python" - -api_dirs = [ - Path(repo_path) / p for p in os.listdir(repo_path) if os.path.exists(Path(repo_path) / p / "README.rst") -] - -print(api_dirs[0]) -for d in api_dirs: - with open(d / ".repo-metadata.json") as f: - metadata = json.load(f) - documentation = metadata['client_documentation'] - s.replace(d / "*.rst", "(_Setup Authentication\.:) https://.*\.github\.io/google-cloud-python/.*/core/auth.html", f"\g<1> https://googleapis.dev/python/google-api-core/latest/auth.html") - s.replace(d / "docs/*.rst", "(.*) https://.*\.github\.io/google-cloud-python/latest/.*/.*\.html", f"\g<1> {documentation}") \ No newline at end of file