/* This is stub file for gapi.client.discovery-v1 definition tests */
// IMPORTANT
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator

// Revision: 20200806

gapi.load('client', async () => {
    /** now we can use gapi.client */

    await gapi.client.load('https://discovery.googleapis.com/$discovery/rest?version=v1');
    /** now we can use gapi.client.discovery */

    run();

    async function run() {
        /** Retrieve the description of a particular version of an api. */
        await gapi.client.discovery.apis.getRest({
            api: "Test string",
            version: "Test string",
        });
        /** Retrieve the list of APIs supported at this endpoint. */
        await gapi.client.discovery.apis.list({
            name: "Test string",
            preferred: true,
        });
    }
});
