Skip to content

Commit fa0c106

Browse files
authored
feat(automl): generate v1 (#9388)
1 parent 3fde1ce commit fa0c106

Some content is hidden

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

50 files changed

+9383
-10
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 Cloud AutoML API
2+
===========================
3+
4+
.. automodule:: google.cloud.automl_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 Cloud AutoML API Client
2+
=================================
3+
4+
.. automodule:: google.cloud.automl_v1.types
5+
:members:

docs/index.rst

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
.. include:: README.rst
22

3+
This package includes clients for multiple versions of the Cloud AutoML API.
4+
By default, you will get ``v1``, the latest stable version.
35

4-
Api Reference
5-
-------------
6+
v1 API Reference
7+
------------------------
8+
.. toctree::
9+
:maxdepth: 2
10+
11+
gapic/v1/api
12+
gapic/v1/types
13+
14+
Previous beta release v1beta1 is provided as well.
15+
16+
An API and type reference is provided for ``v1beta1``:
17+
18+
v1beta1 API Reference
19+
----------------------
620
.. toctree::
721
:maxdepth: 2
822

@@ -11,6 +25,7 @@ Api Reference
1125
gapic/v1beta1/tables
1226

1327

28+
1429
Changelog
1530
---------
1631

google/cloud/automl.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
from __future__ import absolute_import
1919

20-
from google.cloud.automl_v1beta1 import AutoMlClient
21-
from google.cloud.automl_v1beta1 import PredictionServiceClient
22-
from google.cloud.automl_v1beta1 import enums
23-
from google.cloud.automl_v1beta1 import types
20+
from google.cloud.automl_v1 import AutoMlClient
21+
from google.cloud.automl_v1 import PredictionServiceClient
22+
from google.cloud.automl_v1 import enums
23+
from google.cloud.automl_v1 import types
2424

2525

2626
__all__ = ("enums", "types", "AutoMlClient", "PredictionServiceClient")

google/cloud/automl_v1/__init__.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2019 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+
20+
from google.cloud.automl_v1 import types
21+
from google.cloud.automl_v1.gapic import auto_ml_client
22+
from google.cloud.automl_v1.gapic import enums
23+
from google.cloud.automl_v1.gapic import prediction_service_client
24+
25+
26+
class AutoMlClient(auto_ml_client.AutoMlClient):
27+
__doc__ = auto_ml_client.AutoMlClient.__doc__
28+
enums = enums
29+
30+
31+
class PredictionServiceClient(prediction_service_client.PredictionServiceClient):
32+
__doc__ = prediction_service_client.PredictionServiceClient.__doc__
33+
enums = enums
34+
35+
36+
__all__ = ("enums", "types", "AutoMlClient", "PredictionServiceClient")

google/cloud/automl_v1/gapic/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)