Method: projects.locations.glossaries.list

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

HTTP request

GET https://translation.googleapis.com/v3beta1/{parent=projects/*/locations/*}/glossaries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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

  • cloudtranslate.glossaries.list

Query parameters

Parameters
pageSize

number

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

pageToken

string

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 glossaries.list method. The first page is returned if pageTokenis empty or missing.

filter

string

Optional. Filter specifying constraints of a list operation. Filtering is not supported yet, and the parameter currently has no effect. If missing, no filtering is performed.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for glossaries.list.

JSON representation
{
  "glossaries": [
    {
      object (Glossary)
    }
  ],
  "nextPageToken": string
}
Fields
glossaries[]

object (Glossary)

The list of glossaries for a project.

nextPageToken

string

A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to glossaries.list method to retrieve the next page of results.

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.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Translation
Need help? Visit our support page.