Package Methods (3.19.0)

Summary of entries of Methods for translate.

google.cloud.translate_v2.client.Client.detect_language

detect_language(values)

Detect the language of a string or list of strings.

See more: google.cloud.translate_v2.client.Client.detect_language

google.cloud.translate_v2.client.Client.get_languages

get_languages(target_language=None)

Get list of supported languages for translation.

See more: google.cloud.translate_v2.client.Client.get_languages

google.cloud.translate_v2.client.Client.translate

translate(
    values,
    target_language=None,
    format_=None,
    source_language=None,
    customization_ids=(),
    model=None,
)

Translate a string or list of strings.

See more: google.cloud.translate_v2.client.Client.translate

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient

TranslationServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.translate_v3.services.translation_service.transports.base.TranslationServiceTransport, typing.Callable[[...], google.cloud.translate_v3.services.translation_service.transports.base.TranslationServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the translation service async client.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.adaptive_mt_dataset_path

adaptive_mt_dataset_path(project: str, location: str, dataset: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.adaptive_mt_file_path

adaptive_mt_file_path(project: str, location: str, dataset: str, file: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.adaptive_mt_sentence_path

adaptive_mt_sentence_path(
    project: str, location: str, dataset: str, file: str, sentence: str
) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.adaptive_mt_translate

adaptive_mt_translate(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtTranslateRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    content: typing.Optional[typing.MutableSequence[str]] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtTranslateResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.batch_translate_document

batch_translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.BatchTranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    target_language_codes: typing.Optional[typing.MutableSequence[str]] = None,
    input_configs: typing.Optional[
        typing.MutableSequence[
            google.cloud.translate_v3.types.translation_service.BatchDocumentInputConfig
        ]
    ] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3.types.translation_service.BatchDocumentOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Translates a large volume of document in asynchronous batch mode.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.batch_translate_document

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.batch_translate_text

batch_translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.BatchTranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Translates a large volume of text in asynchronous batch mode.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.batch_translate_text

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.cancel_operation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_adaptive_mt_dataset

create_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.CreateAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    adaptive_mt_dataset: typing.Optional[
        google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_dataset

create_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.CreateDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    dataset: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.Dataset
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_glossary

create_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.CreateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary: typing.Optional[
        google.cloud.translate_v3.types.translation_service.Glossary
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Creates a glossary and returns the long-running operation.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_glossary_entry

create_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.CreateGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary_entry: typing.Optional[
        google.cloud.translate_v3.types.common.GlossaryEntry
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.create_model

create_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.CreateModelRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.Model
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.dataset_path

dataset_path(project: str, location: str, dataset: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_adaptive_mt_dataset

delete_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.DeleteAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_adaptive_mt_dataset

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_adaptive_mt_file

delete_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.DeleteAdaptiveMtFileRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_dataset

delete_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.DeleteDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_glossary

delete_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DeleteGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_glossary_entry

delete_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DeleteGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_model

delete_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.DeleteModelRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.detect_language

detect_language(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DetectLanguageRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    content: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.DetectLanguageResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.example_path

example_path(project: str, location: str, dataset: str, example: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.export_data

export_data(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ExportDataRequest, dict
        ]
    ] = None,
    *,
    dataset: typing.Optional[str] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.DatasetOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Exports dataset's data to the provided output location.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.export_data

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_file

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_info

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.from_service_account_json

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_adaptive_mt_dataset

get_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.GetAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_adaptive_mt_file

get_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.GetAdaptiveMtFileRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtFile

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_dataset

get_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.GetDatasetRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.automl_translation.Dataset

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_glossary

get_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetGlossaryRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.Glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_glossary_entry

get_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_location

get_location(
    request: typing.Optional[
        google.cloud.location.locations_pb2.GetLocationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_model

get_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.GetModelRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.automl_translation.Model

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_supported_languages

get_supported_languages(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetSupportedLanguagesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    display_language_code: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.SupportedLanguages

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.translate_v3.services.translation_service.transports.base.TranslationServiceTransport
]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.glossary_entry_path

glossary_entry_path(
    project: str, location: str, glossary: str, glossary_entry: str
) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.glossary_path

glossary_path(project: str, location: str, glossary: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.import_adaptive_mt_file

import_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ImportAdaptiveMtFileRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.ImportAdaptiveMtFileResponse

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.import_adaptive_mt_file

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.import_data

import_data(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ImportDataRequest, dict
        ]
    ] = None,
    *,
    dataset: typing.Optional[str] = None,
    input_config: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.DatasetInputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_adaptive_mt_datasets

list_adaptive_mt_datasets(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsAsyncPager
)

Lists all Adaptive MT datasets for which the caller has read permission.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_adaptive_mt_datasets

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_adaptive_mt_files

list_adaptive_mt_files(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesAsyncPager
)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_adaptive_mt_files

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_adaptive_mt_sentences

list_adaptive_mt_sentences(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesAsyncPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_datasets

list_datasets(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsAsyncPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_examples

list_examples(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListExamplesRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListExamplesAsyncPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_glossaries

list_glossaries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesAsyncPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_glossary_entries

list_glossary_entries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesAsyncPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_locations

list_locations(
    request: typing.Optional[
        google.cloud.location.locations_pb2.ListLocationsRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse

Lists information about the supported locations for this service.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_locations

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_models

list_models(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListModelsRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.services.translation_service.pagers.ListModelsAsyncPager

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.list_operations

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_adaptive_mt_dataset_path

parse_adaptive_mt_dataset_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_adaptive_mt_file_path

parse_adaptive_mt_file_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_adaptive_mt_sentence_path

parse_adaptive_mt_sentence_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_dataset_path

parse_dataset_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_example_path

parse_example_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_glossary_entry_path

parse_glossary_entry_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_glossary_path

parse_glossary_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.romanize_text

romanize_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.RomanizeTextRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    contents: typing.Optional[typing.MutableSequence[str]] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.RomanizeTextResponse

Romanize input text written in non-Latin scripts to Latin text.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.romanize_text

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.translate_document

translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.TranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.TranslateDocumentResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.translate_text

translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.TranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    target_language_code: typing.Optional[str] = None,
    contents: typing.Optional[typing.MutableSequence[str]] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.TranslateTextResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.update_glossary

update_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.UpdateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    glossary: typing.Optional[
        google.cloud.translate_v3.types.translation_service.Glossary
    ] = None,
    update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.update_glossary_entry

update_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.UpdateGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    glossary_entry: typing.Optional[
        google.cloud.translate_v3.types.common.GlossaryEntry
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.wait_operation

wait_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.WaitOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceAsyncClient.wait_operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient

TranslationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.translate_v3.services.translation_service.transports.base.TranslationServiceTransport, typing.Callable[[...], google.cloud.translate_v3.services.translation_service.transports.base.TranslationServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the translation service client.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.__exit__

__exit__(type, value, traceback)

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.adaptive_mt_dataset_path

adaptive_mt_dataset_path(project: str, location: str, dataset: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.adaptive_mt_file_path

adaptive_mt_file_path(project: str, location: str, dataset: str, file: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.adaptive_mt_sentence_path

adaptive_mt_sentence_path(
    project: str, location: str, dataset: str, file: str, sentence: str
) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.adaptive_mt_translate

adaptive_mt_translate(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtTranslateRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    content: typing.Optional[typing.MutableSequence[str]] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtTranslateResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.batch_translate_document

batch_translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.BatchTranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    target_language_codes: typing.Optional[typing.MutableSequence[str]] = None,
    input_configs: typing.Optional[
        typing.MutableSequence[
            google.cloud.translate_v3.types.translation_service.BatchDocumentInputConfig
        ]
    ] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3.types.translation_service.BatchDocumentOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Translates a large volume of document in asynchronous batch mode.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.batch_translate_document

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.batch_translate_text

batch_translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.BatchTranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Translates a large volume of text in asynchronous batch mode.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.batch_translate_text

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.cancel_operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.common_project_path

common_project_path(project: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_adaptive_mt_dataset

create_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.CreateAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    adaptive_mt_dataset: typing.Optional[
        google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_dataset

create_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.CreateDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    dataset: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.Dataset
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_glossary

create_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.CreateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary: typing.Optional[
        google.cloud.translate_v3.types.translation_service.Glossary
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Creates a glossary and returns the long-running operation.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_glossary_entry

create_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.CreateGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary_entry: typing.Optional[
        google.cloud.translate_v3.types.common.GlossaryEntry
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.create_model

create_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.CreateModelRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.Model
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.dataset_path

dataset_path(project: str, location: str, dataset: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_adaptive_mt_dataset

delete_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.DeleteAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_adaptive_mt_dataset

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_adaptive_mt_file

delete_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.DeleteAdaptiveMtFileRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_dataset

delete_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.DeleteDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_glossary

delete_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DeleteGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_glossary_entry

delete_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DeleteGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_model

delete_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.DeleteModelRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.detect_language

detect_language(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.DetectLanguageRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    content: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.DetectLanguageResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.example_path

example_path(project: str, location: str, dataset: str, example: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.export_data

export_data(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ExportDataRequest, dict
        ]
    ] = None,
    *,
    dataset: typing.Optional[str] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.DatasetOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Exports dataset's data to the provided output location.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.export_data

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_file

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_info

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.from_service_account_json

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_adaptive_mt_dataset

get_adaptive_mt_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.GetAdaptiveMtDatasetRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtDataset

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_adaptive_mt_file

get_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.GetAdaptiveMtFileRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.AdaptiveMtFile

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_dataset

get_dataset(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.GetDatasetRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.automl_translation.Dataset

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_glossary

get_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetGlossaryRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.Glossary

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_glossary_entry

get_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_location

get_location(
    request: typing.Optional[
        google.cloud.location.locations_pb2.GetLocationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.Location

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_model

get_model(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.GetModelRequest, dict
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.automl_translation.Model

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.get_supported_languages

get_supported_languages(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.GetSupportedLanguagesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    display_language_code: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.SupportedLanguages

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.glossary_entry_path

glossary_entry_path(
    project: str, location: str, glossary: str, glossary_entry: str
) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.glossary_path

glossary_path(project: str, location: str, glossary: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.import_adaptive_mt_file

import_adaptive_mt_file(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ImportAdaptiveMtFileRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.adaptive_mt.ImportAdaptiveMtFileResponse

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.import_adaptive_mt_file

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.import_data

import_data(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ImportDataRequest, dict
        ]
    ] = None,
    *,
    dataset: typing.Optional[str] = None,
    input_config: typing.Optional[
        google.cloud.translate_v3.types.automl_translation.DatasetInputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_adaptive_mt_datasets

list_adaptive_mt_datasets(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsPager
)

Lists all Adaptive MT datasets for which the caller has read permission.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_adaptive_mt_datasets

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_adaptive_mt_files

list_adaptive_mt_files(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesPager
)

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_adaptive_mt_files

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_adaptive_mt_sentences

list_adaptive_mt_sentences(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_datasets

list_datasets(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsPager

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_examples

list_examples(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListExamplesRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.services.translation_service.pagers.ListExamplesPager

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_glossaries

list_glossaries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesPager

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_glossary_entries

list_glossary_entries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesPager
)

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_locations

list_locations(
    request: typing.Optional[
        google.cloud.location.locations_pb2.ListLocationsRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.location.locations_pb2.ListLocationsResponse

Lists information about the supported locations for this service.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_locations

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_models

list_models(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.automl_translation.ListModelsRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.services.translation_service.pagers.ListModelsPager

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.list_operations

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_adaptive_mt_dataset_path

parse_adaptive_mt_dataset_path(path: str) -> typing.Dict[str, str]

Parses a adaptive_mt_dataset path into its component segments.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_adaptive_mt_dataset_path

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_adaptive_mt_file_path

parse_adaptive_mt_file_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_adaptive_mt_sentence_path

parse_adaptive_mt_sentence_path(path: str) -> typing.Dict[str, str]

Parses a adaptive_mt_sentence path into its component segments.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_adaptive_mt_sentence_path

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_dataset_path

parse_dataset_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_example_path

parse_example_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_glossary_entry_path

parse_glossary_entry_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_glossary_path

parse_glossary_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.romanize_text

romanize_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.RomanizeTextRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    contents: typing.Optional[typing.MutableSequence[str]] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.RomanizeTextResponse

Romanize input text written in non-Latin scripts to Latin text.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.romanize_text

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.translate_document

translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.TranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.TranslateDocumentResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.translate_text

translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.TranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    target_language_code: typing.Optional[str] = None,
    contents: typing.Optional[typing.MutableSequence[str]] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.translation_service.TranslateTextResponse

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.update_glossary

update_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.UpdateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    glossary: typing.Optional[
        google.cloud.translate_v3.types.translation_service.Glossary
    ] = None,
    update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.update_glossary_entry

update_glossary_entry(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3.types.translation_service.UpdateGlossaryEntryRequest,
            dict,
        ]
    ] = None,
    *,
    glossary_entry: typing.Optional[
        google.cloud.translate_v3.types.common.GlossaryEntry
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3.types.common.GlossaryEntry

google.cloud.translate_v3.services.translation_service.TranslationServiceClient.wait_operation

wait_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.WaitOperationRequest
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state.

See more: google.cloud.translate_v3.services.translation_service.TranslationServiceClient.wait_operation

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsAsyncPager

ListAdaptiveMtDatasetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtDatasetsPager

ListAdaptiveMtDatasetsPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesAsyncPager

ListAdaptiveMtFilesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtFilesPager

ListAdaptiveMtFilesPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesAsyncPager

ListAdaptiveMtSentencesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListAdaptiveMtSentencesPager

ListAdaptiveMtSentencesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsAsyncPager

ListDatasetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListDatasetsPager

ListDatasetsPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListExamplesAsyncPager

ListExamplesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListExamplesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListExamplesRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListExamplesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListExamplesPager

ListExamplesPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListExamplesResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListExamplesRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListExamplesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesAsyncPager

ListGlossariesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.translation_service.ListGlossariesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListGlossariesPager

ListGlossariesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesAsyncPager

ListGlossaryEntriesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListGlossaryEntriesPager

ListGlossaryEntriesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListModelsAsyncPager

ListModelsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListModelsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListModelsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListModelsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3.services.translation_service.pagers.ListModelsPager

ListModelsPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListModelsResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListModelsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListModelsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient

TranslationServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.translate_v3beta1.services.translation_service.transports.base.TranslationServiceTransport, typing.Callable[[...], google.cloud.translate_v3beta1.services.translation_service.transports.base.TranslationServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the translation service async client.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.batch_translate_document

batch_translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.BatchTranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    target_language_codes: typing.Optional[typing.MutableSequence[str]] = None,
    input_configs: typing.Optional[
        typing.MutableSequence[
            google.cloud.translate_v3beta1.types.translation_service.BatchDocumentInputConfig
        ]
    ] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3beta1.types.translation_service.BatchDocumentOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Translates a large volume of document in asynchronous batch mode.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.batch_translate_document

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.batch_translate_text

batch_translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.BatchTranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.create_glossary

create_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.CreateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary: typing.Optional[
        google.cloud.translate_v3beta1.types.translation_service.Glossary
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Creates a glossary and returns the long-running operation.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.create_glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.delete_glossary

delete_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.DeleteGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.delete_glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.detect_language

detect_language(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.DetectLanguageRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.DetectLanguageResponse

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_file

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_info

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.from_service_account_json

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.get_glossary

get_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.GetGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.Glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.get_supported_languages

get_supported_languages(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.GetSupportedLanguagesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    display_language_code: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.SupportedLanguages

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.translate_v3beta1.services.translation_service.transports.base.TranslationServiceTransport
]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.glossary_path

glossary_path(project: str, location: str, glossary: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.list_glossaries

list_glossaries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.ListGlossariesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    filter: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesAsyncPager
)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.parse_glossary_path

parse_glossary_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.translate_document

translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.TranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.TranslateDocumentResponse

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceAsyncClient.translate_text

translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.TranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.TranslateTextResponse

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient

TranslationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.translate_v3beta1.services.translation_service.transports.base.TranslationServiceTransport, typing.Callable[[...], google.cloud.translate_v3beta1.services.translation_service.transports.base.TranslationServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the translation service client.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.__exit__

__exit__(type, value, traceback)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.batch_translate_document

batch_translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.BatchTranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    source_language_code: typing.Optional[str] = None,
    target_language_codes: typing.Optional[typing.MutableSequence[str]] = None,
    input_configs: typing.Optional[
        typing.MutableSequence[
            google.cloud.translate_v3beta1.types.translation_service.BatchDocumentInputConfig
        ]
    ] = None,
    output_config: typing.Optional[
        google.cloud.translate_v3beta1.types.translation_service.BatchDocumentOutputConfig
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Translates a large volume of document in asynchronous batch mode.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.batch_translate_document

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.batch_translate_text

batch_translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.BatchTranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Translates a large volume of text in asynchronous batch mode.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.batch_translate_text

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.common_project_path

common_project_path(project: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.create_glossary

create_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.CreateGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    glossary: typing.Optional[
        google.cloud.translate_v3beta1.types.translation_service.Glossary
    ] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Creates a glossary and returns the long-running operation.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.create_glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.delete_glossary

delete_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.DeleteGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.delete_glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.detect_language

detect_language(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.DetectLanguageRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    mime_type: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.DetectLanguageResponse

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_file

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_info

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.from_service_account_json

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.get_glossary

get_glossary(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.GetGlossaryRequest,
            dict,
        ]
    ] = None,
    *,
    name: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.Glossary

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.get_supported_languages

get_supported_languages(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.GetSupportedLanguagesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    display_language_code: typing.Optional[str] = None,
    model: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.SupportedLanguages

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.glossary_path

glossary_path(project: str, location: str, glossary: str) -> str

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.list_glossaries

list_glossaries(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.ListGlossariesRequest,
            dict,
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    filter: typing.Optional[str] = None,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
    google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesPager
)

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.parse_glossary_path

parse_glossary_path(path: str) -> typing.Dict[str, str]

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.translate_document

translate_document(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.TranslateDocumentRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.TranslateDocumentResponse

google.cloud.translate_v3beta1.services.translation_service.TranslationServiceClient.translate_text

translate_text(
    request: typing.Optional[
        typing.Union[
            google.cloud.translate_v3beta1.types.translation_service.TranslateTextRequest,
            dict,
        ]
    ] = None,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.translate_v3beta1.types.translation_service.TranslateTextResponse

google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesAsyncPager

ListGlossariesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3beta1.types.translation_service.ListGlossariesResponse
        ],
    ],
    request: google.cloud.translate_v3beta1.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3beta1.types.translation_service.ListGlossariesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

google.cloud.translate_v3beta1.services.translation_service.pagers.ListGlossariesPager

ListGlossariesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3beta1.types.translation_service.ListGlossariesResponse,
    ],
    request: google.cloud.translate_v3beta1.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3beta1.types.translation_service.ListGlossariesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)