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.List |
| 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.List |
list(String parent)
Lists glossaries in a project.
|
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.IOExceptionCopyright © 2011–2021 Google. All rights reserved.