Skip to main content

glossaries

Overview

Nameglossaries
TypeResource
Idgoogle.translate.glossaries

Fields

NameDatatypeDescription
namestringRequired. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.
inputConfigobjectInput configuration for glossaries.
languageCodesSetobjectUsed with equivalent term set glossaries.
languagePairobjectUsed with unidirectional glossaries.
submitTimestringOutput only. When CreateGlossary was called.
displayNamestringOptional. The display name of the glossary.
endTimestringOutput only. When the glossary creation was finished.
entryCountintegerOutput only. The number of entries defined in the glossary.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_glossaries_getSELECTglossariesId, locationsId, projectsIdGets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
projects_locations_glossaries_listSELECTlocationsId, projectsIdLists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
projects_locations_glossaries_createINSERTlocationsId, projectsIdCreates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.
projects_locations_glossaries_deleteDELETEglossariesId, locationsId, projectsIdDeletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.
_projects_locations_glossaries_listEXEClocationsId, projectsIdLists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
projects_locations_glossaries_patchEXECglossariesId, locationsId, projectsIdUpdates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.