Package types (3.17.0)

API documentation for translate_v3.types package.

Classes

AdaptiveMtDataset

An Adaptive MT Dataset.

AdaptiveMtFile

An AdaptiveMtFile.

AdaptiveMtSentence

An AdaptiveMt sentence entry.

AdaptiveMtTranslateRequest

The request for sending an AdaptiveMt translation query.

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

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

BatchTransferResourcesResponse

Response message for BatchTransferResources.

BatchTranslateDocumentMetadata

State metadata for the batch translation operation.

BatchTranslateDocumentRequest

The BatchTranslateDocument request.

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.

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.

CreateAdaptiveMtDatasetRequest

Request message for creating an AdaptiveMtDataset.

CreateDatasetMetadata

Metadata of create dataset operation.

CreateDatasetRequest

Request message for CreateDataset.

CreateGlossaryEntryRequest

Request message for CreateGlossaryEntry

CreateGlossaryMetadata

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

CreateGlossaryRequest

Request message for CreateGlossary.

CreateModelMetadata

Metadata of create model operation.

CreateModelRequest

Request message for CreateModel.

Dataset

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

DatasetInputConfig

Input configuration for datasets.

DatasetOutputConfig

Output configuration for datasets.

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

DeleteAdaptiveMtDatasetRequest

Request message for deleting an AdaptiveMtDataset.

DeleteAdaptiveMtFileRequest

The request for deleting an AdaptiveMt file.

DeleteDatasetMetadata

Metadata of delete dataset operation.

DeleteDatasetRequest

Request message for DeleteDataset.

DeleteGlossaryEntryRequest

Request message for Delete Glossary Entry

DeleteGlossaryMetadata

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

DeleteGlossaryRequest

Request message for DeleteGlossary.

DeleteGlossaryResponse

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

DeleteModelMetadata

Metadata of delete model operation.

DeleteModelRequest

Request message for DeleteModel.

DetectLanguageRequest

The request message for language detection.

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

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.

Example

A sentence pair.

ExportDataMetadata

Metadata of export data operation.

ExportDataRequest

Request message for ExportData.

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.

GetDatasetRequest

Request message for GetDataset.

GetGlossaryEntryRequest

Request message for the Get Glossary Entry Api

GetGlossaryRequest

Request message for GetGlossary.

GetModelRequest

Request message for GetModel.

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

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

GlossaryInputConfig

Input configuration for glossaries.

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

GlossaryTerm

Represents a single glossary term

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

ImportDataMetadata

Metadata of import data operation.

ImportDataRequest

Request message for ImportData.

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.

ListDatasetsRequest

Request message for ListDatasets.

ListDatasetsResponse

Response message for ListDatasets.

ListExamplesRequest

Request message for ListExamples.

ListExamplesResponse

Response message for ListExamples.

ListGlossariesRequest

Request message for ListGlossaries.

ListGlossariesResponse

Response message for ListGlossaries.

ListGlossaryEntriesRequest

Request message for ListGlossaryEntries

ListGlossaryEntriesResponse

Response message for ListGlossaryEntries

ListModelsRequest

Request message for ListModels.

ListModelsResponse

Response message for ListModels.

Model

A trained translation model.

OperationState

Possible states of long running operations.

OutputConfig

Output configuration for BatchTranslateText request.

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

Romanization

A single romanization response.

RomanizeTextRequest

The request message for synchronous romanization.

RomanizeTextResponse

The response message for synchronous romanization.

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.

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.

TranslateTextResponse

Translation

A single translation response.

TransliterationConfig

Configures transliteration feature on top of translation.

UpdateGlossaryEntryRequest

Request message for UpdateGlossaryEntry

UpdateGlossaryMetadata

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

UpdateGlossaryRequest

Request message for the update glossary flow