# -*- coding: utf-8 -*-

# Copyright 2020 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
#
#     http://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 google.cloud.aiplatform import gapic

from google.cloud.aiplatform import initializer
from google.cloud.aiplatform.datasets import (
    Dataset,
    TabularDataset,
    ImageDataset,
)
from google.cloud.aiplatform.models import Endpoint
from google.cloud.aiplatform.models import Model
from google.cloud.aiplatform.jobs import BatchPredictionJob
from google.cloud.aiplatform.training_jobs import (
    CustomTrainingJob,
    CustomContainerTrainingJob,
    AutoMLTabularTrainingJob,
)

"""
Usage:
from google.cloud import aiplatform

aiplatform.init(project='my_project')
"""
init = initializer.global_config.init

__all__ = (
    gapic,
    "BatchPredictionJob",
    "CustomTrainingJob",
    "CustomContainerTrainingJob",
    "AutoMLTabularTrainingJob",
    "Model",
    "Dataset",
    "TabularDataset",
    "ImageDataset",
    "Endpoint",
)

@@ -1084,16 +1084,44 @@
 ingJob,%0A
+    AutoMLImageTrainingJob,%0A
 )%0A%0A%22%22%22%0AU
@@ -1267,16 +1267,78 @@
  gapic,%0A
+    %22AutoMLImageTrainingJob%22,%0A    %22AutoMLTabularTrainingJob%22,%0A
     %22Bat
@@ -1423,53 +1423,39 @@
    %22
-AutoMLTabularTrainingJob%22,%0A    %22Model
+Dataset%22,%0A    %22Endpoint
 %22,%0A    %22
 Data
@@ -1442,32 +1442,37 @@
 Endpoint%22,%0A    %22
+Image
 Dataset%22,%0A    %22T
@@ -1470,16 +1470,29 @@
 %22,%0A    %22
+Model%22,%0A    %22
 TabularD
@@ -1500,44 +1500,8 @@
 tase
-t%22,%0A    %22ImageDataset%22,%0A    %22Endpoin
 t%22,%0A

add AutoMLImageTrainingJob to aiplatform namespace (#173)