ProjectsLocationsGlossaries
class ProjectsLocationsGlossaries extends Resource (View source)
The "glossaries" collection of methods.
Typical usage is:
$translateService = new Google\Service\Translate(...);
$glossaries = $translateService->projects_locations_glossaries;
Methods
Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.
Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist. (glossaries.listProjectsLocationsGlossaries)
Details
Operation
create(string $parent, Glossary $postBody, array $optParams = [])
Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist. (glossaries.create)
Operation
delete(string $name, array $optParams = [])
Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.
(glossaries.delete)
Glossary
get(string $name, array $optParams = [])
Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
(glossaries.get)
ListGlossariesResponse
listProjectsLocationsGlossaries(string $parent, array $optParams = [])
Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist. (glossaries.listProjectsLocationsGlossaries)