|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# Copyright 2022 Google LLC |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# |
| 16 | + |
| 17 | +from .services.batch_service import BatchServiceClient |
| 18 | +from .services.batch_service import BatchServiceAsyncClient |
| 19 | + |
| 20 | +from .types.batch import CreateJobRequest |
| 21 | +from .types.batch import DeleteJobRequest |
| 22 | +from .types.batch import GetJobRequest |
| 23 | +from .types.batch import GetTaskRequest |
| 24 | +from .types.batch import ListJobsRequest |
| 25 | +from .types.batch import ListJobsResponse |
| 26 | +from .types.batch import ListTasksRequest |
| 27 | +from .types.batch import ListTasksResponse |
| 28 | +from .types.batch import OperationMetadata |
| 29 | +from .types.job import AllocationPolicy |
| 30 | +from .types.job import Job |
| 31 | +from .types.job import JobDependency |
| 32 | +from .types.job import JobNotification |
| 33 | +from .types.job import JobStatus |
| 34 | +from .types.job import LogsPolicy |
| 35 | +from .types.job import ServiceAccount |
| 36 | +from .types.job import TaskGroup |
| 37 | +from .types.task import ComputeResource |
| 38 | +from .types.task import Environment |
| 39 | +from .types.task import LifecyclePolicy |
| 40 | +from .types.task import Runnable |
| 41 | +from .types.task import StatusEvent |
| 42 | +from .types.task import Task |
| 43 | +from .types.task import TaskExecution |
| 44 | +from .types.task import TaskSpec |
| 45 | +from .types.task import TaskStatus |
| 46 | +from .types.volume import GCS |
| 47 | +from .types.volume import NFS |
| 48 | +from .types.volume import PD |
| 49 | +from .types.volume import Volume |
| 50 | + |
| 51 | +__all__ = ( |
| 52 | + "BatchServiceAsyncClient", |
| 53 | + "AllocationPolicy", |
| 54 | + "BatchServiceClient", |
| 55 | + "ComputeResource", |
| 56 | + "CreateJobRequest", |
| 57 | + "DeleteJobRequest", |
| 58 | + "Environment", |
| 59 | + "GCS", |
| 60 | + "GetJobRequest", |
| 61 | + "GetTaskRequest", |
| 62 | + "Job", |
| 63 | + "JobDependency", |
| 64 | + "JobNotification", |
| 65 | + "JobStatus", |
| 66 | + "LifecyclePolicy", |
| 67 | + "ListJobsRequest", |
| 68 | + "ListJobsResponse", |
| 69 | + "ListTasksRequest", |
| 70 | + "ListTasksResponse", |
| 71 | + "LogsPolicy", |
| 72 | + "NFS", |
| 73 | + "OperationMetadata", |
| 74 | + "PD", |
| 75 | + "Runnable", |
| 76 | + "ServiceAccount", |
| 77 | + "StatusEvent", |
| 78 | + "Task", |
| 79 | + "TaskExecution", |
| 80 | + "TaskGroup", |
| 81 | + "TaskSpec", |
| 82 | + "TaskStatus", |
| 83 | + "Volume", |
| 84 | +) |
0 commit comments