[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Discovery (7.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.1.0 (latest)](/nodejs/docs/reference/googleapis-common/latest/googleapis-common/discovery)\n- [7.0.1](/nodejs/docs/reference/googleapis-common/7.0.1/googleapis-common/discovery)\n- [6.0.3](/nodejs/docs/reference/googleapis-common/6.0.3/googleapis-common/discovery)\n- [5.1.0](/nodejs/docs/reference/googleapis-common/5.1.0/googleapis-common/discovery)\n- [5.0.5](/nodejs/docs/reference/googleapis-common/5.0.5/googleapis-common/discovery) \n\nPackage\n-------\n\n[googleapis-common](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(options)\n\n constructor(options: DiscoveryOptions);\n\nDiscovery for discovering API endpoints\n\nMethods\n-------\n\n### discoverAllAPIs(discoveryUrl)\n\n discoverAllAPIs(discoveryUrl: string): Promise\u003c{}\u003e;\n\nGenerate all APIs and return as in-memory object.\n\n### discoverAPI(apiDiscoveryUrl)\n\n discoverAPI(apiDiscoveryUrl: string | {\n url?: string;\n }): Promise\u003cEndpointCreator\u003e;\n\nGenerate API file given discovery URL"]]