|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# Copyright 2023 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 | +from google.cloud.language_v2 import gapic_version as package_version |
| 17 | + |
| 18 | +__version__ = package_version.__version__ |
| 19 | + |
| 20 | + |
| 21 | +from .services.language_service import LanguageServiceAsyncClient, LanguageServiceClient |
| 22 | +from .types.language_service import ( |
| 23 | + AnalyzeEntitiesRequest, |
| 24 | + AnalyzeEntitiesResponse, |
| 25 | + AnalyzeSentimentRequest, |
| 26 | + AnalyzeSentimentResponse, |
| 27 | + AnnotateTextRequest, |
| 28 | + AnnotateTextResponse, |
| 29 | + ClassificationCategory, |
| 30 | + ClassifyTextRequest, |
| 31 | + ClassifyTextResponse, |
| 32 | + Document, |
| 33 | + EncodingType, |
| 34 | + Entity, |
| 35 | + EntityMention, |
| 36 | + ModerateTextRequest, |
| 37 | + ModerateTextResponse, |
| 38 | + Sentence, |
| 39 | + Sentiment, |
| 40 | + TextSpan, |
| 41 | +) |
| 42 | + |
| 43 | +__all__ = ( |
| 44 | + "LanguageServiceAsyncClient", |
| 45 | + "AnalyzeEntitiesRequest", |
| 46 | + "AnalyzeEntitiesResponse", |
| 47 | + "AnalyzeSentimentRequest", |
| 48 | + "AnalyzeSentimentResponse", |
| 49 | + "AnnotateTextRequest", |
| 50 | + "AnnotateTextResponse", |
| 51 | + "ClassificationCategory", |
| 52 | + "ClassifyTextRequest", |
| 53 | + "ClassifyTextResponse", |
| 54 | + "Document", |
| 55 | + "EncodingType", |
| 56 | + "Entity", |
| 57 | + "EntityMention", |
| 58 | + "LanguageServiceClient", |
| 59 | + "ModerateTextRequest", |
| 60 | + "ModerateTextResponse", |
| 61 | + "Sentence", |
| 62 | + "Sentiment", |
| 63 | + "TextSpan", |
| 64 | +) |
0 commit comments