Package Classes (3.15.5)

Summary of entries of Classes for translate.

Classes

Client

Client to bundle configuration needed for API requests.

TranslationServiceAsyncClient

Provides natural language translation operations.

TranslationServiceClient

Provides natural language translation operations.

ListAdaptiveMtDatasetsAsyncPager

A pager for iterating through list_adaptive_mt_datasets requests.

This class thinly wraps an initial ListAdaptiveMtDatasetsResponse object, and provides an __aiter__ method to iterate through its adaptive_mt_datasets field.

If there are more pages, the __aiter__ method will make additional ListAdaptiveMtDatasets requests and continue to iterate through the adaptive_mt_datasets field on the corresponding responses.

All the usual ListAdaptiveMtDatasetsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAdaptiveMtDatasetsPager

A pager for iterating through list_adaptive_mt_datasets requests.

This class thinly wraps an initial ListAdaptiveMtDatasetsResponse object, and provides an __iter__ method to iterate through its adaptive_mt_datasets field.

If there are more pages, the __iter__ method will make additional ListAdaptiveMtDatasets requests and continue to iterate through the adaptive_mt_datasets field on the corresponding responses.

All the usual ListAdaptiveMtDatasetsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAdaptiveMtFilesAsyncPager

A pager for iterating through list_adaptive_mt_files requests.

This class thinly wraps an initial ListAdaptiveMtFilesResponse object, and provides an __aiter__ method to iterate through its adaptive_mt_files field.

If there are more pages, the __aiter__ method will make additional ListAdaptiveMtFiles requests and continue to iterate through the adaptive_mt_files field on the corresponding responses.

All the usual ListAdaptiveMtFilesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAdaptiveMtFilesPager

A pager for iterating through list_adaptive_mt_files requests.

This class thinly wraps an initial ListAdaptiveMtFilesResponse object, and provides an __iter__ method to iterate through its adaptive_mt_files field.

If there are more pages, the __iter__ method will make additional ListAdaptiveMtFiles requests and continue to iterate through the adaptive_mt_files field on the corresponding responses.

All the usual ListAdaptiveMtFilesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAdaptiveMtSentencesAsyncPager

A pager for iterating through list_adaptive_mt_sentences requests.

This class thinly wraps an initial ListAdaptiveMtSentencesResponse object, and provides an __aiter__ method to iterate through its adaptive_mt_sentences field.

If there are more pages, the __aiter__ method will make additional ListAdaptiveMtSentences requests and continue to iterate through the adaptive_mt_sentences field on the corresponding responses.

All the usual ListAdaptiveMtSentencesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListAdaptiveMtSentencesPager

A pager for iterating through list_adaptive_mt_sentences requests.

This class thinly wraps an initial ListAdaptiveMtSentencesResponse object, and provides an __iter__ method to iterate through its adaptive_mt_sentences field.

If there are more pages, the __iter__ method will make additional ListAdaptiveMtSentences requests and continue to iterate through the adaptive_mt_sentences field on the corresponding responses.

All the usual ListAdaptiveMtSentencesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListGlossariesAsyncPager

A pager for iterating through list_glossaries requests.

This class thinly wraps an initial ListGlossariesResponse object, and provides an __aiter__ method to iterate through its glossaries field.

If there are more pages, the __aiter__ method will make additional ListGlossaries requests and continue to iterate through the glossaries field on the corresponding responses.

All the usual ListGlossariesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListGlossariesPager

A pager for iterating through list_glossaries requests.

This class thinly wraps an initial ListGlossariesResponse object, and provides an __iter__ method to iterate through its glossaries field.

If there are more pages, the __iter__ method will make additional ListGlossaries requests and continue to iterate through the glossaries field on the corresponding responses.

All the usual ListGlossariesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

AdaptiveMtDataset

An Adaptive MT Dataset.

AdaptiveMtFile

An AdaptiveMtFile.

AdaptiveMtSentence

An AdaptiveMt sentence entry.

AdaptiveMtTranslateRequest

The request for sending an AdaptiveMt translation query.

AdaptiveMtTranslateResponse

An AdaptiveMtTranslate response.

AdaptiveMtTranslation

An AdaptiveMt translation.

