# Package Classes (3.27.0)

3.27.0 (latest) 3.25.0 3.24.0 3.23.0 3.22.0 3.21.1 3.20.3 3.19.0 3.18.0 3.17.0 3.15.5 3.14.0 3.13.0 3.12.1 3.11.3 3.10.1 3.9.0 3.8.4 3.7.4 3.6.1 3.5.0 3.4.1 3.3.2 3.2.1 3.1.0 3.0.2 2.0.4 1.7.2 1.6.0 Summary of entries of Classes for translate.

## Classes

### [Client](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v2.client.Client)

Client to bundle configuration needed for API requests.

### [TranslationServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient)

Provides natural language translation operations.

### [TranslationServiceClient](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.TranslationServiceClient)

Provides natural language translation operations.

### [ListAdaptiveMtDatasetsAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsAsyncPager)

A pager for iterating through `list_adaptive_mt_datasets` requests.

This class thinly wraps an initial
[ListAdaptiveMtDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsPager)

A pager for iterating through `list_adaptive_mt_datasets` requests.

This class thinly wraps an initial
[ListAdaptiveMtDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesAsyncPager)

A pager for iterating through `list_adaptive_mt_files` requests.

This class thinly wraps an initial
[ListAdaptiveMtFilesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesPager)

A pager for iterating through `list_adaptive_mt_files` requests.

This class thinly wraps an initial
[ListAdaptiveMtFilesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesAsyncPager)

A pager for iterating through `list_adaptive_mt_sentences` requests.

This class thinly wraps an initial
[ListAdaptiveMtSentencesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesPager)

A pager for iterating through `list_adaptive_mt_sentences` requests.

This class thinly wraps an initial
[ListAdaptiveMtSentencesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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.

### [ListDatasetsAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsAsyncPager)

A pager for iterating through `list_datasets` requests.

This class thinly wraps an initial
[ListDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsResponse) object, and
provides an `__aiter__` method to iterate through its
`datasets` field.

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

All the usual [ListDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListDatasetsPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsPager)

A pager for iterating through `list_datasets` requests.

This class thinly wraps an initial
[ListDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsResponse) object, and
provides an `__iter__` method to iterate through its
`datasets` field.

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

All the usual [ListDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListExamplesAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListExamplesAsyncPager)

A pager for iterating through `list_examples` requests.

This class thinly wraps an initial
[ListExamplesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesResponse) object, and
provides an `__aiter__` method to iterate through its
`examples` field.

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

All the usual [ListExamplesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListExamplesPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListExamplesPager)

A pager for iterating through `list_examples` requests.

This class thinly wraps an initial
[ListExamplesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesResponse) object, and
provides an `__iter__` method to iterate through its
`examples` field.

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

All the usual [ListExamplesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesResponse)
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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesAsyncPager)

A pager for iterating through `list_glossaries` requests.

This class thinly wraps an initial
[ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesPager)

A pager for iterating through `list_glossaries` requests.

This class thinly wraps an initial
[ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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.

### [ListGlossaryEntriesAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesAsyncPager)

A pager for iterating through `list_glossary_entries` requests.

This class thinly wraps an initial
[ListGlossaryEntriesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesResponse) object, and
provides an `__aiter__` method to iterate through its
`glossary_entries` field.

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

All the usual [ListGlossaryEntriesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListGlossaryEntriesPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesPager)

A pager for iterating through `list_glossary_entries` requests.

This class thinly wraps an initial
[ListGlossaryEntriesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesResponse) object, and
provides an `__iter__` method to iterate through its
`glossary_entries` field.

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

All the usual [ListGlossaryEntriesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListModelsAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListModelsAsyncPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsResponse) object, and
provides an `__aiter__` method to iterate through its
`models` field.

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

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListModelsPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers.ListModelsPager)

A pager for iterating through `list_models` requests.

This class thinly wraps an initial
[ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsResponse) object, and
provides an `__iter__` method to iterate through its
`models` field.

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

All the usual [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsResponse)
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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtDataset)

An Adaptive MT Dataset.

### [AdaptiveMtFile](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtFile)

An AdaptiveMtFile.

### [AdaptiveMtSentence](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtSentence)

An AdaptiveMt sentence entry.

### [AdaptiveMtTranslateRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateRequest)

The request for sending an AdaptiveMt translation query.

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

### [GlossaryConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateRequest.GlossaryConfig)

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

### [ReferenceSentenceConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateRequest.ReferenceSentenceConfig)

Message of caller-provided reference configuration.

### [ReferenceSentencePair](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateRequest.ReferenceSentencePair)

A pair of sentences used as reference in source and target
languages.

### [ReferenceSentencePairList](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateRequest.ReferenceSentencePairList)

A list of reference sentence pairs.

### [AdaptiveMtTranslateResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslateResponse)

An AdaptiveMtTranslate response.

### [AdaptiveMtTranslation](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.AdaptiveMtTranslation)

An AdaptiveMt translation.

### [BatchDocumentInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchDocumentInputConfig)

Input configuration for BatchTranslateDocument request.

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

### [BatchDocumentOutputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchDocumentOutputConfig)

Output configuration for BatchTranslateDocument request.

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

### [BatchTransferResourcesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTransferResourcesResponse)

Response message for BatchTransferResources.

### [TransferResourceResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTransferResourcesResponse.TransferResourceResponse)

Transfer response for a single resource.

### [BatchTranslateDocumentMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentMetadata)

State metadata for the batch translation operation.

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentMetadata.State)

State of the job.

### [BatchTranslateDocumentRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentRequest)

The BatchTranslateDocument request.

### [FormatConversionsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentRequest.FormatConversionsEntry)

The abstract base class for a message.

### [GlossariesEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentRequest.GlossariesEntry)

The abstract base class for a message.

### [ModelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateDocumentRequest.ModelsEntry)

The abstract base class for a message.

### [BatchTranslateDocumentResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateMetadata)

State metadata for the batch translation operation.

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateMetadata.State)

State of the job.

### [BatchTranslateResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateTextRequest)

The batch translation request.

### [GlossariesEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateTextRequest.GlossariesEntry)

The abstract base class for a message.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateTextRequest.LabelsEntry)

The abstract base class for a message.

### [ModelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.BatchTranslateTextRequest.ModelsEntry)

The abstract base class for a message.

### [CreateAdaptiveMtDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateAdaptiveMtDatasetRequest)

Request message for creating an AdaptiveMtDataset.

### [CreateDatasetMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateDatasetMetadata)

Metadata of create dataset operation.

### [CreateDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateDatasetRequest)

Request message for CreateDataset.

### [CreateGlossaryEntryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateGlossaryEntryRequest)

Request message for CreateGlossaryEntry

### [CreateGlossaryMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateGlossaryMetadata)

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

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateGlossaryMetadata.State)

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

### [CreateGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateGlossaryRequest)

Request message for CreateGlossary.

### [CreateModelMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateModelMetadata)

Metadata of create model operation.

### [CreateModelRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.CreateModelRequest)

Request message for CreateModel.

### [Dataset](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Dataset)

A dataset that hosts the examples (sentence pairs) used for
translation models.

### [DatasetInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DatasetInputConfig)

Input configuration for datasets.

### [InputFile](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DatasetInputConfig.InputFile)

An input file.

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

### [DatasetOutputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DatasetOutputConfig)

Output configuration for datasets.

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

### [DeleteAdaptiveMtDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteAdaptiveMtDatasetRequest)

Request message for deleting an AdaptiveMtDataset.

### [DeleteAdaptiveMtFileRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteAdaptiveMtFileRequest)

The request for deleting an AdaptiveMt file.

### [DeleteDatasetMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteDatasetMetadata)

Metadata of delete dataset operation.

### [DeleteDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteDatasetRequest)

Request message for DeleteDataset.

### [DeleteGlossaryEntryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteGlossaryEntryRequest)

Request message for Delete Glossary Entry

### [DeleteGlossaryMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteGlossaryMetadata)

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

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteGlossaryMetadata.State)

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

### [DeleteGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteGlossaryRequest)

Request message for DeleteGlossary.

### [DeleteGlossaryResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteGlossaryResponse)

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

### [DeleteModelMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteModelMetadata)

Metadata of delete model operation.

### [DeleteModelRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DeleteModelRequest)

Request message for DeleteModel.

### [DetectLanguageRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DetectLanguageRequest)

The request message for language detection.

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

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DetectLanguageRequest.LabelsEntry)

The abstract base class for a message.

### [DetectLanguageResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DetectLanguageResponse)

The response message for language detection.

### [DetectedLanguage](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DetectedLanguage)

The response message for language detection.

### [DocumentInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DocumentOutputConfig)

A document translation request output config.

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

### [DocumentTranslation](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.DocumentTranslation)

A translated document message.

### [Example](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Example)

A sentence pair.

### [ExportDataMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ExportDataMetadata)

Metadata of export data operation.

### [ExportDataRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ExportDataRequest)

Request message for ExportData.

### [FileInputSource](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.FileInputSource)

An inlined file.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GcsDestination)

The Google Cloud Storage location for the output content.

### [GcsInputSource](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GcsInputSource)

The Google Cloud Storage location for the input content.

### [GcsOutputDestination](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GcsOutputDestination)

The Google Cloud Storage location for the output content.

### [GcsSource](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GcsSource)

The Google Cloud Storage location for the input content.

