public class Translate.Projects.Locations.Glossaries.GlossaryEntries extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries.Create |
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries.Delete |
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries.Get |
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries.List |
class |
Translate.Projects.Locations.Glossaries.GlossaryEntries.Patch |
| Constructor and Description |
|---|
GlossaryEntries() |
| Modifier and Type | Method and Description |
|---|---|
Translate.Projects.Locations.Glossaries.GlossaryEntries.Create |
create(String parent,
GlossaryEntry content)
Creates a glossary entry.
|
Translate.Projects.Locations.Glossaries.GlossaryEntries.Delete |
delete(String name)
Deletes a single entry from the glossary
Create a request for the method "glossaryEntries.delete".
|
Translate.Projects.Locations.Glossaries.GlossaryEntries.Get |
get(String name)
Gets a single glossary entry by the given id.
|
Translate.Projects.Locations.Glossaries.GlossaryEntries.List |
list(String parent)
List the entries for the glossary.
|
Translate.Projects.Locations.Glossaries.GlossaryEntries.Patch |
patch(String name,
GlossaryEntry content)
Updates a glossary entry.
|
public Translate.Projects.Locations.Glossaries.GlossaryEntries.Create create(String parent, GlossaryEntry content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the glossary to create the entry under.content - the GlossaryEntryIOExceptionpublic Translate.Projects.Locations.Glossaries.GlossaryEntries.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the glossary entry to deleteIOExceptionpublic Translate.Projects.Locations.Glossaries.GlossaryEntries.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the glossary entry to getIOExceptionpublic Translate.Projects.Locations.Glossaries.GlossaryEntries.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent glossary resource name for listing the glossary's entries.IOExceptionpublic Translate.Projects.Locations.Glossaries.GlossaryEntries.Patch patch(String name, GlossaryEntry content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the entry. Format: "projects/locations/glossaries/glossaryEntries"content - the GlossaryEntryIOExceptionCopyright © 2011–2023 Google. All rights reserved.