target.apidocs.com.google.api.services.translate.v3.Translate.Projects.Locations.Glossaries.GlossaryEntries.html Maven / Gradle / Ivy
The newest version!
Translate.Projects.Locations.Glossaries.GlossaryEntries (Cloud Translation API v3-rev20241218-2.0.0)
com.google.api.services.translate.v3
Class Translate.Projects.Locations.Glossaries.GlossaryEntries
- java.lang.Object
-
- com.google.api.services.translate.v3.Translate.Projects.Locations.Glossaries.GlossaryEntries
-
- Enclosing class:
- Translate.Projects.Locations.Glossaries
public class Translate.Projects.Locations.Glossaries.GlossaryEntries
extends Object
The "glossaryEntries" collection of methods.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
GlossaryEntries()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
create
public Translate.Projects.Locations.Glossaries.GlossaryEntries.Create create(String parent,
GlossaryEntry content)
throws IOException
Creates a glossary entry.
Create a request for the method "glossaryEntries.create".
This request holds the parameters needed by the translate server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the glossary to create the entry under.
content
- the GlossaryEntry
- Returns:
- the request
- Throws:
IOException
-
delete
public Translate.Projects.Locations.Glossaries.GlossaryEntries.Delete delete(String name)
throws IOException
Deletes a single entry from the glossary
Create a request for the method "glossaryEntries.delete".
This request holds the parameters needed by the translate server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the glossary entry to delete
- Returns:
- the request
- Throws:
IOException
-
get
public Translate.Projects.Locations.Glossaries.GlossaryEntries.Get get(String name)
throws IOException
Gets a single glossary entry by the given id.
Create a request for the method "glossaryEntries.get".
This request holds the parameters needed by the translate server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the glossary entry to get
- Returns:
- the request
- Throws:
IOException
-
list
public Translate.Projects.Locations.Glossaries.GlossaryEntries.List list(String parent)
throws IOException
List the entries for the glossary.
Create a request for the method "glossaryEntries.list".
This request holds the parameters needed by the translate server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The parent glossary resource name for listing the glossary's entries.
- Returns:
- the request
- Throws:
IOException
-
patch
public Translate.Projects.Locations.Glossaries.GlossaryEntries.Patch patch(String name,
GlossaryEntry content)
throws IOException
Updates a glossary entry.
Create a request for the method "glossaryEntries.patch".
This request holds the parameters needed by the translate server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Identifier. The resource name of the entry. Format: `projects/locations/glossaries/glossaryEntries`
content
- the GlossaryEntry
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy