Method: projects.locations.glossaries.create

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project name.

Authorization requires the following IAM permission on the specified resource parent:

  • cloudtranslate.glossaries.create

Request body

The request body contains an instance of Glossary.

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-platform
  • https://www.googleapis.com/auth/cloud-translation

For more information, see the Authentication Overview.