### [GetAdaptiveMtDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetAdaptiveMtDatasetRequest)

Request message for getting an Adaptive MT dataset.

### [GetAdaptiveMtFileRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetAdaptiveMtFileRequest)

The request for getting an AdaptiveMtFile.

### [GetDatasetRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetDatasetRequest)

Request message for GetDataset.

### [GetGlossaryEntryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetGlossaryEntryRequest)

Request message for the Get Glossary Entry Api

### [GetGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetGlossaryRequest)

Request message for GetGlossary.

### [GetModelRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetModelRequest)

Request message for GetModel.

### [GetSupportedLanguagesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GetSupportedLanguagesRequest)

The request message for discovering supported languages.

### [Glossary](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Glossary.LanguageCodePair)

Used with unidirectional glossaries.

### [LanguageCodesSet](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Glossary.LanguageCodesSet)

Used with equivalent term set glossaries.

### [GlossaryEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GlossaryEntry)

Represents a single entry in a glossary.

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>

### [GlossaryTermsPair](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GlossaryEntry.GlossaryTermsPair)

Represents a single entry for an unidirectional glossary.

### [GlossaryTermsSet](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GlossaryEntry.GlossaryTermsSet)

Represents a single entry for an equivalent term set
glossary. This is used for equivalent term sets where each term
can be replaced by the other terms in the set.

### [GlossaryInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GlossaryInputConfig)

Input configuration for glossaries.

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

### [GlossaryTerm](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.GlossaryTerm)

Represents a single glossary term

### [ImportAdaptiveMtFileRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ImportAdaptiveMtFileResponse)

The response for importing an AdaptiveMtFile

### [ImportDataMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ImportDataMetadata)

Metadata of import data operation.

### [ImportDataRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ImportDataRequest)

Request message for ImportData.

### [InputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.InputConfig)

Input configuration for BatchTranslateText request.

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

### [ListAdaptiveMtDatasetsRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtDatasetsRequest)

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

### [ListAdaptiveMtDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtDatasetsResponse)

A list of AdaptiveMtDatasets.

### [ListAdaptiveMtFilesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtFilesRequest)

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

### [ListAdaptiveMtFilesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtFilesResponse)

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

### [ListAdaptiveMtSentencesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtSentencesRequest)

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

### [ListAdaptiveMtSentencesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListAdaptiveMtSentencesResponse)

List AdaptiveMt sentences response.

### [ListDatasetsRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsRequest)

Request message for ListDatasets.

### [ListDatasetsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListDatasetsResponse)

Response message for ListDatasets.

### [ListExamplesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesRequest)

Request message for ListExamples.

### [ListExamplesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListExamplesResponse)

Response message for ListExamples.

### [ListGlossariesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossariesRequest)

Request message for ListGlossaries.

### [ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossariesResponse)

Response message for ListGlossaries.

### [ListGlossaryEntriesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesRequest)

Request message for ListGlossaryEntries

### [ListGlossaryEntriesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListGlossaryEntriesResponse)

Response message for ListGlossaryEntries

### [ListModelsRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsRequest)

Request message for ListModels.

### [ListModelsResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.ListModelsResponse)

Response message for ListModels.

### [Model](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Model)

A trained translation model.

### [OperationState](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.OperationState)

Possible states of long running operations.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.OutputConfig)

Output configuration for BatchTranslateText request.

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

### [Romanization](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Romanization)

A single romanization response.

### [RomanizeTextRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.RomanizeTextRequest)

The request message for synchronous romanization.

### [RomanizeTextResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.RomanizeTextResponse)

The response message for synchronous romanization.

### [SupportedLanguage](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.SupportedLanguage)

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

### [SupportedLanguages](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.SupportedLanguages)

The response message for discovering supported languages.

### [TranslateDocumentRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateDocumentRequest)

A document translation request.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateDocumentRequest.LabelsEntry)

The abstract base class for a message.

### [TranslateDocumentResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateDocumentResponse)

A translated document response message.

### [TranslateTextGlossaryConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateTextGlossaryConfig)

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

### [TranslateTextRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateTextRequest)

The request message for synchronous translation.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateTextRequest.LabelsEntry)

The abstract base class for a message.

### [TranslateTextResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TranslateTextResponse)

### [Translation](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.Translation)

A single translation response.

### [TransliterationConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.TransliterationConfig)

Configures transliteration feature on top of translation.

### [UpdateGlossaryEntryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.UpdateGlossaryEntryRequest)

Request message for UpdateGlossaryEntry

### [UpdateGlossaryMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.UpdateGlossaryMetadata)

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

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.UpdateGlossaryMetadata.State)

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

### [UpdateGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.types.UpdateGlossaryRequest)

Request message for the update glossary flow

