Skip to content

Commit

Permalink
feat(automl): generate v1 (#9388)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Oct 4, 2019
1 parent 2e59449 commit c39b9d9
Show file tree
Hide file tree
Showing 50 changed files with 9,383 additions and 10 deletions.
6 changes: 6 additions & 0 deletions packages/google-cloud-automl/docs/gapic/v1/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client for Cloud AutoML API
===========================

.. automodule:: google.cloud.automl_v1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions packages/google-cloud-automl/docs/gapic/v1/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Types for Cloud AutoML API Client
=================================

.. automodule:: google.cloud.automl_v1.types
:members:
19 changes: 17 additions & 2 deletions packages/google-cloud-automl/docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
.. include:: README.rst

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

Api Reference
-------------
v1 API Reference
------------------------
.. toctree::
:maxdepth: 2

gapic/v1/api
gapic/v1/types

Previous beta release v1beta1 is provided as well.

An API and type reference is provided for ``v1beta1``:

v1beta1 API Reference
----------------------
.. toctree::
:maxdepth: 2

Expand All @@ -11,6 +25,7 @@ Api Reference
gapic/v1beta1/tables



Changelog
---------

Expand Down
8 changes: 4 additions & 4 deletions packages/google-cloud-automl/google/cloud/automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

from __future__ import absolute_import

from google.cloud.automl_v1beta1 import AutoMlClient
from google.cloud.automl_v1beta1 import PredictionServiceClient
from google.cloud.automl_v1beta1 import enums
from google.cloud.automl_v1beta1 import types
from google.cloud.automl_v1 import AutoMlClient
from google.cloud.automl_v1 import PredictionServiceClient
from google.cloud.automl_v1 import enums
from google.cloud.automl_v1 import types


__all__ = ("enums", "types", "AutoMlClient", "PredictionServiceClient")
36 changes: 36 additions & 0 deletions packages/google-cloud-automl/google/cloud/automl_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 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

from google.cloud.automl_v1 import types
from google.cloud.automl_v1.gapic import auto_ml_client
from google.cloud.automl_v1.gapic import enums
from google.cloud.automl_v1.gapic import prediction_service_client


class AutoMlClient(auto_ml_client.AutoMlClient):
__doc__ = auto_ml_client.AutoMlClient.__doc__
enums = enums


class PredictionServiceClient(prediction_service_client.PredictionServiceClient):
__doc__ = prediction_service_client.PredictionServiceClient.__doc__
enums = enums


__all__ = ("enums", "types", "AutoMlClient", "PredictionServiceClient")
Empty file.

0 comments on commit c39b9d9

Please sign in to comment.