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/v3beta1/{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 the following OAuth scope:

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

For more information, see the Authentication Overview.