Cloud Translation API (translate:v3)

2022-08-09

6 new methods

Additions

    Methods
  • translate.projects.locations.glossaries.glossaryEntries.list

      Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      Path: v3/{+parent}/glossaryEntries

      Description: List the entries for the glossary.

      Parameters:

        parent

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Location: path

          Type: string

          Description: Required. The parent glossary resource name for listing the glossary's entries.

        pageSize

          Location: query

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

          Type: integer

          Format: int32

        pageToken

          Location: query

          Type: string

          Description: Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if `page_token`is empty or missing.

      Scopes:

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

      HTTP Method: GET

  • translate.projects.locations.glossaries.glossaryEntries.create

      Description: Creates a glossary entry.

      Path: v3/{+parent}/glossaryEntries

      Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries

      Parameters:

        parent

          Required: Yes

          Location: path

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Description: Required. The resource name of the glossary to create the entry under.

      Scopes:

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

      HTTP Method: POST

  • translate.projects.locations.glossaries.glossaryEntries.patch

      Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      Description: Updates a glossary entry.

      Scopes:

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

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Type: string

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Description: Required. The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"

      Path: v3/{+name}

  • translate.projects.locations.glossaries.glossaryEntries.get

      Path: v3/{+name}

      HTTP Method: GET

      Parameter Order: name

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-translation
    • Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

      Parameters:

        name

          Required: Yes

          Description: Required. The resource name of the glossary entry to get

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Location: path

          Type: string

      Description: Gets a single glossary entry by the given id.

  • translate.projects.locations.glossaries.glossaryEntries.delete

      Path: v3/{+name}

      Parameters:

        name

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$

          Required: Yes

          Description: Required. The resource name of the glossary entry to delete

          Type: string

      Parameter Order: name

      Description: Deletes a single entry from the glossary

      Scopes:

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

      Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}

  • translate.projects.locations.glossaries.patch

      Flat Path: v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}

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

      Path: v3/{+name}

      Parameter Order: name

      Parameters:

        updateMask

          Description: The list of fields to be updated. Currently only `display_name` and 'input_config'

          Type: string

          Format: google-fieldmask

          Location: query

        name

          Location: path

          Description: Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$

          Required: Yes

      HTTP Method: PATCH

      Description: Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.