This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
/
__init__.py
118 lines (115 loc) · 5.08 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# -*- 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.translate_v3.services.translation_service.client import (
TranslationServiceClient,
)
from google.cloud.translate_v3.services.translation_service.async_client import (
TranslationServiceAsyncClient,
)
from google.cloud.translate_v3.types.translation_service import BatchDocumentInputConfig
from google.cloud.translate_v3.types.translation_service import (
BatchDocumentOutputConfig,
)
from google.cloud.translate_v3.types.translation_service import (
BatchTranslateDocumentMetadata,
)
from google.cloud.translate_v3.types.translation_service import (
BatchTranslateDocumentRequest,
)
from google.cloud.translate_v3.types.translation_service import (
BatchTranslateDocumentResponse,
)
from google.cloud.translate_v3.types.translation_service import BatchTranslateMetadata
from google.cloud.translate_v3.types.translation_service import BatchTranslateResponse
from google.cloud.translate_v3.types.translation_service import (
BatchTranslateTextRequest,
)
from google.cloud.translate_v3.types.translation_service import CreateGlossaryMetadata
from google.cloud.translate_v3.types.translation_service import CreateGlossaryRequest
from google.cloud.translate_v3.types.translation_service import DeleteGlossaryMetadata
from google.cloud.translate_v3.types.translation_service import DeleteGlossaryRequest
from google.cloud.translate_v3.types.translation_service import DeleteGlossaryResponse
from google.cloud.translate_v3.types.translation_service import DetectedLanguage
from google.cloud.translate_v3.types.translation_service import DetectLanguageRequest
from google.cloud.translate_v3.types.translation_service import DetectLanguageResponse
from google.cloud.translate_v3.types.translation_service import DocumentInputConfig
from google.cloud.translate_v3.types.translation_service import DocumentOutputConfig
from google.cloud.translate_v3.types.translation_service import DocumentTranslation
from google.cloud.translate_v3.types.translation_service import GcsDestination
from google.cloud.translate_v3.types.translation_service import GcsSource
from google.cloud.translate_v3.types.translation_service import GetGlossaryRequest
from google.cloud.translate_v3.types.translation_service import (
GetSupportedLanguagesRequest,
)
from google.cloud.translate_v3.types.translation_service import Glossary
from google.cloud.translate_v3.types.translation_service import GlossaryInputConfig
from google.cloud.translate_v3.types.translation_service import InputConfig
from google.cloud.translate_v3.types.translation_service import ListGlossariesRequest
from google.cloud.translate_v3.types.translation_service import ListGlossariesResponse
from google.cloud.translate_v3.types.translation_service import OutputConfig
from google.cloud.translate_v3.types.translation_service import SupportedLanguage
from google.cloud.translate_v3.types.translation_service import SupportedLanguages
from google.cloud.translate_v3.types.translation_service import TranslateDocumentRequest
from google.cloud.translate_v3.types.translation_service import (
TranslateDocumentResponse,
)
from google.cloud.translate_v3.types.translation_service import (
TranslateTextGlossaryConfig,
)
from google.cloud.translate_v3.types.translation_service import TranslateTextRequest
from google.cloud.translate_v3.types.translation_service import TranslateTextResponse
from google.cloud.translate_v3.types.translation_service import Translation
__all__ = (
"TranslationServiceClient",
"TranslationServiceAsyncClient",
"BatchDocumentInputConfig",
"BatchDocumentOutputConfig",
"BatchTranslateDocumentMetadata",
"BatchTranslateDocumentRequest",
"BatchTranslateDocumentResponse",
"BatchTranslateMetadata",
"BatchTranslateResponse",
"BatchTranslateTextRequest",
"CreateGlossaryMetadata",
"CreateGlossaryRequest",
"DeleteGlossaryMetadata",
"DeleteGlossaryRequest",
"DeleteGlossaryResponse",
"DetectedLanguage",
"DetectLanguageRequest",
"DetectLanguageResponse",
"DocumentInputConfig",
"DocumentOutputConfig",
"DocumentTranslation",
"GcsDestination",
"GcsSource",
"GetGlossaryRequest",
"GetSupportedLanguagesRequest",
"Glossary",
"GlossaryInputConfig",
"InputConfig",
"ListGlossariesRequest",
"ListGlossariesResponse",
"OutputConfig",
"SupportedLanguage",
"SupportedLanguages",
"TranslateDocumentRequest",
"TranslateDocumentResponse",
"TranslateTextGlossaryConfig",
"TranslateTextRequest",
"TranslateTextResponse",
"Translation",
)