Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
feat: add v1 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Apr 8, 2020
1 parent aefc92e commit 21629fe
Show file tree
Hide file tree
Showing 45 changed files with 12,798 additions and 1,123 deletions.
6 changes: 6 additions & 0 deletions docs/gapic/v1/api.rst
@@ -0,0 +1,6 @@
Client for Google Cloud Data Catalog API
========================================

.. automodule:: google.cloud.datacatalog_v1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions docs/gapic/v1/types.rst
@@ -0,0 +1,5 @@
Types for Google Cloud Data Catalog API Client
==============================================

.. automodule:: google.cloud.datacatalog_v1.types
:members:
13 changes: 12 additions & 1 deletion docs/index.rst
@@ -1,7 +1,18 @@
.. include:: README.rst


API Reference

v1
-------------

.. toctree::
:maxdepth: 2

gapic/v1/api
gapic/v1/types


v1beta1
-------------

.. toctree::
Expand Down
41 changes: 41 additions & 0 deletions google/cloud/datacatalog_v1/__init__.py
@@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# 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
#
# https://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
import sys
import warnings

from google.cloud.datacatalog_v1 import types
from google.cloud.datacatalog_v1.gapic import data_catalog_client
from google.cloud.datacatalog_v1.gapic import enums


if sys.version_info[:2] == (2, 7):
message = (
"A future version of this library will drop support for Python 2.7."
"More details about Python 2 support for Google Cloud Client Libraries"
"can be found at https://cloud.google.com/python/docs/python2-sunset/"
)
warnings.warn(message, DeprecationWarning)


class DataCatalogClient(data_catalog_client.DataCatalogClient):
__doc__ = data_catalog_client.DataCatalogClient.__doc__
enums = enums


__all__ = ("enums", "types", "DataCatalogClient")
Empty file.

0 comments on commit 21629fe

Please sign in to comment.