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

Commit 21629fe

Browse files
authored
feat: add v1 (#13)
1 parent aefc92e commit 21629fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+12798
-1123
lines changed

docs/gapic/v1/api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Client for Google Cloud Data Catalog API
2+
========================================
3+
4+
.. automodule:: google.cloud.datacatalog_v1
5+
:members:
6+
:inherited-members:

docs/gapic/v1/types.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Types for Google Cloud Data Catalog API Client
2+
==============================================
3+
4+
.. automodule:: google.cloud.datacatalog_v1.types
5+
:members:

docs/index.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
.. include:: README.rst
22

33

4-
API Reference
4+
5+
v1
6+
-------------
7+
8+
.. toctree::
9+
:maxdepth: 2
10+
11+
gapic/v1/api
12+
gapic/v1/types
13+
14+
15+
v1beta1
516
-------------
617

718
.. toctree::
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2020 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
18+
from __future__ import absolute_import
19+
import sys
20+
import warnings
21+
22+
from google.cloud.datacatalog_v1 import types
23+
from google.cloud.datacatalog_v1.gapic import data_catalog_client
24+
from google.cloud.datacatalog_v1.gapic import enums
25+
26+
27+
if sys.version_info[:2] == (2, 7):
28+
message = (
29+
"A future version of this library will drop support for Python 2.7."
30+
"More details about Python 2 support for Google Cloud Client Libraries"
31+
"can be found at https://cloud.google.com/python/docs/python2-sunset/"
32+
)
33+
warnings.warn(message, DeprecationWarning)
34+
35+
36+
class DataCatalogClient(data_catalog_client.DataCatalogClient):
37+
__doc__ = data_catalog_client.DataCatalogClient.__doc__
38+
enums = enums
39+
40+
41+
__all__ = ("enums", "types", "DataCatalogClient")

google/cloud/datacatalog_v1/gapic/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)