### [TranslationServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient)

Provides natural language translation operations.

### [TranslationServiceClient](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient)

Provides natural language translation operations.

### [ListGlossariesAsyncPager](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesAsyncPager)

A pager for iterating through `list_glossaries` requests.

This class thinly wraps an initial
[ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesPager)

A pager for iterating through `list_glossaries` requests.

This class thinly wraps an initial
[ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchDocumentInputConfig)

Input configuration for BatchTranslateDocument request.

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

### [BatchDocumentOutputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchDocumentOutputConfig)

Output configuration for BatchTranslateDocument request.

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

### [BatchTranslateDocumentMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentMetadata)

State metadata for the batch translation operation.

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentMetadata.State)

State of the job.

### [BatchTranslateDocumentRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentRequest)

The BatchTranslateDocument request.

### [FormatConversionsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentRequest.FormatConversionsEntry)

The abstract base class for a message.

### [GlossariesEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentRequest.GlossariesEntry)

The abstract base class for a message.

### [ModelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateDocumentRequest.ModelsEntry)

The abstract base class for a message.

### [BatchTranslateDocumentResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateMetadata)

State metadata for the batch translation operation.

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateMetadata.State)

State of the job.

### [BatchTranslateResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateTextRequest)

The batch translation request.

### [GlossariesEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateTextRequest.GlossariesEntry)

The abstract base class for a message.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateTextRequest.LabelsEntry)

The abstract base class for a message.

### [ModelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.BatchTranslateTextRequest.ModelsEntry)

The abstract base class for a message.

### [CreateGlossaryMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.CreateGlossaryMetadata)

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

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.CreateGlossaryMetadata.State)

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

### [CreateGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.CreateGlossaryRequest)

Request message for CreateGlossary.

### [DeleteGlossaryMetadata](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DeleteGlossaryMetadata)

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

### [State](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DeleteGlossaryMetadata.State)

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

### [DeleteGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DeleteGlossaryRequest)

Request message for DeleteGlossary.

### [DeleteGlossaryResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DeleteGlossaryResponse)

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

### [DetectLanguageRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DetectLanguageRequest)

The request message for language detection.

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

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DetectLanguageRequest.LabelsEntry)

The abstract base class for a message.

### [DetectLanguageResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DetectLanguageResponse)

The response message for language detection.

### [DetectedLanguage](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DetectedLanguage)

The response message for language detection.

### [DocumentInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DocumentOutputConfig)

A document translation request output config.

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

### [DocumentTranslation](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.DocumentTranslation)

A translated document message.

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.GcsDestination)

The Google Cloud Storage location for the output content.

### [GcsSource](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.GcsSource)

The Google Cloud Storage location for the input content.

### [GetGlossaryRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.GetGlossaryRequest)

Request message for GetGlossary.

### [GetSupportedLanguagesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.GetSupportedLanguagesRequest)

The request message for discovering supported languages.

### [Glossary](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.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](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.Glossary.LanguageCodePair)

Used with unidirectional glossaries.

### [LanguageCodesSet](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.Glossary.LanguageCodesSet)

Used with equivalent term set glossaries.

### [GlossaryInputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.GlossaryInputConfig)

Input configuration for glossaries.

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

### [InputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.InputConfig)

Input configuration for BatchTranslateText request.

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

### [ListGlossariesRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.ListGlossariesRequest)

Request message for ListGlossaries.

### [ListGlossariesResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.ListGlossariesResponse)

Response message for ListGlossaries.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.OutputConfig)

Output configuration for BatchTranslateText request.

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

### [RefineTextRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.RefineTextRequest)

Request message for RefineText.

### [RefineTextResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.RefineTextResponse)

Response message for RefineText.

### [RefinementEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.RefinementEntry)

A single refinement entry for RefineTextRequest.

### [SupportedLanguage](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.SupportedLanguage)

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

### [SupportedLanguages](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.SupportedLanguages)

The response message for discovering supported languages.

### [TranslateDocumentRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateDocumentRequest)

A document translation request.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateDocumentRequest.LabelsEntry)

The abstract base class for a message.

### [TranslateDocumentResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateDocumentResponse)

A translated document response message.

### [TranslateTextGlossaryConfig](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateTextGlossaryConfig)

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

### [TranslateTextRequest](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateTextRequest)

The request message for synchronous translation.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateTextRequest.LabelsEntry)

The abstract base class for a message.

### [TranslateTextResponse](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.TranslateTextResponse)

### [Translation](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.types.Translation)

A single translation response.

## Modules

### [client](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v2.client)

Client for interacting with the Google Cloud Translation API.

### [pagers](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3.services.translation_service.pagers)

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

### [pagers](https://docs.cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v3beta1.services.translation_service.pagers)

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