Class CloudClientLibGenerator

    • Method Detail

      • generateClientLib

        public void generateClientLib​(String discoveryDoc,
                                      String language,
                                      String languageVersion,
                                      String layout,
                                      File file)
                               throws IOException
        Description copied from interface: ClientLibGenerator
        Generates the client library for an API and saves it in a file.
        Specified by:
        generateClientLib in interface ClientLibGenerator
        Parameters:
        discoveryDoc - Discovery document of the API
        language - Language of the client library, valid options can be found at https://developers.google.com/resources/api-libraries/endpoints/genlib
        languageVersion - Version of language. null for default.
        layout - of the client bundle. null for default.
        file - Zip/jar file to save the generated source into
        Throws:
        IOException