BatchDocumentInputConfig

Input configuration for BatchTranslateDocument request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

BatchDocumentOutputConfig

Output configuration for BatchTranslateDocument request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

BatchTranslateDocumentMetadata

State metadata for the batch translation operation.

State

State of the job.

BatchTranslateDocumentRequest

The BatchTranslateDocument request.

FormatConversionsEntry

The abstract base class for a message.

GlossariesEntry

The abstract base class for a message.

ModelsEntry

The abstract base class for a message.

BatchTranslateDocumentResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateDocument if at least one document is translated successfully.

BatchTranslateMetadata

State metadata for the batch translation operation.

State

State of the job.

BatchTranslateResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateText if at least one sentence is translated successfully.

BatchTranslateTextRequest

The batch translation request.

GlossariesEntry

The abstract base class for a message.

LabelsEntry

The abstract base class for a message.

ModelsEntry

The abstract base class for a message.

CreateAdaptiveMtDatasetRequest

Request message for creating an AdaptiveMtDataset.

CreateGlossaryMetadata

Stored in the google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by CreateGlossary.

State

Enumerates the possible states that the creation request can be in.

CreateGlossaryRequest

Request message for CreateGlossary.

DeleteAdaptiveMtDatasetRequest

Request message for deleting an AdaptiveMtDataset.

DeleteAdaptiveMtFileRequest

The request for deleting an AdaptiveMt file.

DeleteGlossaryMetadata

Stored in the google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by DeleteGlossary.

State

Enumerates the possible states that the creation request can be in.

DeleteGlossaryRequest

Request message for DeleteGlossary.

DeleteGlossaryResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by DeleteGlossary.

DetectLanguageRequest

The request message for language detection.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LabelsEntry

The abstract base class for a message.

DetectLanguageResponse

The response message for language detection.

DetectedLanguage

The response message for language detection.

DocumentInputConfig

A document translation request input config.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DocumentOutputConfig

A document translation request output config.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DocumentTranslation

A translated document message.

FileInputSource

An inlined file.

GcsDestination

The Google Cloud Storage location for the output content.

GcsInputSource

The Google Cloud Storage location for the input content.

GcsOutputDestination

The Google Cloud Storage location for the output content.

GcsSource

The Google Cloud Storage location for the input content.

GetAdaptiveMtDatasetRequest

Request message for getting an Adaptive MT dataset.

GetAdaptiveMtFileRequest

The request for getting an AdaptiveMtFile.

GetGlossaryRequest

Request message for GetGlossary.

GetSupportedLanguagesRequest

The request message for discovering supported languages.

Glossary

Represents a glossary built from user-provided data.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LanguageCodePair

Used with unidirectional glossaries.

LanguageCodesSet

Used with equivalent term set glossaries.

GlossaryInputConfig

Input configuration for glossaries.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ImportAdaptiveMtFileRequest

The request for importing an AdaptiveMt file along with its sentences.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ImportAdaptiveMtFileResponse

The response for importing an AdaptiveMtFile

InputConfig

Input configuration for BatchTranslateText request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ListAdaptiveMtDatasetsRequest

Request message for listing all Adaptive MT datasets that the requestor has access to.

ListAdaptiveMtDatasetsResponse

A list of AdaptiveMtDatasets.

ListAdaptiveMtFilesRequest

The request to list all AdaptiveMt files under a given dataset.

ListAdaptiveMtFilesResponse

The response for listing all AdaptiveMt files under a given dataset.

ListAdaptiveMtSentencesRequest

The request for listing Adaptive MT sentences from a Dataset/File.

ListAdaptiveMtSentencesResponse

List AdaptiveMt sentences response.

ListGlossariesRequest

Request message for ListGlossaries.

ListGlossariesResponse

Response message for ListGlossaries.

OutputConfig

Output configuration for BatchTranslateText request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SupportedLanguage

A single supported language response corresponds to information related to one supported language.

SupportedLanguages

The response message for discovering supported languages.

TranslateDocumentRequest

A document translation request.

LabelsEntry

The abstract base class for a message.

TranslateDocumentResponse

A translated document response message.

TranslateTextGlossaryConfig

Configures which glossary is used for a specific target language and defines options for applying that glossary.

