Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(automl): generate v1 #9388

Merged
merged 2 commits into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions 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 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 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
----------------------
busunkim96 marked this conversation as resolved.
Show resolved Hide resolved
.. toctree::
:maxdepth: 2

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



Changelog
---------

Expand Down
8 changes: 4 additions & 4 deletions 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 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.