Cloud Translation API (translate:v3)

2024-10-29

50 new methods | New API

Additions

    Methods
  • translate.projects.translateText

      Path : v3/{+parent}:translateText

      Flat Path : v3/projects/{projectsId}:translateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates input text and returns translated text.

  • translate.projects.romanizeText

      Path : v3/{+parent}:romanizeText

      Flat Path : v3/projects/{projectsId}:romanizeText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Romanize input text written in non-Latin scripts to Latin text.

  • translate.projects.detectLanguage

      Path : v3/{+parent}:detectLanguage

      Flat Path : v3/projects/{projectsId}:detectLanguage

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Detects the language of text within a request.

  • translate.projects.getSupportedLanguages

      Path : v3/{+parent}/supportedLanguages

      Flat Path : v3/projects/{projectsId}/supportedLanguages

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

        displayLanguageCode

          Description : Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.

          Location : query

          Type : string

        model

          Description : Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Returns a list of supported languages for translation.

  • translate.projects.locations.list

      Path : v3/{+name}/locations

      Flat Path : v3/projects/{projectsId}/locations

      HTTP Method : GET

      Parameters :

        name

          Description : The resource that owns the locations collection, if applicable.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).

          Location : query

          Type : string

        pageSize

          Description : The maximum number of results to return. If not set, the service selects a default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

          Location : query

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists information about the supported locations for this service.

  • translate.projects.locations.get

  • translate.projects.locations.translateText

      Path : v3/{+parent}:translateText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:translateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates input text and returns translated text.

  • translate.projects.locations.romanizeText

      Path : v3/{+parent}:romanizeText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:romanizeText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Romanize input text written in non-Latin scripts to Latin text.

  • translate.projects.locations.detectLanguage

      Path : v3/{+parent}:detectLanguage

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:detectLanguage

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Detects the language of text within a request.

  • translate.projects.locations.getSupportedLanguages

      Path : v3/{+parent}/supportedLanguages

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/supportedLanguages

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        displayLanguageCode

          Description : Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.

          Location : query

          Type : string

        model

          Description : Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Returns a list of supported languages for translation.

  • translate.projects.locations.translateDocument

      Path : v3/{+parent}:translateDocument

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:translateDocument

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates documents in synchronous mode.

  • translate.projects.locations.batchTranslateText

      Path : v3/{+parent}:batchTranslateText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:batchTranslateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

  • translate.projects.locations.batchTranslateDocument

      Path : v3/{+parent}:batchTranslateDocument

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:batchTranslateDocument

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

  • translate.projects.locations.adaptiveMtTranslate

      Path : v3/{+parent}:adaptiveMtTranslate

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:adaptiveMtTranslate

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translate text using Adaptive MT.

  • translate.projects.locations.operations.list

      Path : v3/{+name}/operations

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations

      HTTP Method : GET

      Parameters :

        name

          Description : The name of the operation's parent resource.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : The standard list filter.

          Location : query

          Type : string

        pageSize

          Description : The standard list page size.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : The standard list page token.

          Location : query

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

  • translate.projects.locations.operations.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      HTTP Method : GET

      Parameters :

        name

          Description : The name of the operation resource.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

  • translate.projects.locations.operations.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : The name of the operation resource to be deleted.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

  • translate.projects.locations.operations.cancel

      Path : v3/{+name}:cancel

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel

      HTTP Method : POST

      Parameters :

        name

          Description : The name of the operation resource to be cancelled.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

  • translate.projects.locations.operations.wait

      Path : v3/{+name}:wait

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait

      HTTP Method : POST

      Parameters :

        name

          Description : The name of the operation resource to wait on.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

  • translate.projects.locations.glossaries.create

      Path : v3/{+parent}/glossaries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The project name.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

  • translate.projects.locations.glossaries.patch

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : The list of fields to be updated. Currently only `display_name` and 'input_config'

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

  • translate.projects.locations.glossaries.list

      Path : v3/{+parent}/glossaries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The name of the project from which to list all of the glossaries.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to `ListGlossaries` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

        filter

          Description : Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

  • translate.projects.locations.glossaries.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The name of the glossary to retrieve.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

  • translate.projects.locations.glossaries.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The name of the glossary to delete.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

  • translate.projects.locations.glossaries.glossaryEntries.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the glossary entry to get

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets a single glossary entry by the given id.

  • translate.projects.locations.glossaries.glossaryEntries.list

      Path : v3/{+parent}/glossaryEntries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent glossary resource name for listing the glossary's entries.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : List the entries for the glossary.

  • translate.projects.locations.glossaries.glossaryEntries.create

      Path : v3/{+parent}/glossaryEntries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The resource name of the glossary to create the entry under.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a glossary entry.

  • translate.projects.locations.glossaries.glossaryEntries.patch

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Updates a glossary entry.

  • translate.projects.locations.glossaries.glossaryEntries.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The resource name of the glossary entry to delete

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a single entry from the glossary

  • translate.projects.locations.datasets.create

  • translate.projects.locations.datasets.get

  • translate.projects.locations.datasets.list

      Path : v3/{+parent}/datasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListDatasets call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists datasets.

  • translate.projects.locations.datasets.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The name of the dataset to delete.

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a dataset and all of its contents.

  • translate.projects.locations.datasets.importData

      Path : v3/{+dataset}:importData

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData

      HTTP Method : POST

      Parameters :

        dataset

          Description : Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : dataset

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Import sentence pairs into translation Dataset.

  • translate.projects.locations.datasets.exportData

      Path : v3/{+dataset}:exportData

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData

      HTTP Method : POST

      Parameters :

        dataset

          Description : Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : dataset

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Exports dataset's data to the provided output location.

  • translate.projects.locations.datasets.examples.list

      Path : v3/{+parent}/examples

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`

          Location : query

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists sentence pairs in the dataset.

  • translate.projects.locations.adaptiveMtDatasets.create

      Path : v3/{+parent}/adaptiveMtDatasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates an Adaptive MT dataset.

  • translate.projects.locations.adaptiveMtDatasets.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes an Adaptive MT dataset, including all its entries and associated metadata.

  • translate.projects.locations.adaptiveMtDatasets.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets the Adaptive MT dataset.

  • translate.projects.locations.adaptiveMtDatasets.list

      Path : v3/{+parent}/adaptiveMtDatasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT datasets. `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to `ListAdaptiveMtDatasets` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

        filter

          Description : Optional. An expression for filtering the results of the request. Filter is not supported yet.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all Adaptive MT datasets for which the caller has read permission.

  • translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile

      Path : v3/{+parent}:importAdaptiveMtFile

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}:importAdaptiveMtFile

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets and AdaptiveMtFile

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The resource name of the file to delete, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes an AdaptiveMtFile along with its sentences.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list

      Path : v3/{+parent}/adaptiveMtFiles

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list

      Path : v3/{+parent}/adaptiveMtSentences

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}/adaptiveMtSentences

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtSentences under a given file/dataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list

      Path : v3/{+parent}/adaptiveMtSentences

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtSentences

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtSentences under a given file/dataset.

  • translate.projects.locations.models.create

      Path : v3/{+parent}/models

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/models

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The project name, in form of `projects/{project}/locations/{location}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a Model.

  • translate.projects.locations.models.list

      Path : v3/{+parent}/models

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/models

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}`

          Location : query

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists models.

  • translate.projects.locations.models.get

  • translate.projects.locations.models.delete

50 removed methods | Removed API

Deletions

    Methods
  • translate.projects.translateText

      Path : v3/{+parent}:translateText

      Flat Path : v3/projects/{projectsId}:translateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates input text and returns translated text.

  • translate.projects.romanizeText

      Path : v3/{+parent}:romanizeText

      Flat Path : v3/projects/{projectsId}:romanizeText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Romanize input text written in non-Latin scripts to Latin text.

  • translate.projects.detectLanguage

      Path : v3/{+parent}:detectLanguage

      Flat Path : v3/projects/{projectsId}:detectLanguage

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Detects the language of text within a request.

  • translate.projects.getSupportedLanguages

      Path : v3/{+parent}/supportedLanguages

      Flat Path : v3/projects/{projectsId}/supportedLanguages

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

        displayLanguageCode

          Description : Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.

          Location : query

          Type : string

        model

          Description : Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Returns a list of supported languages for translation.

  • translate.projects.locations.list

      Path : v3/{+name}/locations

      Flat Path : v3/projects/{projectsId}/locations

      HTTP Method : GET

      Parameters :

        name

          Description : The resource that owns the locations collection, if applicable.

          Pattern : ^projects/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).

          Location : query

          Type : string

        pageSize

          Description : The maximum number of results to return. If not set, the service selects a default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

          Location : query

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists information about the supported locations for this service.

  • translate.projects.locations.get

  • translate.projects.locations.translateText

      Path : v3/{+parent}:translateText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:translateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates input text and returns translated text.

  • translate.projects.locations.romanizeText

      Path : v3/{+parent}:romanizeText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:romanizeText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Romanize input text written in non-Latin scripts to Latin text.

  • translate.projects.locations.detectLanguage

      Path : v3/{+parent}:detectLanguage

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:detectLanguage

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Detects the language of text within a request.

  • translate.projects.locations.getSupportedLanguages

      Path : v3/{+parent}/supportedLanguages

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/supportedLanguages

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        displayLanguageCode

          Description : Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.

          Location : query

          Type : string

        model

          Description : Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Returns a list of supported languages for translation.

  • translate.projects.locations.translateDocument

      Path : v3/{+parent}:translateDocument

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:translateDocument

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translates documents in synchronous mode.

  • translate.projects.locations.batchTranslateText

      Path : v3/{+parent}:batchTranslateText

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:batchTranslateText

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

  • translate.projects.locations.batchTranslateDocument

      Path : v3/{+parent}:batchTranslateDocument

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:batchTranslateDocument

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.

  • translate.projects.locations.adaptiveMtTranslate

      Path : v3/{+parent}:adaptiveMtTranslate

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}:adaptiveMtTranslate

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Translate text using Adaptive MT.

  • translate.projects.locations.operations.list

      Path : v3/{+name}/operations

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations

      HTTP Method : GET

      Parameters :

        name

          Description : The name of the operation's parent resource.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : The standard list filter.

          Location : query

          Type : string

        pageSize

          Description : The standard list page size.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : The standard list page token.

          Location : query

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

  • translate.projects.locations.operations.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      HTTP Method : GET

      Parameters :

        name

          Description : The name of the operation resource.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

  • translate.projects.locations.operations.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : The name of the operation resource to be deleted.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

  • translate.projects.locations.operations.cancel

      Path : v3/{+name}:cancel

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel

      HTTP Method : POST

      Parameters :

        name

          Description : The name of the operation resource to be cancelled.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

  • translate.projects.locations.operations.wait

      Path : v3/{+name}:wait

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait

      HTTP Method : POST

      Parameters :

        name

          Description : The name of the operation resource to wait on.

          Pattern : ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

  • translate.projects.locations.glossaries.create

      Path : v3/{+parent}/glossaries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The project name.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

  • translate.projects.locations.glossaries.patch

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : The list of fields to be updated. Currently only `display_name` and 'input_config'

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

  • translate.projects.locations.glossaries.list

      Path : v3/{+parent}/glossaries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The name of the project from which to list all of the glossaries.

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to `ListGlossaries` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

        filter

          Description : Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

  • translate.projects.locations.glossaries.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The name of the glossary to retrieve.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

  • translate.projects.locations.glossaries.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The name of the glossary to delete.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

  • translate.projects.locations.glossaries.glossaryEntries.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the glossary entry to get

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets a single glossary entry by the given id.

  • translate.projects.locations.glossaries.glossaryEntries.list

      Path : v3/{+parent}/glossaryEntries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent glossary resource name for listing the glossary's entries.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : List the entries for the glossary.

  • translate.projects.locations.glossaries.glossaryEntries.create

      Path : v3/{+parent}/glossaryEntries

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The resource name of the glossary to create the entry under.

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a glossary entry.

  • translate.projects.locations.glossaries.glossaryEntries.patch

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Updates a glossary entry.

  • translate.projects.locations.glossaries.glossaryEntries.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The resource name of the glossary entry to delete

          Pattern : ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a single entry from the glossary

  • translate.projects.locations.datasets.create

  • translate.projects.locations.datasets.get

  • translate.projects.locations.datasets.list

      Path : v3/{+parent}/datasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListDatasets call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists datasets.

  • translate.projects.locations.datasets.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The name of the dataset to delete.

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes a dataset and all of its contents.

  • translate.projects.locations.datasets.importData

      Path : v3/{+dataset}:importData

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData

      HTTP Method : POST

      Parameters :

        dataset

          Description : Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : dataset

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Import sentence pairs into translation Dataset.

  • translate.projects.locations.datasets.exportData

      Path : v3/{+dataset}:exportData

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData

      HTTP Method : POST

      Parameters :

        dataset

          Description : Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : dataset

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Exports dataset's data to the provided output location.

  • translate.projects.locations.datasets.examples.list

      Path : v3/{+parent}/examples

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/datasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`

          Location : query

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists sentence pairs in the dataset.

  • translate.projects.locations.adaptiveMtDatasets.create

      Path : v3/{+parent}/adaptiveMtDatasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates an Adaptive MT dataset.

  • translate.projects.locations.adaptiveMtDatasets.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes an Adaptive MT dataset, including all its entries and associated metadata.

  • translate.projects.locations.adaptiveMtDatasets.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets the Adaptive MT dataset.

  • translate.projects.locations.adaptiveMtDatasets.list

      Path : v3/{+parent}/adaptiveMtDatasets

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT datasets. `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to `ListAdaptiveMtDatasets` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

        filter

          Description : Optional. An expression for filtering the results of the request. Filter is not supported yet.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all Adaptive MT datasets for which the caller has read permission.

  • translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile

      Path : v3/{+parent}:importAdaptiveMtFile

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}:importAdaptiveMtFile

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Gets and AdaptiveMtFile

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete

      Path : v3/{+name}

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The resource name of the file to delete, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Deletes an AdaptiveMtFile along with its sentences.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list

      Path : v3/{+parent}/adaptiveMtFiles

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list

      Path : v3/{+parent}/adaptiveMtSentences

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}/adaptiveMtSentences

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtSentences under a given file/dataset.

  • translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list

      Path : v3/{+parent}/adaptiveMtSentences

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtSentences

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

          Pattern : ^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists all AdaptiveMtSentences under a given file/dataset.

  • translate.projects.locations.models.create

      Path : v3/{+parent}/models

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/models

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The project name, in form of `projects/{project}/locations/{location}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Creates a Model.

  • translate.projects.locations.models.list

      Path : v3/{+parent}/models

      Flat Path : v3/projects/{projectsId}/locations/{locationsId}/models

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        filter

          Description : Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}`

          Location : query

          Type : string

        pageSize

          Description : Optional. Requested page size. The server can return fewer results than requested.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Description : Lists models.

  • translate.projects.locations.models.get

  • translate.projects.locations.models.delete