From 43ff64a5889aeac321fbead967ec527ede414fa2 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Tue, 11 Aug 2020 17:24:56 -0400 Subject: [PATCH] docs: add docs for admin client (#63) Closes #49 --- docs/admin_client.rst | 6 ++++++ docs/index.rst | 1 + .../datastore_admin_v1/gapic/datastore_admin_client.py | 2 -- synth.metadata | 10 +++++----- synth.py | 7 +++++++ 5 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 docs/admin_client.rst diff --git a/docs/admin_client.rst b/docs/admin_client.rst new file mode 100644 index 00000000..1c025ca5 --- /dev/null +++ b/docs/admin_client.rst @@ -0,0 +1,6 @@ +Datastore Admin Client +====================== + +.. automodule:: google.cloud.datastore_admin_v1.gapic.datastore_admin_client + :members: + :show-inheritance: diff --git a/docs/index.rst b/docs/index.rst index 30d0575a..eed05518 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -13,6 +13,7 @@ API Reference transactions batches helpers + admin_client Changelog diff --git a/google/cloud/datastore_admin_v1/gapic/datastore_admin_client.py b/google/cloud/datastore_admin_v1/gapic/datastore_admin_client.py index 62db2b92..d275eca1 100644 --- a/google/cloud/datastore_admin_v1/gapic/datastore_admin_client.py +++ b/google/cloud/datastore_admin_v1/gapic/datastore_admin_client.py @@ -56,7 +56,6 @@ class DatastoreAdminClient(object): The Datastore Admin API provides several admin services for Cloud Datastore. - ----------------------------------------------------------------------------- ## Concepts Project, namespace, kind, and entity as defined in the Google Cloud Datastore @@ -68,7 +67,6 @@ class DatastoreAdminClient(object): specified as a combination of kinds and namespaces (either or both of which may be all). - ----------------------------------------------------------------------------- ## Services # Export/Import diff --git a/synth.metadata b/synth.metadata index ac48db8b..15ff18f3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -3,23 +3,23 @@ { "git": { "name": ".", - "remote": "https://github.com/googleapis/python-datastore.git", - "sha": "50ed94503da244434df0be58098a0ccf2da54b16" + "remote": "git@github.com:googleapis/python-datastore", + "sha": "f6290c02c46c83616a26aaa9babc43c3c6bed2f2" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "bbe5f05ccb4ccb4a4dae92c558a25c6d3fe55842", - "internalRef": "321580134" + "sha": "94006b3cb8d2fb44703cf535da15608eed6bf7db", + "internalRef": "325949033" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669" + "sha": "bd0deaa1113b588d70449535ab9cbf0f2bd0e72f" } } ], diff --git a/synth.py b/synth.py index f0d11183..8fb7a6a0 100644 --- a/synth.py +++ b/synth.py @@ -55,6 +55,13 @@ "google-cloud-datstore" ) +# Remove spurious markup +s.replace( + "google/**/datastore_admin_client.py", + "-----------------------------------------------------------------------------", + "" +) + # TODO(busunkim): Remove during the microgenerator transition. # This re-orders the parameters to avoid breaking existing code. num = s.replace(