public class Translate.Projects.Locations.Glossaries extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Translate.Projects.Locations.Glossaries.Create |
class |
Translate.Projects.Locations.Glossaries.Delete |
class |
Translate.Projects.Locations.Glossaries.Get |
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries
The "glossaryEntries" collection of methods.
|
class |
Translate.Projects.Locations.Glossaries.List |
class |
Translate.Projects.Locations.Glossaries.Patch |
| Constructor and Description |
|---|
Glossaries() |
| Modifier and Type | Method and Description |
|---|---|
Translate.Projects.Locations.Glossaries.Create |
create(String parent,
Glossary content)
Creates a glossary and returns the long-running operation.
|
Translate.Projects.Locations.Glossaries.Delete |
delete(String name)
Deletes a glossary, or cancels glossary construction if the glossary isn't created yet.
|
Translate.Projects.Locations.Glossaries.Get |
get(String name)
Gets a glossary.
|
Translate.Projects.Locations.Glossaries.GlossaryEntries |
glossaryEntries()
An accessor for creating requests from the GlossaryEntries collection.
|
Translate.Projects.Locations.Glossaries.List |
list(String parent)
Lists glossaries in a project.
|
Translate.Projects.Locations.Glossaries.Patch |
patch(String name,
Glossary content)
Updates a glossary.
|
public Translate.Projects.Locations.Glossaries.Create create(String parent, Glossary content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project name.content - the GlossaryIOExceptionpublic Translate.Projects.Locations.Glossaries.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the glossary to delete.IOExceptionpublic Translate.Projects.Locations.Glossaries.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the glossary to retrieve.IOExceptionpublic Translate.Projects.Locations.Glossaries.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the project from which to list all of the glossaries.IOExceptionpublic Translate.Projects.Locations.Glossaries.Patch patch(String name, Glossary content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-
or-id}/locations/{location-id}/glossaries/{glossary-id}`.content - the GlossaryIOExceptionpublic Translate.Projects.Locations.Glossaries.GlossaryEntries glossaryEntries()
The typical use is:
Translate translate = new Translate(...);Translate.GlossaryEntries.List request = translate.glossaryEntries().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.