Skip to content

Commit

Permalink
docs: add docs for admin client (#63)
Browse files Browse the repository at this point in the history
Closes #49
  • Loading branch information
tseaver committed Aug 11, 2020
1 parent f6290c0 commit 43ff64a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/admin_client.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Datastore Admin Client
======================

.. automodule:: google.cloud.datastore_admin_v1.gapic.datastore_admin_client
:members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ API Reference
transactions
batches
helpers
admin_client


Changelog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
],
Expand Down
7 changes: 7 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 43ff64a

Please sign in to comment.