TranslateTextRequest

The request message for synchronous translation.

LabelsEntry

The abstract base class for a message.

TranslateTextResponse

Translation

A single translation response.

TranslationServiceAsyncClient

Provides natural language translation operations.

TranslationServiceClient

Provides natural language translation operations.

ListGlossariesAsyncPager

A pager for iterating through list_glossaries requests.

This class thinly wraps an initial ListGlossariesResponse object, and provides an __aiter__ method to iterate through its glossaries field.

If there are more pages, the __aiter__ method will make additional ListGlossaries requests and continue to iterate through the glossaries field on the corresponding responses.

All the usual ListGlossariesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListGlossariesPager

A pager for iterating through list_glossaries requests.

This class thinly wraps an initial ListGlossariesResponse object, and provides an __iter__ method to iterate through its glossaries field.

If there are more pages, the __iter__ method will make additional ListGlossaries requests and continue to iterate through the glossaries field on the corresponding responses.

All the usual ListGlossariesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

BatchDocumentInputConfig

Input configuration for BatchTranslateDocument request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

BatchDocumentOutputConfig

Output configuration for BatchTranslateDocument request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

BatchTranslateDocumentMetadata

State metadata for the batch translation operation.

State

State of the job.

BatchTranslateDocumentRequest

The BatchTranslateDocument request.

FormatConversionsEntry

The abstract base class for a message.

GlossariesEntry

The abstract base class for a message.

ModelsEntry

The abstract base class for a message.

BatchTranslateDocumentResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateDocument if at least one document is translated successfully.

BatchTranslateMetadata

State metadata for the batch translation operation.

State

State of the job.

BatchTranslateResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateText if at least one sentence is translated successfully.

BatchTranslateTextRequest

The batch translation request.

GlossariesEntry

The abstract base class for a message.

LabelsEntry

The abstract base class for a message.

ModelsEntry

The abstract base class for a message.

CreateGlossaryMetadata

Stored in the google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by CreateGlossary.

State

Enumerates the possible states that the creation request can be in.

CreateGlossaryRequest

Request message for CreateGlossary.

DeleteGlossaryMetadata

Stored in the google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by DeleteGlossary.

State

Enumerates the possible states that the creation request can be in.

DeleteGlossaryRequest

Request message for DeleteGlossary.

DeleteGlossaryResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by DeleteGlossary.

DetectLanguageRequest

The request message for language detection.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LabelsEntry

The abstract base class for a message.

DetectLanguageResponse

The response message for language detection.

DetectedLanguage

The response message for language detection.

DocumentInputConfig

A document translation request input config.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DocumentOutputConfig

A document translation request output config.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DocumentTranslation

A translated document message.

GcsDestination

The Google Cloud Storage location for the output content.

GcsSource

The Google Cloud Storage location for the input content.

GetGlossaryRequest

Request message for GetGlossary.

GetSupportedLanguagesRequest

The request message for discovering supported languages.

Glossary

Represents a glossary built from user provided data.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LanguageCodePair

Used with unidirectional glossaries.

LanguageCodesSet

Used with equivalent term set glossaries.

GlossaryInputConfig

Input configuration for glossaries.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

InputConfig

Input configuration for BatchTranslateText request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ListGlossariesRequest

Request message for ListGlossaries.

ListGlossariesResponse

Response message for ListGlossaries.

OutputConfig

Output configuration for BatchTranslateText request.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SupportedLanguage

A single supported language response corresponds to information related to one supported language.

SupportedLanguages

The response message for discovering supported languages.

TranslateDocumentRequest

A document translation request.

LabelsEntry

The abstract base class for a message.

TranslateDocumentResponse

A translated document response message.

TranslateTextGlossaryConfig

Configures which glossary should be used for a specific target language, and defines options for applying that glossary.

TranslateTextRequest

The request message for synchronous translation.

LabelsEntry

The abstract base class for a message.

TranslateTextResponse

Translation

A single translation response.

Modules

client

Client for interacting with the Google Cloud Translation API.

pagers

API documentation for translate_v3.services.translation_service.pagers module.

pagers

API documentation for translate_v3beta1.services.translation_service.pagers module.