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

target.apidocs.com.google.api.services.translate.v3beta1.Translate.Projects.Locations.Glossaries.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240912-2.0.0
Show newest version






Translate.Projects.Locations.Glossaries (Cloud Translation API v3beta1-rev20230210-2.0.0)












com.google.api.services.translate.v3beta1

Class Translate.Projects.Locations.Glossaries

  • java.lang.Object
    • com.google.api.services.translate.v3beta1.Translate.Projects.Locations.Glossaries
    • Constructor Detail

      • Glossaries

        public Glossaries()
    • Method Detail

      • create

        public Translate.Projects.Locations.Glossaries.Create create(String parent,
                                                                     Glossary content)
                                                              throws IOException
        Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist. Create a request for the method "glossaries.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 project name.
        content - the Glossary
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Translate.Projects.Locations.Glossaries.Delete delete(String name)
                                                              throws IOException
        Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist. Create a request for the method "glossaries.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 name of the glossary to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Translate.Projects.Locations.Glossaries.Get get(String name)
                                                        throws IOException
        Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist. Create a request for the method "glossaries.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 name of the glossary to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Translate.Projects.Locations.Glossaries.List list(String parent)
                                                          throws IOException
        Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist. Create a request for the method "glossaries.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 name of the project from which to list all of the glossaries.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy