Method: projects.locations.models.create

Creates a Model.

HTTP request

POST https://translate.googleapis.com/v3/{parent=projects/*/locations/*}/models

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Request body

The request body contains an instance of Model.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.