Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/spanner/gapic/v1/admin_database_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Spanner Admin Database Client API
=================================

.. automodule:: google.cloud.spanner_admin_database_v1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions docs/spanner/gapic/v1/admin_database_types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Spanner Admin Database Client Types
===================================

.. automodule:: google.cloud.spanner_admin_database_v1.types
:members:
3 changes: 3 additions & 0 deletions docs/spanner/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ Spanner
transaction-api
streamed-api

gapic/v1/admin_database_api
gapic/v1/admin_database_types

API requests are sent to the `Cloud Spanner`_ API via RPC over
HTTP/2. In order to support this, we'll rely on `gRPC`_.

Expand Down
2 changes: 1 addition & 1 deletion spanner/google/cloud/spanner/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from google.api.core import page_iterator
from google.gax import INITIAL_PAGE
# pylint: disable=line-too-long
from google.cloud.gapic.spanner_admin_database.v1.database_admin_client import ( # noqa
from google.cloud.spanner_admin_database_v1.gapic.database_admin_client import ( # noqa
DatabaseAdminClient)
from google.cloud.gapic.spanner_admin_instance.v1.instance_admin_client import ( # noqa
InstanceAdminClient)
Expand Down
30 changes: 30 additions & 0 deletions spanner/google/cloud/spanner_admin_database_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2017, Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import

from google.cloud.spanner_admin_database_v1 import types
from google.cloud.spanner_admin_database_v1.gapic import database_admin_client
from google.cloud.spanner_admin_database_v1.gapic import enums


class DatabaseAdminClient(database_admin_client.DatabaseAdminClient):
__doc__ = database_admin_client.DatabaseAdminClient.__doc__
enums = enums


__all__ = (
'enums',
'types',
'DatabaseAdminClient', )
Empty file.
Loading