All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
    • Constructor Detail

      • GlossaryEntries

        public GlossaryEntries()
    • 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