projects

Translate text using Adaptive MT.

post/v3/{+parent}:adaptiveMtTranslate

Request

  • Base URL: https://translation.googleapis.com
  • URL: https://translation.googleapis.com/v3/{+parent}:adaptiveMtTranslate
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-translation) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-translation)

Path parameters

parentstring required

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

Request body

contentstring[]

Required. The content of the input in string format.

datasetstring

Required. The resource name for the dataset to use for adaptive MT translation. projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}

mimeTypestring

The format of the source text. Currently only text/plain is supported.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-translation was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-translation was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-translation was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-translation was removed from the endpoint's security scheme Oauth2c

    • info

      added the new optional request property