|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | -# |
3 | | -# Copyright 2018 Google LLC |
| 2 | + |
| 3 | +# Copyright 2020 Google LLC |
4 | 4 | # |
5 | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
6 | 6 | # you may not use this file except in compliance with the License. |
7 | 7 | # You may obtain a copy of the License at |
8 | 8 | # |
9 | | -# https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
10 | 10 | # |
11 | 11 | # Unless required by applicable law or agreed to in writing, software |
12 | 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
13 | 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | 14 | # See the License for the specific language governing permissions and |
15 | 15 | # limitations under the License. |
| 16 | +# |
16 | 17 |
|
17 | | -from __future__ import absolute_import |
18 | | - |
19 | | -import pkg_resources |
20 | | - |
21 | | -__version__ = pkg_resources.get_distribution("google-cloud-bigquery").version # noqa |
22 | | - |
23 | | -from google.cloud.bigquery_v2 import types |
24 | | -from google.cloud.bigquery_v2.gapic import enums |
| 18 | +from .services.model_service import ModelServiceClient |
| 19 | +from .types.encryption_config import EncryptionConfiguration |
| 20 | +from .types.model import DeleteModelRequest |
| 21 | +from .types.model import GetModelRequest |
| 22 | +from .types.model import ListModelsRequest |
| 23 | +from .types.model import ListModelsResponse |
| 24 | +from .types.model import Model |
| 25 | +from .types.model import PatchModelRequest |
| 26 | +from .types.model_reference import ModelReference |
| 27 | +from .types.standard_sql import StandardSqlDataType |
| 28 | +from .types.standard_sql import StandardSqlField |
| 29 | +from .types.standard_sql import StandardSqlStructType |
25 | 30 |
|
26 | 31 |
|
27 | 32 | __all__ = ( |
28 | | - # google.cloud.bigquery_v2 |
29 | | - "__version__", |
30 | | - "types", |
31 | | - # google.cloud.bigquery_v2 |
32 | | - "enums", |
| 33 | + "DeleteModelRequest", |
| 34 | + "EncryptionConfiguration", |
| 35 | + "GetModelRequest", |
| 36 | + "ListModelsRequest", |
| 37 | + "ListModelsResponse", |
| 38 | + "Model", |
| 39 | + "ModelReference", |
| 40 | + "PatchModelRequest", |
| 41 | + "StandardSqlDataType", |
| 42 | + "StandardSqlField", |
| 43 | + "StandardSqlStructType", |
| 44 | + "ModelServiceClient", |
33 | 45 | ) |
0 commit comments