Interface ClientLibGenerator

    • Method Detail

      • generateClientLib

        void generateClientLib​(String discoveryDoc,
                               String language,
                               String languageVersion,
                               String layout,
                               File file)
                        throws IOException
        Generates the client library for an API and saves it in a file.
        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