diff --git a/.changeset/lovely-papers-move.md b/.changeset/lovely-papers-move.md new file mode 100644 index 0000000..adb1422 --- /dev/null +++ b/.changeset/lovely-papers-move.md @@ -0,0 +1,5 @@ +--- +"google-workspace-developer-tools": patch +--- + +Fix broken readme link. diff --git a/.changeset/odd-insects-tap.md b/.changeset/odd-insects-tap.md new file mode 100644 index 0000000..a426078 --- /dev/null +++ b/.changeset/odd-insects-tap.md @@ -0,0 +1,5 @@ +--- +"google-workspace-developer-tools": patch +--- + +Automatically fetch APIs via Discovery Service diff --git a/.github/workflows/update-apis.yml b/.github/workflows/update-apis.yml new file mode 100644 index 0000000..eff8bdc --- /dev/null +++ b/.github/workflows/update-apis.yml @@ -0,0 +1,52 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Update APIs +on: + schedule: + - cron: "0 0 * * *" # Runs every day at midnight + workflow_dispatch: # Allows manual triggering +jobs: + update-apis: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + - run: npm ci + - run: npm run fetch-apis + - name: Check for changes + id: changes + uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0 + with: + files: src/apis.ts + - name: Create Changeset + if: steps.changes.outputs.any_changed == 'true' + run: | + cat < .changeset/update-apis.md + --- + "google-workspace-developer-tools": patch + --- + + Update APIs and scopes via the Discovery service + EOF + - name: Create Pull Request + uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 + if: steps.changes.outputs.any_changed == 'true' + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "fix: update APIs via Discovery service" + title: "fix: update APIs via discovery service" + body: "This PR updates the APIs based on the latest Discovery documents." + branch: "update-apis" + delete-branch: true diff --git a/.vscode-test.mjs b/.vscode-test.mjs index d4ab1d5..29da3d2 100644 --- a/.vscode-test.mjs +++ b/.vscode-test.mjs @@ -17,5 +17,5 @@ import { defineConfig } from "@vscode/test-cli"; export default defineConfig({ - files: "out/test/**/*.test.js", + files: "out/test/**/*.test.cjs", }); diff --git a/README.md b/README.md index 7f6436e..08f13cd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You can install the Google Workspace Developer Tools extension in a few ways. Install the extension from your preferred marketplace: -- [Visual Studio Marketplace](- https://marketplace.visualstudio.com/items?itemName=google-workspace.google-workspace-developer-tools) +- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=google-workspace.google-workspace-developer-tools) - [Open VSX Registry](https://open-vsx.org/extension/google-workspace/google-workspace-developer-tools) ### Using the Command Line diff --git a/package-lock.json b/package-lock.json index 43f0d50..750373b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,11 +17,14 @@ "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.5.2", "@vscode/vsce": "^3.6.0", + "googleapis": "^160.0.0", "husky": "^9.1.7", + "ky": "^1.11.0", "lint-staged": "^16.1.0", "ovsx": "^0.10.4", "prettier": "^3.5.3", "tsup": "^8.5.0", + "tsx": "^4.20.6", "typescript": "^5.8.3" }, "engines": { @@ -2834,8 +2837,7 @@ "url": "https://feross.org/support" } ], - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/better-path-resolve": { "version": "1.0.0", @@ -2850,6 +2852,16 @@ "node": ">=4" } }, + "node_modules/bignumber.js": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz", + "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", @@ -3578,6 +3590,16 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/debug": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", @@ -4118,6 +4140,13 @@ "node": ">=6" } }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "license": "MIT" + }, "node_modules/extendable-error": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/extendable-error/-/extendable-error-0.1.7.tgz", @@ -4227,6 +4256,30 @@ "pend": "~1.2.0" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -4331,6 +4384,19 @@ "node": ">= 6" } }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", @@ -4386,6 +4452,36 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/gaxios": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.1.2.tgz", + "integrity": "sha512-/Szrn8nr+2TsQT1Gp8iIe/BEytJmbyfrbFh419DfGQSkEgNEhbPi7JRJuughjkTzPWgU9gBQf5AVu3DbHt0OXA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "node-fetch": "^3.3.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/gcp-metadata": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-7.0.1.tgz", + "integrity": "sha512-UcO3kefx6dCcZkgcTGgVOTFb7b1LlQ02hY1omMjjrrBzkajRMCFgYOjs7J71WqnuG1k2b+9ppGL7FsOfhZMQKQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^7.0.0", + "google-logging-utils": "^1.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -4448,6 +4544,19 @@ "node": ">= 0.4" } }, + "node_modules/get-tsconfig": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz", + "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, "node_modules/github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", @@ -4528,6 +4637,89 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/google-auth-library": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.3.1.tgz", + "integrity": "sha512-w6bmyfvB7Fezdb70admbJlDYY8MdzRZPssCYO1M/zrIx2HWNhsycIoFf/tZ8qdWSg5l4BUTAt2ax8Pv/R6NnSw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^7.0.0", + "gcp-metadata": "^7.0.0", + "google-logging-utils": "^1.0.0", + "gtoken": "^8.0.0", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/google-auth-library/node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/google-auth-library/node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/google-logging-utils": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.1.1.tgz", + "integrity": "sha512-rcX58I7nqpu4mbKztFeOAObbomBbHU2oIb/d3tJfF3dizGSApqtSwYJigGCooHdnMyQBIw8BrWyK96w3YXgr6A==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/googleapis": { + "version": "160.0.0", + "resolved": "https://registry.npmjs.org/googleapis/-/googleapis-160.0.0.tgz", + "integrity": "sha512-lAGFQVSeYvWKCxeCQKo20xWFFDgnWuJYbLn92IgLrT4UTYVOGdrZ9XTqgWJf316isE9KdfuDY5X8Tu4ZrXSFig==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "google-auth-library": "^10.2.0", + "googleapis-common": "^8.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/googleapis-common": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/googleapis-common/-/googleapis-common-8.0.0.tgz", + "integrity": "sha512-66if47It7y+Sab3HMkwEXx1kCq9qUC9px8ZXoj1CMrmLmUw81GpbnsNlXnlyZyGbGPGcj+tDD9XsZ23m7GLaJQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "extend": "^3.0.2", + "gaxios": "^7.0.0-rc.4", + "google-auth-library": "^10.1.0", + "qs": "^6.7.0", + "url-template": "^2.0.8" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -4548,6 +4740,43 @@ "dev": true, "license": "ISC" }, + "node_modules/gtoken": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-8.0.0.tgz", + "integrity": "sha512-+CqsMbHPiSTdtSO14O51eMNlrp9N79gmeqmXeouJOhfucAedHw9noVe/n5uJk3tbKE6a+6ZCQg3RPhVhHByAIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "gaxios": "^7.0.0", + "jws": "^4.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/gtoken/node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/gtoken/node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -5150,6 +5379,16 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, "node_modules/json-parse-even-better-errors": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", @@ -5269,6 +5508,19 @@ "prebuild-install": "^7.0.1" } }, + "node_modules/ky": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/ky/-/ky-1.11.0.tgz", + "integrity": "sha512-NEyo0ICpS0cqSuyoJFMCnHOZJILqXsKhIZlHJGDYaH8OB5IFrGzuBpEwyoMZG6gUKMPrazH30Ax5XKaujvD8ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -6236,6 +6488,27 @@ "url": "https://github.com/sindresorhus/nano-spawn?sponsor=1" } }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "optional": true, + "peer": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/napi-build-utils": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", @@ -6266,6 +6539,46 @@ "license": "MIT", "optional": true }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "deprecated": "Use your platform's native DOMException instead", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "license": "MIT", + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, "node_modules/node-sarif-builder": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/node-sarif-builder/-/node-sarif-builder-2.0.3.tgz", @@ -6996,6 +7309,37 @@ "node": ">=4" } }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, "node_modules/postcss-load-config": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", @@ -7361,6 +7705,16 @@ "node": ">=8" } }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, "node_modules/restore-cursor": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", @@ -7841,6 +8195,18 @@ "node": ">= 8" } }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/spawndamnit": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spawndamnit/-/spawndamnit-3.0.1.tgz", @@ -8403,14 +8769,14 @@ "license": "MIT" }, "node_modules/tinyglobby": { - "version": "0.2.14", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", - "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", + "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", "dev": true, "license": "MIT", "dependencies": { - "fdir": "^6.4.4", - "picomatch": "^4.0.2" + "fdir": "^6.5.0", + "picomatch": "^4.0.3" }, "engines": { "node": ">=12.0.0" @@ -8420,11 +8786,14 @@ } }, "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.6", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", - "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, "peerDependencies": { "picomatch": "^3 || ^4" }, @@ -8435,9 +8804,9 @@ } }, "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", "engines": { @@ -8587,6 +8956,26 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/tsx": { + "version": "4.20.6", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.20.6.tgz", + "integrity": "sha512-ytQKuwgmrrkDTFP4LjR0ToE2nqgy886GpvRSpU0JAnrdBYppuY5rLkRUYPU1yCryb24SsKBTL/hlDQAEFVwtZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "~0.25.0", + "get-tsconfig": "^4.7.5" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, "node_modules/tunnel": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", @@ -8718,6 +9107,13 @@ "dev": true, "license": "MIT" }, + "node_modules/url-template": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", + "integrity": "sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==", + "dev": true, + "license": "BSD" + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -8774,6 +9170,16 @@ "url": "https://bevry.me/fund" } }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, "node_modules/webidl-conversions": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", diff --git a/package.json b/package.json index ad4ba33..d5f0997 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "vscode:prepublish": "npm run build", "build": "tsup", "dev": "tsup --watch", + "fetch-apis": "tsx scripts/fetch-apis.ts", "pretest": "npm run build", "format": "prettier --write . && biome check --write .", "lint": "prettier --check . && biome check", @@ -74,11 +75,14 @@ "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.5.2", "@vscode/vsce": "^3.6.0", + "googleapis": "^160.0.0", "husky": "^9.1.7", + "ky": "^1.11.0", "lint-staged": "^16.1.0", "ovsx": "^0.10.4", "prettier": "^3.5.3", "tsup": "^8.5.0", + "tsx": "^4.20.6", "typescript": "^5.8.3" }, "husky": { @@ -93,6 +97,5 @@ "**/*.{html,yaml,yml,md}": [ "prettier --write" ] - }, - "packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321" + } } diff --git a/scripts/fetch-apis.ts b/scripts/fetch-apis.ts new file mode 100644 index 0000000..dc83f67 --- /dev/null +++ b/scripts/fetch-apis.ts @@ -0,0 +1,82 @@ +import fs from "node:fs/promises"; +import { google } from "googleapis"; +import ky from "ky"; + +const discovery = google.discovery("v1"); + +const { data: apis } = await discovery.apis.list({ + fields: "items(title,description,discoveryRestUrl,documentationLink,version)", +}); + +const allApis = (apis.items || []) + .filter( + (x) => + x.documentationLink?.includes("hangouts") || + x.documentationLink?.includes("workspace") || + x.documentationLink?.includes("apps-script"), + ) + .sort((a, b) => a.id?.localeCompare(b.id ?? "") || 0); +const chunkSize = 10; +const apisWithScopes: Array< + typeof apis & { + scopes?: { id: string; description: string }[]; + } +> = []; + +for (let i = 0; i < allApis.length; i += chunkSize) { + const chunk = allApis.slice(i, i + chunkSize); + console.log(`Processing chunk ${i / chunkSize + 1}`); + + apisWithScopes.push( + ...(await Promise.all( + chunk.map(async (api) => { + if (api.discoveryRestUrl) { + try { + const spec = (await ky(api.discoveryRestUrl).then((res) => + res.json(), + )) as { + auth?: { + oauth2?: { + scopes?: Record; + }; + }; + }; + return { + ...api, + scopes: Object.entries(spec.auth?.oauth2?.scopes ?? {}).map( + ([id, { description }]) => ({ id, description }), + ), + }; + } catch (error) { + console.log(`Error fetching ${api.discoveryLink}`); + console.log(error); + } + } + + return api; + }), + )), + ); +} + +await fs.writeFile( + "./src/apis.ts", + `/** + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export const GOOGLE_APIS = ${JSON.stringify(apisWithScopes, null, 2)}; +`, +); diff --git a/src/apis.ts b/src/apis.ts index 2e7a683..ad75a3c 100644 --- a/src/apis.ts +++ b/src/apis.ts @@ -16,191 +16,13 @@ export const GOOGLE_APIS = [ { - title: "AI Platform Training & Prediction API", - version: "v1", - documentation: "https://cloud.google.com/ml/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - ], - }, - { - title: "API Gateway API", - version: "v1", - documentation: "https://cloud.google.com/api-gateway/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "API Keys API", - version: "v2", - documentation: "https://cloud.google.com/api-keys/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - ], - }, - { - title: "API Management API", - version: "v1alpha", - documentation: "https://cloud.google.com/apigee/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "API hub API", - version: "v1", - documentation: - "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Access Approval API", - version: "v1", - documentation: - "https://cloud.google.com/assured-workloads/access-approval/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Access Context Manager API", - version: "v1", - documentation: - "https://cloud.google.com/access-context-manager/docs/reference/rest/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Ad Exchange Buyer API II", - version: "v2beta1", - documentation: - "https://developers.google.com/authorized-buyers/apis/reference/rest/", - scopes: [ - { - id: "https://www.googleapis.com/auth/adexchange.buyer", - description: "Manage your Ad Exchange buyer account configuration", - }, - ], - }, - { - title: "AdMob API", - version: "v1", - documentation: "https://developers.google.com/admob/api/", - scopes: [ - { - id: "https://www.googleapis.com/auth/admob.readonly", - description: "See your AdMob data", - }, - { - id: "https://www.googleapis.com/auth/admob.report", - description: "See your AdMob data", - }, - ], - }, - { - title: "AdSense Management API", - version: "v2", - documentation: "https://developers.google.com/adsense/management/", - scopes: [ - { - id: "https://www.googleapis.com/auth/adsense", - description: "View and manage your AdSense data", - }, - { - id: "https://www.googleapis.com/auth/adsense.readonly", - description: "View your AdSense data", - }, - ], - }, - { - title: "AdSense Platform API", - version: "v1", - documentation: "https://developers.google.com/adsense/platforms/", - scopes: [ - { - id: "https://www.googleapis.com/auth/adsense", - description: "View and manage your AdSense data", - }, - { - id: "https://www.googleapis.com/auth/adsense.readonly", - description: "View your AdSense data", - }, - ], - }, - { - title: "Address Validation API", - version: "v1", - documentation: - "https://developers.google.com/maps/documentation/addressvalidation", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Admin SDK API", - version: "v1", - documentation: "https://developers.google.com/workspace/admin/", - scopes: [ - { - id: "https://www.googleapis.com/auth/admin.reports.audit.readonly", - description: "View audit reports for your G Suite domain", - }, - { - id: "https://www.googleapis.com/auth/admin.reports.usage.readonly", - description: "View usage reports for your G Suite domain", - }, - ], - }, - { + version: "datatransfer_v1", title: "Admin SDK API", - version: "v1", - documentation: "https://developers.google.com/workspace/admin/", + description: + "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + discoveryRestUrl: + "https://admin.googleapis.com/$discovery/rest?version=datatransfer_v1", + documentationLink: "https://developers.google.com/workspace/admin/", scopes: [ { id: "https://www.googleapis.com/auth/admin.datatransfer", @@ -214,9 +36,13 @@ export const GOOGLE_APIS = [ ], }, { + version: "directory_v1", title: "Admin SDK API", - version: "v1", - documentation: "https://developers.google.com/workspace/admin/", + description: + "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + discoveryRestUrl: + "https://admin.googleapis.com/$discovery/rest?version=directory_v1", + documentationLink: "https://developers.google.com/workspace/admin/", scopes: [ { id: "https://www.googleapis.com/auth/admin.chrome.printers", @@ -345,4890 +171,948 @@ export const GOOGLE_APIS = [ ], }, { - title: "Advisory Notifications API", - version: "v1", - documentation: "https://cloud.google.com/advisory-notifications", + version: "reports_v1", + title: "Admin SDK API", + description: + "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + discoveryRestUrl: + "https://admin.googleapis.com/$discovery/rest?version=reports_v1", + documentationLink: "https://developers.google.com/workspace/admin/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/admin.reports.audit.readonly", + description: "View audit reports for your G Suite domain", }, - ], - }, - { - title: "Air Quality API", - version: "v1", - documentation: - "https://developers.google.com/maps/documentation/air-quality", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/admin.reports.usage.readonly", + description: "View usage reports for your G Suite domain", }, ], }, { - title: "AlloyDB API", - version: "v1", - documentation: "https://cloud.google.com/alloydb/", + version: "v1beta1", + title: "Google Workspace Alert Center API", + description: + "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.", + discoveryRestUrl: + "https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1", + documentationLink: + "https://developers.google.com/workspace/admin/alertcenter/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/apps.alerts", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See and delete your domain's G Suite alerts, and send alert feedback", }, ], }, { - title: "Analytics Hub API", version: "v1", - documentation: - "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", + title: "Google Chat API", + description: + "The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.", + discoveryRestUrl: "https://chat.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/hangouts/chat", scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", + id: "https://www.googleapis.com/auth/chat.admin.delete", description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + "Delete conversations and spaces owned by your organization and remove access to associated files in Google Chat", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.admin.memberships", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Android Management API", - version: "v1", - documentation: "https://developers.google.com/android/management", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidmanagement", - description: "Manage Android devices and apps for your customers", + "View, add, update and remove members and managers in conversations owned by your organization", }, - ], - }, - { - title: "Apigee API", - version: "v1", - documentation: "https://cloud.google.com/apigee-api-management/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.admin.memberships.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View members and managers in conversations owned by your organization", }, - ], - }, - { - title: "Apigee Registry API", - version: "v1", - documentation: - "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.admin.spaces", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View or edit display name, description, and other metadata for all Google Chat conversations owned by your organization", }, - ], - }, - { - title: "App Engine Admin API", - version: "v1", - documentation: "https://cloud.google.com/appengine/docs/admin-api/", - scopes: [ { - id: "https://www.googleapis.com/auth/appengine.admin", + id: "https://www.googleapis.com/auth/chat.admin.spaces.readonly", description: - "View and manage your applications deployed on Google App Engine", + "View display name, description, and other metadata for all Google Chat conversations owned by your organization", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.app.delete", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", + id: "https://www.googleapis.com/auth/chat.app.memberships", description: - "View your data across Google Cloud services and see the email address of your Google Account", + "On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces", }, - ], - }, - { - title: "App Hub API", - version: "v1", - documentation: "https://cloud.google.com/app-hub/docs/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.app.spaces", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)", }, - ], - }, - { - title: "Application Integration API", - version: "v1", - documentation: "https://cloud.google.com/application-integration", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.app.spaces.create", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "On their own behalf, apps in Google Chat can create conversations and spaces", }, - ], - }, - { - title: "Apps Script API", - version: "v1", - documentation: "https://developers.google.com/apps-script/api/", - scopes: [ { - id: "https://mail.google.com/", + id: "https://www.googleapis.com/auth/chat.bot", description: - "Read, compose, send, and permanently delete all your email from Gmail", + "Private Service: https://www.googleapis.com/auth/chat.bot", }, { - id: "https://www.google.com/calendar/feeds", - description: - "See, edit, share, and permanently delete all the calendars you can access using Google Calendar", + id: "https://www.googleapis.com/auth/chat.customemojis", + description: "View, create, and delete custom emoji in Google Chat", }, { - id: "https://www.google.com/m8/feeds", - description: - "See, edit, download, and permanently delete your contacts", + id: "https://www.googleapis.com/auth/chat.customemojis.readonly", + description: "View custom emoji in Google Chat", }, { - id: "https://www.googleapis.com/auth/admin.directory.group", + id: "https://www.googleapis.com/auth/chat.delete", description: - "View and manage the provisioning of groups on your domain", + "Delete conversations and spaces and remove access to associated files in Google Chat", }, { - id: "https://www.googleapis.com/auth/admin.directory.user", - description: "View and manage the provisioning of users on your domain", + id: "https://www.googleapis.com/auth/chat.import", + description: + "Import spaces, messages, and memberships into Google Chat.", }, { - id: "https://www.googleapis.com/auth/documents", + id: "https://www.googleapis.com/auth/chat.memberships", description: - "See, edit, create, and delete all your Google Docs documents", + "See, add, update, and remove members from conversations and spaces in Google Chat", }, { - id: "https://www.googleapis.com/auth/drive", + id: "https://www.googleapis.com/auth/chat.memberships.app", description: - "See, edit, create, and delete all of your Google Drive files", + "Add and remove itself from conversations and spaces in Google Chat", }, { - id: "https://www.googleapis.com/auth/forms", - description: "View and manage your forms in Google Drive", + id: "https://www.googleapis.com/auth/chat.memberships.readonly", + description: "View members in Google Chat conversations.", }, { - id: "https://www.googleapis.com/auth/forms.currentonly", + id: "https://www.googleapis.com/auth/chat.messages", description: - "View and manage forms that this application has been installed in", + "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.", }, { - id: "https://www.googleapis.com/auth/groups", - description: "View and manage your Google Groups", + id: "https://www.googleapis.com/auth/chat.messages.create", + description: "Compose and send messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.deployments", - description: "Create and update Google Apps Script deployments", + id: "https://www.googleapis.com/auth/chat.messages.reactions", + description: + "See, add, and delete reactions as well as their reaction content to messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.deployments.readonly", - description: "View Google Apps Script deployments", + id: "https://www.googleapis.com/auth/chat.messages.reactions.create", + description: "Add reactions to messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.metrics", - description: "View Google Apps Script project's metrics", + id: "https://www.googleapis.com/auth/chat.messages.reactions.readonly", + description: + "View reactions as well as their reaction content to messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.processes", - description: "View Google Apps Script processes", + id: "https://www.googleapis.com/auth/chat.messages.readonly", + description: + "See messages as well as their reactions and message content in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.projects", - description: "Create and update Google Apps Script projects", + id: "https://www.googleapis.com/auth/chat.spaces", + description: + "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat", }, { - id: "https://www.googleapis.com/auth/script.projects.readonly", - description: "View Google Apps Script projects", + id: "https://www.googleapis.com/auth/chat.spaces.create", + description: "Create new conversations and spaces in Google Chat", }, { - id: "https://www.googleapis.com/auth/spreadsheets", + id: "https://www.googleapis.com/auth/chat.spaces.readonly", + description: "View chat and spaces in Google Chat", + }, + { + id: "https://www.googleapis.com/auth/chat.users.readstate", description: - "See, edit, create, and delete all your Google Sheets spreadsheets", + "View and modify last read time for Google Chat conversations", }, { - id: "https://www.googleapis.com/auth/userinfo.email", - description: "See your primary Google Account email address", + id: "https://www.googleapis.com/auth/chat.users.readstate.readonly", + description: "View last read time for Google Chat conversations", + }, + { + id: "https://www.googleapis.com/auth/chat.users.spacesettings", + description: "Read and update your space settings", }, ], }, { - title: "Area120 Tables API", - version: "v1alpha1", - documentation: "https://support.google.com/area120-tables/answer/10011390", + version: "v1", + title: "Google Classroom API", + description: + "Manages classes, rosters, and invitations in Google Classroom.", + discoveryRestUrl: + "https://classroom.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/classroom", scopes: [ { - id: "https://www.googleapis.com/auth/drive", + id: "https://www.googleapis.com/auth/classroom.addons.student", description: - "See, edit, create, and delete all of your Google Drive files", + "See and update its own attachments to posts in Google Classroom", }, { - id: "https://www.googleapis.com/auth/drive.file", + id: "https://www.googleapis.com/auth/classroom.addons.teacher", description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", + "See, create, and update its own attachments to posts in classes you teach in Google Classroom", }, { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", + id: "https://www.googleapis.com/auth/classroom.announcements", + description: "View and manage announcements in Google Classroom", }, { - id: "https://www.googleapis.com/auth/spreadsheets", - description: - "See, edit, create, and delete all your Google Sheets spreadsheets", + id: "https://www.googleapis.com/auth/classroom.announcements.readonly", + description: "View announcements in Google Classroom", }, { - id: "https://www.googleapis.com/auth/spreadsheets.readonly", - description: "See all your Google Sheets spreadsheets", + id: "https://www.googleapis.com/auth/classroom.courses", + description: + "See, edit, create, and permanently delete your Google Classroom classes", }, { - id: "https://www.googleapis.com/auth/tables", - description: - "See, edit, create, and delete your tables in Tables by Area 120", + id: "https://www.googleapis.com/auth/classroom.courses.readonly", + description: "View your Google Classroom classes", }, - ], - }, - { - title: "Artifact Registry API", - version: "v1", - documentation: "https://cloud.google.com/artifacts/docs/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.coursework.me", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, create and edit coursework items including assignments, questions, and grades", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", + id: "https://www.googleapis.com/auth/classroom.coursework.me.readonly", + description: "View your course work and grades in Google Classroom", }, - ], - }, - { - title: "Assured Workloads API", - version: "v1", - documentation: "https://cloud.google.com/learnmoreurl", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.coursework.students", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer", }, - ], - }, - { - title: "Authorized Buyers Marketplace API", - version: "v1", - documentation: - "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", - scopes: [ { - id: "https://www.googleapis.com/auth/authorized-buyers-marketplace", + id: "https://www.googleapis.com/auth/classroom.coursework.students.readonly", description: - "See, create, edit, and delete your Authorized Buyers Marketplace entities.", + "View course work and grades for students in the Google Classroom classes you teach or administer", }, - ], - }, - { - title: "Backup and DR Service API", - version: "v1", - documentation: "https://cloud.google.com/backup-disaster-recovery", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.courseworkmaterials", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, and create classwork materials in Google Classroom", }, - ], - }, - { - title: "Backup for GKE API", - version: "v1", - documentation: - "https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See all classwork materials for your Google Classroom classes", }, - ], - }, - { - title: "Bare Metal Solution API", - version: "v2", - documentation: "https://cloud.google.com/bare-metal", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly", + description: "View your Google Classroom guardians", }, - ], - }, - { - title: "Batch API", - version: "v1", - documentation: "https://cloud.google.com/batch/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.guardianlinks.students", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View and manage guardians for students in your Google Classroom classes", }, - ], - }, - { - title: "BeyondCorp API", - version: "v1", - documentation: "https://cloud.google.com/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View guardians for students in your Google Classroom classes", }, - ], - }, - { - title: "BigLake API", - version: "v1", - documentation: "https://cloud.google.com/bigquery/", - scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", - description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + id: "https://www.googleapis.com/auth/classroom.profile.emails", + description: "View the email addresses of people in your classes", }, { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/classroom.profile.photos", + description: "View the profile photos of people in your classes", }, - ], - }, - { - title: "BigQuery API", - version: "v2", - documentation: "https://cloud.google.com/bigquery/", - scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", - description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + id: "https://www.googleapis.com/auth/classroom.push-notifications", + description: "Receive notifications about your Google Classroom data", }, { - id: "https://www.googleapis.com/auth/bigquery.insertdata", - description: "Insert data into Google BigQuery", + id: "https://www.googleapis.com/auth/classroom.rosters", + description: "Manage your Google Classroom class rosters", }, { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/classroom.rosters.readonly", + description: "View your Google Classroom class rosters", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", + id: "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", + description: "View your course work and grades in Google Classroom", }, { - id: "https://www.googleapis.com/auth/devstorage.full_control", + id: "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly", description: - "Manage your data and permissions in Cloud Storage and see the email address for your Google Account", + "View course work and grades for students in the Google Classroom classes you teach or administer", }, { - id: "https://www.googleapis.com/auth/devstorage.read_only", - description: "View your data in Google Cloud Storage", + id: "https://www.googleapis.com/auth/classroom.topics", + description: "See, create, and edit topics in Google Classroom", }, { - id: "https://www.googleapis.com/auth/devstorage.read_write", - description: - "Manage your data in Cloud Storage and see the email address of your Google Account", + id: "https://www.googleapis.com/auth/classroom.topics.readonly", + description: "View topics in Google Classroom", }, ], }, { - title: "BigQuery Connection API", version: "v1", - documentation: - "https://cloud.google.com/bigquery/docs/connections-api-intro", + title: "Cloud Search API", + description: + "Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search.", + discoveryRestUrl: + "https://cloudsearch.googleapis.com/$discovery/rest?version=v1", + documentationLink: + "https://developers.google.com/workspace/cloud-search/docs/guides/", scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", + id: "https://www.googleapis.com/auth/cloud_search", description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + "Index and serve your organization's data with Cloud Search", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/cloud_search.debug", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Index and serve your organization's data with Cloud Search", }, - ], - }, - { - title: "BigQuery Data Policy API", - version: "v1", - documentation: "https://cloud.google.com/bigquery/docs/column-data-masking", - scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", + id: "https://www.googleapis.com/auth/cloud_search.indexing", description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + "Index and serve your organization's data with Cloud Search", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/cloud_search.query", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Search your organization's data in the Cloud Search index", }, - ], - }, - { - title: "BigQuery Data Transfer API", - version: "v1", - documentation: "https://cloud.google.com/bigquery-transfer/", - scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", + id: "https://www.googleapis.com/auth/cloud_search.settings", description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + "Index and serve your organization's data with Cloud Search", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/cloud_search.settings.indexing", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Index and serve your organization's data with Cloud Search", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", + id: "https://www.googleapis.com/auth/cloud_search.settings.query", description: - "View your data across Google Cloud services and see the email address of your Google Account", + "Index and serve your organization's data with Cloud Search", }, - ], - }, - { - title: "BigQuery Reservation API", - version: "v1", - documentation: "https://cloud.google.com/bigquery/", - scopes: [ { - id: "https://www.googleapis.com/auth/bigquery", + id: "https://www.googleapis.com/auth/cloud_search.stats", description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", + "Index and serve your organization's data with Cloud Search", }, { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/cloud_search.stats.indexing", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Index and serve your organization's data with Cloud Search", }, ], }, { - title: "Binary Authorization API", version: "v1", - documentation: "https://cloud.google.com/binary-authorization/", + title: "Google Docs API", + description: "Reads and writes Google Docs documents.", + discoveryRestUrl: "https://docs.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/docs/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/documents", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Docs documents", }, - ], - }, - { - title: "Blockchain Node Engine API", - version: "v1", - documentation: "https://cloud.google.com/blockchain-node-engine", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/documents.readonly", + description: "See all your Google Docs documents", }, - ], - }, - { - title: "Blogger API", - version: "v3", - documentation: - "https://developers.google.com/blogger/docs/3.0/getting_started", - scopes: [ { - id: "https://www.googleapis.com/auth/blogger", - description: "Manage your Blogger account", - }, - { - id: "https://www.googleapis.com/auth/blogger.readonly", - description: "View your Blogger account", - }, - ], - }, - { - title: "Books API", - version: "v1", - documentation: - "https://code.google.com/apis/books/docs/v1/getting_started.html", - scopes: [ - { - id: "https://www.googleapis.com/auth/books", - description: "Manage your books", - }, - ], - }, - { - title: "CSS API", - version: "v1", - documentation: - "https://developers.google.com/comparison-shopping-services/api/overview", - scopes: [ - { - id: "https://www.googleapis.com/auth/content", - description: - "Manage your product listings and accounts for Google Shopping", - }, - ], - }, - { - title: "Calendar API", - version: "v3", - documentation: "https://developers.google.com/workspace/calendar/firstapp", - scopes: [ - { - id: "https://www.googleapis.com/auth/calendar", - description: - "See, edit, share, and permanently delete all the calendars you can access using Google Calendar", - }, - { - id: "https://www.googleapis.com/auth/calendar.acls", - description: - "See and change the sharing permissions of Google calendars you own", - }, - { - id: "https://www.googleapis.com/auth/calendar.acls.readonly", - description: "See the sharing permissions of Google calendars you own", - }, - { - id: "https://www.googleapis.com/auth/calendar.app.created", - description: - "Make secondary Google calendars, and see, create, change, and delete events on them", - }, - { - id: "https://www.googleapis.com/auth/calendar.calendarlist", - description: - "See, add, and remove Google calendars you\u2019re subscribed to", - }, - { - id: "https://www.googleapis.com/auth/calendar.calendarlist.readonly", - description: - "See the list of Google calendars you\u2019re subscribed to", - }, - { - id: "https://www.googleapis.com/auth/calendar.calendars", - description: - "See and change the properties of Google calendars you have access to, and create secondary calendars", - }, - { - id: "https://www.googleapis.com/auth/calendar.calendars.readonly", - description: - "See the title, description, default time zone, and other properties of Google calendars you have access to", - }, - { - id: "https://www.googleapis.com/auth/calendar.events", - description: "View and edit events on all your calendars", - }, - { - id: "https://www.googleapis.com/auth/calendar.events.freebusy", - description: - "See the availability on Google calendars you have access to", - }, - { - id: "https://www.googleapis.com/auth/calendar.events.owned", - description: - "See, create, change, and delete events on Google calendars you own", - }, - { - id: "https://www.googleapis.com/auth/calendar.events.owned.readonly", - description: "See the events on Google calendars you own", - }, - { - id: "https://www.googleapis.com/auth/calendar.events.public.readonly", - description: "See the events on public calendars", - }, - { - id: "https://www.googleapis.com/auth/calendar.events.readonly", - description: "View events on all your calendars", - }, - { - id: "https://www.googleapis.com/auth/calendar.freebusy", - description: "View your availability in your calendars", - }, - { - id: "https://www.googleapis.com/auth/calendar.readonly", - description: - "See and download any calendar you can access using your Google Calendar", - }, - { - id: "https://www.googleapis.com/auth/calendar.settings.readonly", - description: "View your Calendar settings", - }, - ], - }, - { - title: "Campaign Manager 360 API", - version: "v4", - documentation: "https://developers.google.com/doubleclick-advertisers/", - scopes: [ - { - id: "https://www.googleapis.com/auth/ddmconversions", - description: "Manage DoubleClick Digital Marketing conversions", - }, - { - id: "https://www.googleapis.com/auth/dfareporting", - description: "View and manage DoubleClick for Advertisers reports", - }, - { - id: "https://www.googleapis.com/auth/dfatrafficking", - description: - "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns", - }, - ], - }, - { - title: "Certificate Authority API", - version: "v1", - documentation: "https://cloud.google.com/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Certificate Manager API", - version: "v1", - documentation: "https://cloud.google.com/certificate-manager", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Chrome Management API", - version: "v1", - documentation: "https://developers.google.com/chrome/management/", - scopes: [ - { - id: "https://www.googleapis.com/auth/chrome.management.appdetails.readonly", - description: - "See detailed information about apps installed on Chrome browsers and devices managed by your organization", - }, - { - id: "https://www.googleapis.com/auth/chrome.management.profiles", - description: - "See, edit, delete, and take other necessary actions on Chrome browser profiles managed by your organization", - }, - { - id: "https://www.googleapis.com/auth/chrome.management.profiles.readonly", - description: "See Chrome browser profiles managed by your organization", - }, - { - id: "https://www.googleapis.com/auth/chrome.management.reports.readonly", - description: - "See reports about devices and Chrome browsers managed within your organization", - }, - { - id: "https://www.googleapis.com/auth/chrome.management.telemetry.readonly", - description: - "See basic device and telemetry information collected from ChromeOS devices or users managed within your organization", - }, - ], - }, - { - title: "Chrome Policy API", - version: "v1", - documentation: "http://developers.google.com/chrome/policy", - scopes: [ - { - id: "https://www.googleapis.com/auth/chrome.management.policy", - description: - "See, edit, create or delete policies applied to ChromeOS and Chrome Browsers managed within your organization", - }, - { - id: "https://www.googleapis.com/auth/chrome.management.policy.readonly", - description: - "See policies applied to ChromeOS and Chrome Browsers managed within your organization", - }, - ], - }, - { - title: "Chrome Verified Access API", - version: "v2", - documentation: "https://developers.google.com/chrome/verified-access", - scopes: [ - { - id: "https://www.googleapis.com/auth/verifiedaccess", - description: "Verify your enterprise credentials", - }, - ], - }, - { - title: "Cloud Asset API", - version: "v1", - documentation: "https://cloud.google.com/asset-inventory/docs/quickstart", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Bigtable Admin API", - version: "v2", - documentation: "https://cloud.google.com/bigtable/", - scopes: [ - { - id: "https://www.googleapis.com/auth/bigtable.admin", - description: "Administer your Cloud Bigtable tables and clusters", - }, - { - id: "https://www.googleapis.com/auth/bigtable.admin.cluster", - description: "Administer your Cloud Bigtable clusters", - }, - { - id: "https://www.googleapis.com/auth/bigtable.admin.instance", - description: "Administer your Cloud Bigtable clusters", - }, - { - id: "https://www.googleapis.com/auth/bigtable.admin.table", - description: "Administer your Cloud Bigtable tables", - }, - { - id: "https://www.googleapis.com/auth/cloud-bigtable.admin", - description: "Administer your Cloud Bigtable tables and clusters", - }, - { - id: "https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", - description: "Administer your Cloud Bigtable clusters", - }, - { - id: "https://www.googleapis.com/auth/cloud-bigtable.admin.table", - description: "Administer your Cloud Bigtable tables", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - ], - }, - { - title: "Cloud Billing API", - version: "v1", - documentation: "https://cloud.google.com/billing/docs/apis", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-billing", - description: - "View and manage your Google Cloud Platform billing accounts", - }, - { - id: "https://www.googleapis.com/auth/cloud-billing.readonly", - description: "View your Google Cloud Platform billing accounts", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Billing Budget API", - version: "v1", - documentation: - "https://cloud.google.com/billing/docs/how-to/budget-api-overview", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-billing", - description: - "View and manage your Google Cloud Platform billing accounts", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Build API", - version: "v2", - documentation: "https://cloud.google.com/cloud-build/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Channel API", - version: "v1", - documentation: "https://cloud.google.com/channel", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.order", - description: "Manage users on your domain", - }, - { - id: "https://www.googleapis.com/auth/apps.reports.usage.readonly", - description: "View usage reports for your G Suite domain", - }, - ], - }, - { - title: "Cloud Composer API", - version: "v1", - documentation: "https://cloud.google.com/composer/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Controls Partner API", - version: "v1", - documentation: - "https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud DNS API", - version: "v1", - documentation: "https://cloud.google.com/dns/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/ndev.clouddns.readonly", - description: "View your DNS records hosted by Google Cloud DNS", - }, - { - id: "https://www.googleapis.com/auth/ndev.clouddns.readwrite", - description: - "View and manage your DNS records hosted by Google Cloud DNS", - }, - ], - }, - { - title: "Cloud Data Fusion API", - version: "v1", - documentation: "https://cloud.google.com/data-fusion/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Dataplex API", - version: "v1", - documentation: "https://cloud.google.com/dataplex/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Dataproc API", - version: "v1", - documentation: "https://cloud.google.com/dataproc/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Datastore API", - version: "v1", - documentation: "https://cloud.google.com/datastore/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/datastore", - description: "View and manage your Google Cloud Datastore data", - }, - ], - }, - { - title: "Cloud Deploy API", - version: "v1", - documentation: "https://cloud.google.com/deploy/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Deployment Manager V2 API", - version: "v2", - documentation: "https://cloud.google.com/deployment-manager", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/ndev.cloudman", - description: - "View and manage your Google Cloud Platform management resources and deployment status information", - }, - { - id: "https://www.googleapis.com/auth/ndev.cloudman.readonly", - description: - "View your Google Cloud Platform management resources and deployment status information", - }, - ], - }, - { - title: "Cloud Document AI API", - version: "v1", - documentation: "https://cloud.google.com/document-ai/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Domains API", - version: "v1", - documentation: "https://cloud.google.com/domains/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Filestore API", - version: "v1", - documentation: "https://cloud.google.com/filestore/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Firestore API", - version: "v1", - documentation: "https://cloud.google.com/firestore", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/datastore", - description: "View and manage your Google Cloud Datastore data", - }, - ], - }, - { - title: "Cloud Functions API", - version: "v2", - documentation: "https://cloud.google.com/functions", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Healthcare API", - version: "v1", - documentation: "https://cloud.google.com/healthcare", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-healthcare", - description: "Read, write and manage healthcare data", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud IDS API", - version: "v1", - documentation: "https://cloud.google.com/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Identity API", - version: "v1", - documentation: "https://cloud.google.com/identity/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-identity.devices.lookup", - description: "See your device details", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.groups", - description: - "See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.groups.readonly", - description: - "See any Cloud Identity Groups that you can access, including group members and their emails", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.inboundsso", - description: - "See and edit all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", - description: - "See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.policies", - description: - "See and edit policies in your Cloud Identity Organization.", - }, - { - id: "https://www.googleapis.com/auth/cloud-identity.policies.readonly", - description: "See policies in your Cloud Identity Organization.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Identity-Aware Proxy API", - version: "v1", - documentation: "https://cloud.google.com/iap", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Key Management Service (KMS) API", - version: "v1", - documentation: "https://cloud.google.com/kms/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloudkms", - description: - "View and manage your keys and secrets stored in Cloud Key Management Service", - }, - ], - }, - { - title: "Cloud Life Sciences API", - version: "v2beta", - documentation: "https://cloud.google.com/life-sciences", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Logging API", - version: "v2", - documentation: "https://cloud.google.com/logging/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/logging.admin", - description: "Administrate log data for your projects", - }, - { - id: "https://www.googleapis.com/auth/logging.read", - description: "View log data for your projects", - }, - { - id: "https://www.googleapis.com/auth/logging.write", - description: "Submit log data for your projects", - }, - ], - }, - { - title: "Cloud Memorystore for Memcached API", - version: "v1", - documentation: "https://cloud.google.com/memorystore/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Monitoring API", - version: "v3", - documentation: "https://cloud.google.com/monitoring/api/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/monitoring", - description: - "View and write monitoring data for all of your Google and third-party Cloud and API projects", - }, - { - id: "https://www.googleapis.com/auth/monitoring.read", - description: - "View monitoring data for all of your Google Cloud and third-party projects", - }, - { - id: "https://www.googleapis.com/auth/monitoring.write", - description: "Publish metric data to your Google Cloud projects", - }, - ], - }, - { - title: "Cloud Natural Language API", - version: "v2", - documentation: "https://cloud.google.com/natural-language/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-language", - description: - "Apply machine learning models to reveal the structure and meaning of text", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud OS Login API", - version: "v1", - documentation: "https://cloud.google.com/compute/docs/oslogin/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/compute", - description: "View and manage your Google Compute Engine resources", - }, - { - id: "https://www.googleapis.com/auth/compute.readonly", - description: "View your Google Compute Engine resources", - }, - ], - }, - { - title: "Cloud Profiler API", - version: "v2", - documentation: "https://cloud.google.com/profiler/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/monitoring", - description: - "View and write monitoring data for all of your Google and third-party Cloud and API projects", - }, - { - id: "https://www.googleapis.com/auth/monitoring.write", - description: "Publish metric data to your Google Cloud projects", - }, - ], - }, - { - title: "Cloud Pub/Sub API", - version: "v1", - documentation: "https://cloud.google.com/pubsub/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/pubsub", - description: "View and manage Pub/Sub topics and subscriptions", - }, - ], - }, - { - title: "Cloud Resource Manager API", - version: "v3", - documentation: "https://cloud.google.com/resource-manager", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - ], - }, - { - title: "Cloud Run Admin API", - version: "v2", - documentation: "https://cloud.google.com/run/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Runtime Configuration API", - version: "v1", - documentation: - "https://cloud.google.com/deployment-manager/runtime-configurator/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloudruntimeconfig", - description: - "Manage your Google Cloud Platform services' runtime configuration", - }, - ], - }, - { - title: "Cloud SQL Admin API", - version: "v1", - documentation: "https://developers.google.com/cloud-sql/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/sqlservice.admin", - description: "Manage your Google SQL Service instances", - }, - ], - }, - { - title: "Cloud Scheduler API", - version: "v1", - documentation: "https://cloud.google.com/scheduler/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Search API", - version: "v1", - documentation: "https://developers.google.com/cloud-search/docs/guides/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud_search", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.debug", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.indexing", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.query", - description: - "Search your organization's data in the Cloud Search index", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.settings", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.settings.indexing", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.settings.query", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.stats", - description: - "Index and serve your organization's data with Cloud Search", - }, - { - id: "https://www.googleapis.com/auth/cloud_search.stats.indexing", - description: - "Index and serve your organization's data with Cloud Search", - }, - ], - }, - { - title: "Cloud Shell API", - version: "v1", - documentation: "https://cloud.google.com/shell/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Spanner API", - version: "v1", - documentation: "https://cloud.google.com/spanner/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/spanner.admin", - description: "Administer your Spanner databases", - }, - { - id: "https://www.googleapis.com/auth/spanner.data", - description: "View and manage the contents of your Spanner databases", - }, - ], - }, - { - title: "Cloud Speech-to-Text API", - version: "v1", - documentation: - "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Storage JSON API", - version: "v1", - documentation: "https://developers.google.com/storage/docs/json_api/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "View and manage your data across Google Cloud Platform services", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: "View your data across Google Cloud Platform services", - }, - { - id: "https://www.googleapis.com/auth/devstorage.full_control", - description: "Manage your data and permissions in Google Cloud Storage", - }, - { - id: "https://www.googleapis.com/auth/devstorage.read_only", - description: "View your data in Google Cloud Storage", - }, - { - id: "https://www.googleapis.com/auth/devstorage.read_write", - description: "Manage your data in Google Cloud Storage", - }, - ], - }, - { - title: "Cloud Storage for Firebase API", - version: "v1beta", - documentation: "https://firebase.google.com/docs/storage", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - ], - }, - { - title: "Cloud TPU API", - version: "v2", - documentation: "https://cloud.google.com/tpu/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Talent Solution API", - version: "v4", - documentation: "https://cloud.google.com/talent-solution/job-search/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/jobs", - description: "Manage job postings", - }, - ], - }, - { - title: "Cloud Tasks API", - version: "v2", - documentation: "https://cloud.google.com/tasks/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Testing API", - version: "v1", - documentation: "https://firebase.google.com/docs/test-lab/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - ], - }, - { - title: "Cloud Text-to-Speech API", - version: "v1", - documentation: "https://cloud.google.com/text-to-speech/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Tool Results API", - version: "v1beta3", - documentation: "https://firebase.google.com/docs/test-lab/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Trace API", - version: "v2", - documentation: "https://cloud.google.com/trace", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/trace.append", - description: "Write Trace data for a project or application", - }, - ], - }, - { - title: "Cloud Translation API", - version: "v3", - documentation: "https://cloud.google.com/translate/docs/quickstarts", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-translation", - description: - "Translate text from one language to another using Google Translate", - }, - ], - }, - { - title: "Cloud Video Intelligence API", - version: "v1", - documentation: "https://cloud.google.com/video-intelligence/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Cloud Vision API", - version: "v1", - documentation: "https://cloud.google.com/vision/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-vision", - description: - "Apply machine learning models to understand and label images", - }, - ], - }, - { - title: "Cloud Workstations API", - version: "v1", - documentation: "https://cloud.google.com/workstations", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Compute Engine API", - version: "v1", - documentation: "https://cloud.google.com/compute/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/compute", - description: "View and manage your Google Compute Engine resources", - }, - { - id: "https://www.googleapis.com/auth/compute.readonly", - description: "View your Google Compute Engine resources", - }, - { - id: "https://www.googleapis.com/auth/devstorage.full_control", - description: - "Manage your data and permissions in Cloud Storage and see the email address for your Google Account", - }, - { - id: "https://www.googleapis.com/auth/devstorage.read_only", - description: "View your data in Google Cloud Storage", - }, - { - id: "https://www.googleapis.com/auth/devstorage.read_write", - description: - "Manage your data in Cloud Storage and see the email address of your Google Account", - }, - ], - }, - { - title: "Connectors API", - version: "v2", - documentation: - "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Contact Center AI Insights API", - version: "v1", - documentation: "https://cloud.google.com/contact-center/insights/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Contact Center AI Platform API", - version: "v1alpha1", - documentation: - "https://cloud.google.com/solutions/contact-center-ai-platform", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Container Analysis API", - version: "v1", - documentation: - "https://cloud.google.com/container-analysis/api/reference/rest/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Content API for Shopping", - version: "v2.1", - documentation: "https://developers.google.com/shopping-content/v2/", - scopes: [ - { - id: "https://www.googleapis.com/auth/content", - description: - "Manage your product listings and accounts for Google Shopping", - }, - ], - }, - { - title: "Data Labeling API", - version: "v1beta1", - documentation: "https://cloud.google.com/data-labeling/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Data Lineage API", - version: "v1", - documentation: "https://cloud.google.com/data-catalog", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Data Portability API", - version: "v1", - documentation: "https://developers.google.com/data-portability", - scopes: [ - { - id: "https://www.googleapis.com/auth/dataportability.alerts.subscriptions", - description: - "Move a copy of the Google Alerts subscriptions you created", - }, - { - id: "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations", - description: - "Move a copy of messages between you and the businesses you have conversations with across Google services", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.autofill", - description: - "Move a copy of the information you entered into online forms in Chrome", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.bookmarks", - description: "Move a copy of pages you bookmarked in Chrome", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.dictionary", - description: "Move a copy of words you added to Chrome's dictionary", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.extensions", - description: - "Move a copy of extensions you installed from the Chrome Web Store", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.history", - description: "Move a copy of sites you visited in Chrome", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.reading_list", - description: - "Move a copy of pages you added to your reading list in Chrome", - }, - { - id: "https://www.googleapis.com/auth/dataportability.chrome.settings", - description: "Move a copy of your settings in Chrome", - }, - { - id: "https://www.googleapis.com/auth/dataportability.discover.follows", - description: - "Move a copy of searches and sites you follow, saved by Discover", - }, - { - id: "https://www.googleapis.com/auth/dataportability.discover.likes", - description: - "Move a copy of links to your liked documents, saved by Discover", - }, - { - id: "https://www.googleapis.com/auth/dataportability.discover.not_interested", - description: - "Move a copy of content you marked as not interested, saved by Discover", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.aliased_places", - description: "Move a copy of the places you labeled on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.commute_routes", - description: "Move a copy of your pinned trips on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.commute_settings", - description: "Move a copy of your commute settings on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.ev_profile", - description: "Move a copy of your electric vehicle profile on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.factual_contributions", - description: - "Move a copy of the corrections you made to places or map information on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.offering_contributions", - description: "Move a copy of your updates to places on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.photos_videos", - description: "Move a copy of the photos and videos you posted on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.questions_answers", - description: - "Move a copy of the questions and answers you posted on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.reviews", - description: "Move a copy of your reviews and posts on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.starred_places", - description: "Move a copy of your Starred places list on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", - description: "Move a copy of your vehicle profile on Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.maps", - description: "Move a copy of your Maps activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", - description: "Move a copy of your My Ad Center activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.play", - description: "Move a copy of your Google Play activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.search", - description: "Move a copy of your Google Search activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.shopping", - description: "Move a copy of your Shopping activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.myactivity.youtube", - description: "Move a copy of your YouTube activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.mymaps.maps", - description: "Move a copy of the maps you created in My Maps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", - description: - "Move a copy of your food purchase and reservation activity", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.devices", - description: - "Move a copy of information about your devices with Google Play Store installed", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.grouping", - description: - "Move a copy of your Google Play Store Grouping tags created by app developers", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.installs", - description: "Move a copy of your Google Play Store app installations", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.library", - description: - "Move a copy of your Google Play Store downloads, including books, games, and apps", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.playpoints", - description: - "Move a copy of information about your Google Play Store Points", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.promotions", - description: - "Move a copy of information about your Google Play Store promotions", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.purchases", - description: "Move a copy of your Google Play Store purchases", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.redemptions", - description: - "Move a copy of your Google Play Store redemption activities", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.subscriptions", - description: "Move a copy of your Google Play Store subscriptions", - }, - { - id: "https://www.googleapis.com/auth/dataportability.play.usersettings", - description: - "Move a copy of your Google Play Store user settings and preferences", - }, - { - id: "https://www.googleapis.com/auth/dataportability.saved.collections", - description: - "Move a copy of your saved links, images, places, and collections from your use of Google services", - }, - { - id: "https://www.googleapis.com/auth/dataportability.search_ugc.comments", - description: "Move a copy of your comments on Google Search", - }, - { - id: "https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", - description: "Move a copy of your media reviews on Google Search", - }, - { - id: "https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", - description: - "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV", - }, - { - id: "https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", - description: - "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV", - }, - { - id: "https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", - description: - "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV", - }, - { - id: "https://www.googleapis.com/auth/dataportability.searchnotifications.settings", - description: - "Move a copy of your notification settings on the Google Search app", - }, - { - id: "https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", - description: - "Move a copy of your notification subscriptions on Google Search app", - }, - { - id: "https://www.googleapis.com/auth/dataportability.shopping.addresses", - description: "Move a copy of your shipping information on Shopping", - }, - { - id: "https://www.googleapis.com/auth/dataportability.shopping.reviews", - description: - "Move a copy of reviews you wrote about products or online stores on Google Search", - }, - { - id: "https://www.googleapis.com/auth/dataportability.streetview.imagery", - description: - "Move a copy of the images and videos you uploaded to Street View", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.channel", - description: "Move a copy of information about your YouTube channel", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.clips", - description: "Move a copy of your YouTube clips metadata", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.comments", - description: "Move a copy of your YouTube comments", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.live_chat", - description: "Move a copy of your YouTube messages in live chat", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.music", - description: - "Move a copy of your uploaded YouTube music tracks and your YouTube music library", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.playable", - description: - "Move a copy of your YouTube playables saved game progress files", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.posts", - description: "Move a copy of your YouTube posts", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.private_playlists", - description: "Move a copy of your YouTube private playlists", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.private_videos", - description: - "Move a copy of your private YouTube videos and information about them", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.public_playlists", - description: "Move a copy of your public YouTube playlists", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.public_videos", - description: - "Move a copy of your public YouTube videos and information about them", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.shopping", - description: - "Move a copy of your YouTube shopping wishlists, and wishlist items", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.subscriptions", - description: - "Move a copy of your YouTube channel subscriptions, even if they're private", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", - description: "Move a copy of your unlisted YouTube playlists", - }, - { - id: "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos", - description: - "Move a copy of your unlisted YouTube videos and information about them", - }, - ], - }, - { - title: "Data pipelines API", - version: "v1", - documentation: - "https://cloud.google.com/dataflow/docs/guides/data-pipelines", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Database Migration API", - version: "v1", - documentation: "https://cloud.google.com/database-migration/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Dataflow API", - version: "v1b3", - documentation: "https://cloud.google.com/dataflow", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/compute", - description: "View and manage your Google Compute Engine resources", - }, - ], - }, - { - title: "Dataform API", - version: "v1beta1", - documentation: "https://cloud.google.com/dataform/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/bigquery", - description: - "View and manage your data in Google BigQuery and see the email address for your Google Account", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Datastream API", - version: "v1", - documentation: "https://cloud.google.com/datastream/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Developer Connect API", - version: "v1", - documentation: "http://cloud.google.com/developer-connect/docs/overview", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Dialogflow API", - version: "v3", - documentation: "https://cloud.google.com/dialogflow/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/dialogflow", - description: "View, manage and query your Dialogflow agents", - }, - ], - }, - { - title: "Discovery Engine API", - version: "v1", - documentation: "https://cloud.google.com/generative-ai-app-builder/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Display & Video 360 API", - version: "v4", - documentation: "https://developers.google.com/display-video/", - scopes: [ - { - id: "https://www.googleapis.com/auth/display-video", - description: - "Create, see, edit, and permanently delete your Display & Video 360 entities and reports", - }, - { - id: "https://www.googleapis.com/auth/display-video-mediaplanning", - description: - "Create, see, and edit Display & Video 360 Campaign entities and see billing invoices", - }, - { - id: "https://www.googleapis.com/auth/doubleclickbidmanager", - description: "View and manage your reports in DoubleClick Bid Manager", - }, - ], - }, - { - title: "Document AI Warehouse API", - version: "v1", - documentation: "https://cloud.google.com/document-warehouse", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "DoubleClick Bid Manager API", - version: "v2", - documentation: "https://developers.google.com/bid-manager/", - scopes: [ - { - id: "https://www.googleapis.com/auth/doubleclickbidmanager", - description: "View and manage your reports in DoubleClick Bid Manager", - }, - ], - }, - { - title: "Drive Activity API", - version: "v2", - documentation: "https://developers.google.com/workspace/drive/activity/", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive.activity", - description: - "View and add to the activity record of files in your Google Drive", - }, - { - id: "https://www.googleapis.com/auth/drive.activity.readonly", - description: "View the activity record of files in your Google Drive", - }, - ], - }, - { - title: "Drive Labels API", - version: "v2", - documentation: "https://developers.google.com/workspace/drive/labels", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive.admin.labels", - description: - "See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies", - }, - { - id: "https://www.googleapis.com/auth/drive.admin.labels.readonly", - description: - "See all Google Drive labels and label-related admin policies in your organization", - }, - { - id: "https://www.googleapis.com/auth/drive.labels", - description: "See, edit, create, and delete your Google Drive labels", - }, - { - id: "https://www.googleapis.com/auth/drive.labels.readonly", - description: "See your Google Drive labels", - }, - ], - }, - { - title: "Enterprise License Manager API", - version: "v1", - documentation: "https://developers.google.com/workspace/admin/licensing/", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.licensing", - description: "View and manage G Suite licenses for your domain", - }, - ], - }, - { - title: "Error Reporting API", - version: "v1beta1", - documentation: "https://cloud.google.com/error-reporting/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Essential Contacts API", - version: "v1", - documentation: "https://cloud.google.com/essentialcontacts/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Eventarc API", - version: "v1", - documentation: "https://cloud.google.com/eventarc", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Fact Check Tools API", - version: "v1alpha1", - documentation: "https://developers.google.com/fact-check/tools/api/", - scopes: [ - { - id: "https://www.googleapis.com/auth/factchecktools", - description: "Read, create, update, and delete your ClaimReview data.", - }, - ], - }, - { - title: "Firebase App Check API", - version: "v1", - documentation: "https://firebase.google.com/docs/app-check", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - ], - }, - { - title: "Firebase App Distribution API", - version: "v1", - documentation: "https://firebase.google.com/products/app-distribution", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Firebase App Hosting API", - version: "v1", - documentation: "https://firebase.google.com/docs/app-hosting", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Firebase Cloud Messaging API", - version: "v1", - documentation: "https://firebase.google.com/docs/cloud-messaging", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/firebase.messaging", - description: - "Send messages and manage messaging subscriptions for your Firebase applications", - }, - ], - }, - { - title: "Firebase Cloud Messaging Data API", - version: "v1beta1", - documentation: "https://firebase.google.com/docs/cloud-messaging", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Firebase Data Connect API", - version: "v1", - documentation: "https://firebase.google.com/docs/data-connect", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Firebase Dynamic Links API", - version: "v1", - documentation: "https://firebase.google.com/docs/dynamic-links/", - scopes: [ - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - ], - }, - { - title: "Firebase Hosting API", - version: "v1", - documentation: "https://firebase.google.com/docs/hosting/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - ], - }, - { - title: "Firebase ML API", - version: "v1", - documentation: "https://firebase.google.com", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Firebase Management API", - version: "v1beta1", - documentation: "https://firebase.google.com", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - { - id: "https://www.googleapis.com/auth/firebase.readonly", - description: "View all your Firebase data and settings", - }, - ], - }, - { - title: "Firebase Realtime Database Management API", - version: "v1beta", - documentation: - "https://firebase.google.com/docs/reference/rest/database/database-management/rest/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", - description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - { - id: "https://www.googleapis.com/auth/firebase.readonly", - description: "View all your Firebase data and settings", - }, - ], - }, - { - title: "Firebase Rules API", - version: "v1", - documentation: "https://firebase.google.com/docs/storage/security", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - { - id: "https://www.googleapis.com/auth/firebase.readonly", - description: "View all your Firebase data and settings", - }, - ], - }, - { - title: "Fitness API", - version: "v1", - documentation: "https://developers.google.com/fit/rest/v1/get-started", - scopes: [ - { - id: "https://www.googleapis.com/auth/fitness.activity.read", - description: - "Use Google Fit to see and store your physical activity data", - }, - { - id: "https://www.googleapis.com/auth/fitness.activity.write", - description: "Add to your Google Fit physical activity data", - }, - { - id: "https://www.googleapis.com/auth/fitness.blood_glucose.read", - description: - "See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.blood_glucose.write", - description: - "Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.blood_pressure.read", - description: - "See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.blood_pressure.write", - description: - "Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.body.read", - description: "See info about your body measurements in Google Fit", - }, - { - id: "https://www.googleapis.com/auth/fitness.body.write", - description: "Add info about your body measurements to Google Fit", - }, - { - id: "https://www.googleapis.com/auth/fitness.body_temperature.read", - description: - "See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.body_temperature.write", - description: - "Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.heart_rate.read", - description: - "See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.heart_rate.write", - description: - "Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.location.read", - description: "See your Google Fit speed and distance data", - }, - { - id: "https://www.googleapis.com/auth/fitness.location.write", - description: "Add to your Google Fit location data", - }, - { - id: "https://www.googleapis.com/auth/fitness.nutrition.read", - description: "See info about your nutrition in Google Fit", - }, - { - id: "https://www.googleapis.com/auth/fitness.nutrition.write", - description: "Add to info about your nutrition in Google Fit", - }, - { - id: "https://www.googleapis.com/auth/fitness.oxygen_saturation.read", - description: - "See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.oxygen_saturation.write", - description: - "Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.reproductive_health.read", - description: - "See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.reproductive_health.write", - description: - "Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.sleep.read", - description: - "See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.", - }, - { - id: "https://www.googleapis.com/auth/fitness.sleep.write", - description: - "Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.", - }, - ], - }, - { - title: "GKE Hub API", - version: "v2", - documentation: - "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "GKE On-Prem API", - version: "v1", - documentation: "https://cloud.google.com/anthos/clusters/docs/on-prem/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Gmail API", - version: "v1", - documentation: "https://developers.google.com/workspace/gmail/api/", - scopes: [ - { - id: "https://mail.google.com/", - description: - "Read, compose, send, and permanently delete all your email from Gmail", - }, - { - id: "https://www.googleapis.com/auth/gmail.addons.current.action.compose", - description: - "Manage drafts and send emails when you interact with the add-on", - }, - { - id: "https://www.googleapis.com/auth/gmail.addons.current.message.action", - description: - "View your email messages when you interact with the add-on", - }, - { - id: "https://www.googleapis.com/auth/gmail.addons.current.message.metadata", - description: - "View your email message metadata when the add-on is running", - }, - { - id: "https://www.googleapis.com/auth/gmail.addons.current.message.readonly", - description: "View your email messages when the add-on is running", - }, - { - id: "https://www.googleapis.com/auth/gmail.compose", - description: "Manage drafts and send emails", - }, - { - id: "https://www.googleapis.com/auth/gmail.insert", - description: "Add emails into your Gmail mailbox", - }, - { - id: "https://www.googleapis.com/auth/gmail.labels", - description: "See and edit your email labels", - }, - { - id: "https://www.googleapis.com/auth/gmail.metadata", - description: - "View your email message metadata such as labels and headers, but not the email body", - }, - { - id: "https://www.googleapis.com/auth/gmail.modify", - description: "Read, compose, and send emails from your Gmail account", - }, - { - id: "https://www.googleapis.com/auth/gmail.readonly", - description: "View your email messages and settings", - }, - { - id: "https://www.googleapis.com/auth/gmail.send", - description: "Send email on your behalf", - }, - { - id: "https://www.googleapis.com/auth/gmail.settings.basic", - description: - "See, edit, create, or change your email settings and filters in Gmail", - }, - { - id: "https://www.googleapis.com/auth/gmail.settings.sharing", - description: - "Manage your sensitive mail settings, including who can manage your mail", - }, - ], - }, - { - title: "Gmail Postmaster Tools API", - version: "v1", - documentation: "https://developers.google.com/workspace/gmail/postmaster", - scopes: [ - { - id: "https://www.googleapis.com/auth/postmaster.readonly", - description: - "See email traffic metrics for the domains you have registered in Gmail Postmaster Tools", - }, - ], - }, - { - title: "Google Analytics API", - version: "v3", - documentation: "https://developers.google.com/analytics/", - scopes: [ - { - id: "https://www.googleapis.com/auth/analytics", - description: "View and manage your Google Analytics data", - }, - { - id: "https://www.googleapis.com/auth/analytics.edit", - description: "Edit Google Analytics management entities", - }, - { - id: "https://www.googleapis.com/auth/analytics.manage.users", - description: "Manage Google Analytics Account users by email address", - }, - { - id: "https://www.googleapis.com/auth/analytics.manage.users.readonly", - description: "View Google Analytics user permissions", - }, - { - id: "https://www.googleapis.com/auth/analytics.provision", - description: - "Create a new Google Analytics account along with its default property and view", - }, - { - id: "https://www.googleapis.com/auth/analytics.readonly", - description: "View your Google Analytics data", - }, - { - id: "https://www.googleapis.com/auth/analytics.user.deletion", - description: "Manage Google Analytics user deletion requests", - }, - ], - }, - { - title: "Google Analytics Admin API", - version: "v1beta", - documentation: "http://code.google.com/apis/analytics/docs/mgmt/home.html", - scopes: [ - { - id: "https://www.googleapis.com/auth/analytics.edit", - description: "Edit Google Analytics management entities", - }, - { - id: "https://www.googleapis.com/auth/analytics.readonly", - description: "See and download your Google Analytics data", - }, - ], - }, - { - title: "Google Analytics Data API", - version: "v1beta", - documentation: - "https://developers.google.com/analytics/devguides/reporting/data/v1/", - scopes: [ - { - id: "https://www.googleapis.com/auth/analytics", - description: "View and manage your Google Analytics data", - }, - { - id: "https://www.googleapis.com/auth/analytics.readonly", - description: "See and download your Google Analytics data", - }, - ], - }, - { - title: "Google Chat API", - version: "v1", - documentation: "https://developers.google.com/hangouts/chat", - scopes: [ - { - id: "https://www.googleapis.com/auth/chat.admin.delete", - description: - "Delete conversations and spaces owned by your organization and remove access to associated files in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.admin.memberships", - description: - "View, add, update and remove members and managers in conversations owned by your organization", - }, - { - id: "https://www.googleapis.com/auth/chat.admin.memberships.readonly", - description: - "View members and managers in conversations owned by your organization", - }, - { - id: "https://www.googleapis.com/auth/chat.admin.spaces", - description: - "View or edit display name, description, and other metadata for all Google Chat conversations owned by your organization", - }, - { - id: "https://www.googleapis.com/auth/chat.admin.spaces.readonly", - description: - "View display name, description, and other metadata for all Google Chat conversations owned by your organization", - }, - { - id: "https://www.googleapis.com/auth/chat.app.delete", - description: - "On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files", - }, - { - id: "https://www.googleapis.com/auth/chat.app.memberships", - description: - "On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces", - }, - { - id: "https://www.googleapis.com/auth/chat.app.spaces", - description: - "On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)", - }, - { - id: "https://www.googleapis.com/auth/chat.app.spaces.create", - description: - "On their own behalf, apps in Google Chat can create conversations and spaces", - }, - { - id: "https://www.googleapis.com/auth/chat.customemojis", - description: "View, create, and delete custom emoji in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.customemojis.readonly", - description: "View custom emoji in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.delete", - description: - "Delete conversations and spaces and remove access to associated files in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.import", - description: - "Import spaces, messages, and memberships into Google Chat.", - }, - { - id: "https://www.googleapis.com/auth/chat.memberships", - description: - "See, add, update, and remove members from conversations and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.memberships.app", - description: - "Add and remove itself from conversations and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.memberships.readonly", - description: "View members in Google Chat conversations.", - }, - { - id: "https://www.googleapis.com/auth/chat.messages", - description: - "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.create", - description: "Compose and send messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.reactions", - description: - "See, add, and delete reactions as well as their reaction content to messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.reactions.create", - description: "Add reactions to messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.reactions.readonly", - description: - "View reactions as well as their reaction content to messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.readonly", - description: - "See messages as well as their reactions and message content in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.spaces", - description: - "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.spaces.create", - description: "Create new conversations and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.spaces.readonly", - description: "View chat and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.users.readstate", - description: - "View and modify last read time for Google Chat conversations", - }, - { - id: "https://www.googleapis.com/auth/chat.users.readstate.readonly", - description: "View last read time for Google Chat conversations", - }, - { - id: "https://www.googleapis.com/auth/chat.users.spacesettings", - description: "Read and update your space settings", - }, - ], - }, - { - title: "Google Classroom API", - version: "v1", - documentation: "https://developers.google.com/workspace/classroom/", - scopes: [ - { - id: "https://www.googleapis.com/auth/classroom.addons.student", - description: - "See and update its own attachments to posts in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.addons.teacher", - description: - "See, create, and update its own attachments to posts in classes you teach in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.announcements", - description: "View and manage announcements in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.announcements.readonly", - description: "View announcements in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.courses", - description: - "See, edit, create, and permanently delete your Google Classroom classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.courses.readonly", - description: "View your Google Classroom classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.coursework.me", - description: - "See, create and edit coursework items including assignments, questions, and grades", - }, - { - id: "https://www.googleapis.com/auth/classroom.coursework.me.readonly", - description: "View your course work and grades in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.coursework.students", - description: - "Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer", - }, - { - id: "https://www.googleapis.com/auth/classroom.coursework.students.readonly", - description: - "View course work and grades for students in the Google Classroom classes you teach or administer", - }, - { - id: "https://www.googleapis.com/auth/classroom.courseworkmaterials", - description: - "See, edit, and create classwork materials in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly", - description: - "See all classwork materials for your Google Classroom classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly", - description: "View your Google Classroom guardians", - }, - { - id: "https://www.googleapis.com/auth/classroom.guardianlinks.students", - description: - "View and manage guardians for students in your Google Classroom classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly", - description: - "View guardians for students in your Google Classroom classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.profile.emails", - description: "View the email addresses of people in your classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.profile.photos", - description: "View the profile photos of people in your classes", - }, - { - id: "https://www.googleapis.com/auth/classroom.push-notifications", - description: "Receive notifications about your Google Classroom data", - }, - { - id: "https://www.googleapis.com/auth/classroom.rosters", - description: "Manage your Google Classroom class rosters", - }, - { - id: "https://www.googleapis.com/auth/classroom.rosters.readonly", - description: "View your Google Classroom class rosters", - }, - { - id: "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", - description: "View your course work and grades in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly", - description: - "View course work and grades for students in the Google Classroom classes you teach or administer", - }, - { - id: "https://www.googleapis.com/auth/classroom.topics", - description: "See, create, and edit topics in Google Classroom", - }, - { - id: "https://www.googleapis.com/auth/classroom.topics.readonly", - description: "View topics in Google Classroom", - }, - ], - }, - { - title: "Google Cloud Data Catalog API", - version: "v1", - documentation: "https://cloud.google.com/data-catalog/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Google Cloud Memorystore for Redis API", - version: "v1", - documentation: "https://cloud.google.com/memorystore/docs/redis/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Google Cloud Support API", - version: "v2", - documentation: "https://cloud.google.com/support/docs/apis", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Google Docs API", - version: "v1", - documentation: "https://developers.google.com/workspace/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/documents", - description: - "See, edit, create, and delete all your Google Docs documents", - }, - { - id: "https://www.googleapis.com/auth/documents.readonly", - description: "See all your Google Docs documents", - }, - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - ], - }, - { - title: "Google Drive API", - version: "v3", - documentation: "https://developers.google.com/workspace/drive/", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.appdata", - description: - "See, create, and delete its own configuration data in your Google Drive", - }, - { - id: "https://www.googleapis.com/auth/drive.apps.readonly", - description: "View your Google Drive apps", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.meet.readonly", - description: - "See and download your Google Drive files that were created or edited by Google Meet.", - }, - { - id: "https://www.googleapis.com/auth/drive.metadata", - description: "View and manage metadata of files in your Google Drive", - }, - { - id: "https://www.googleapis.com/auth/drive.metadata.readonly", - description: "See information about your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.photos.readonly", - description: "View the photos, videos and albums in your Google Photos", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.scripts", - description: "Modify your Google Apps Script scripts' behavior", - }, - ], - }, - { - title: "Google Forms API", - version: "v1", - documentation: "https://developers.google.com/workspace/forms/api", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/forms.body", - description: - "See, edit, create, and delete all your Google Forms forms", - }, - { - id: "https://www.googleapis.com/auth/forms.body.readonly", - description: "See all your Google Forms forms", - }, - { - id: "https://www.googleapis.com/auth/forms.responses.readonly", - description: "See all responses to your Google Forms forms", - }, - ], - }, - { - title: "Google Identity Toolkit API", - version: "v3", - documentation: "https://developers.google.com/identity-toolkit/v3/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "View and manage your data across Google Cloud Platform services", - }, - { - id: "https://www.googleapis.com/auth/firebase", - description: "View and administer all your Firebase data and settings", - }, - ], - }, - { - title: "Google Keep API", - version: "v1", - documentation: "https://developers.google.com/workspace/keep/api", - scopes: [ - { - id: "https://www.googleapis.com/auth/keep", - description: - "See, edit, create and permanently delete all your Google Keep data", - }, - { - id: "https://www.googleapis.com/auth/keep.readonly", - description: "View all your Google Keep data", - }, - ], - }, - { - title: "Google Marketing Platform Admin API", - version: "v1alpha", - documentation: - "https://developers.google.com/analytics/devguides/config/gmp/v1", - scopes: [ - { - id: "https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", - description: - "View your Google Analytics product account data in GMP home", - }, - { - id: "https://www.googleapis.com/auth/marketingplatformadmin.analytics.update", - description: - "Manage your Google Analytics product account data in GMP home", - }, - ], - }, - { - title: "Google Meet API", - version: "v2", - documentation: "https://developers.google.com/workspace/meet/api", - scopes: [ - { - id: "https://www.googleapis.com/auth/meetings.space.created", - description: - "Create, edit, and see information about your Google Meet conferences created by the app.", - }, - { - id: "https://www.googleapis.com/auth/meetings.space.readonly", - description: - "Read information about any of your Google Meet conferences", - }, - { - id: "https://www.googleapis.com/auth/meetings.space.settings", - description: - "Edit, and see settings for all of your Google Meet calls.", - }, - ], - }, - { - title: "Google OAuth2 API", - version: "v2", - documentation: "https://developers.google.com/identity/protocols/oauth2/", - scopes: [ - { - id: "https://www.googleapis.com/auth/userinfo.email", - description: "See your primary Google Account email address", - }, - { - id: "https://www.googleapis.com/auth/userinfo.profile", - description: - "See your personal info, including any personal info you've made publicly available", - }, - { - id: "openid", - description: "Associate you with your personal info on Google", - }, - ], - }, - { - title: "Google Play Android Developer API", - version: "v3", - documentation: "https://developers.google.com/android-publisher", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidpublisher", - description: "View and manage your Google Play Developer account", - }, - ], - }, - { - title: "Google Play Custom App Publishing API", - version: "v1", - documentation: - "https://developers.google.com/android/work/play/custom-app-api/", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidpublisher", - description: "View and manage your Google Play Developer account", - }, - ], - }, - { - title: "Google Play Developer Reporting API", - version: "v1beta1", - documentation: "https://developers.google.com/play/developer/reporting", - scopes: [ - { - id: "https://www.googleapis.com/auth/playdeveloperreporting", - description: - "See metrics and data about the apps in your Google Play Developer account", - }, - ], - }, - { - title: "Google Play EMM API", - version: "v1", - documentation: "https://developers.google.com/android/work/play/emm-api", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidenterprise", - description: "Manage corporate Android devices", - }, - ], - }, - { - title: "Google Play Games Services API", - version: "v1", - documentation: "https://developers.google.com/games/", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidpublisher", - description: "View and manage your Google Play Developer account", - }, - { - id: "https://www.googleapis.com/auth/drive.appdata", - description: - "See, create, and delete its own configuration data in your Google Drive", - }, - { - id: "https://www.googleapis.com/auth/games", - description: "Create, edit, and delete your Google Play Games activity", - }, - ], - }, - { - title: "Google Play Games Services Management API", - version: "v1management", - documentation: "https://developers.google.com/games/", - scopes: [ - { - id: "https://www.googleapis.com/auth/games", - description: "Create, edit, and delete your Google Play Games activity", - }, - ], - }, - { - title: "Google Play Games Services Publishing API", - version: "v1configuration", - documentation: "https://developers.google.com/games/", - scopes: [ - { - id: "https://www.googleapis.com/auth/androidpublisher", - description: "View and manage your Google Play Developer account", - }, - ], - }, - { - title: "Google Search Console API", - version: "v1", - documentation: "https://developers.google.com/webmaster-tools/about", - scopes: [ - { - id: "https://www.googleapis.com/auth/webmasters", - description: - "View and manage Search Console data for your verified sites", - }, - { - id: "https://www.googleapis.com/auth/webmasters.readonly", - description: "View Search Console data for your verified sites", - }, - ], - }, - { - title: "Google Sheets API", - version: "v4", - documentation: "https://developers.google.com/workspace/sheets/", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/spreadsheets", - description: - "See, edit, create, and delete all your Google Sheets spreadsheets", - }, - { - id: "https://www.googleapis.com/auth/spreadsheets.readonly", - description: "See all your Google Sheets spreadsheets", - }, - ], - }, - { - title: "Google Sign-In", - version: null, - documentation: "https://developers.google.com/identity/#google-sign-in", - scopes: [ - { - id: "email", - description: "See your primary Google Account email address", - }, - { - id: "openid", - description: "Associate you with your personal info on Google", - }, - { - id: "profile", - description: - "See your personal info, including any personal info you've made publicly available", - }, - ], - }, - { - title: "Google Site Verification API", - version: "v1", - documentation: "https://developers.google.com/site-verification/", - scopes: [ - { - id: "https://www.googleapis.com/auth/siteverification", - description: "Manage the list of sites and domains you control", - }, - { - id: "https://www.googleapis.com/auth/siteverification.verify_only", - description: "Manage your new site verifications with Google", - }, - ], - }, - { - title: "Google Slides API", - version: "v1", - documentation: "https://developers.google.com/workspace/slides/", - scopes: [ - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/presentations", - description: - "See, edit, create, and delete all your Google Slides presentations", - }, - { - id: "https://www.googleapis.com/auth/presentations.readonly", - description: "See all your Google Slides presentations", - }, - { - id: "https://www.googleapis.com/auth/spreadsheets", - description: - "See, edit, create, and delete all your Google Sheets spreadsheets", - }, - { - id: "https://www.googleapis.com/auth/spreadsheets.readonly", - description: "See all your Google Sheets spreadsheets", - }, - ], - }, - { - title: "Google Tasks API", - version: "v1", - documentation: "https://developers.google.com/workspace/tasks/", - scopes: [ - { - id: "https://www.googleapis.com/auth/tasks", - description: "Create, edit, organize, and delete all your tasks", - }, - { - id: "https://www.googleapis.com/auth/tasks.readonly", - description: "View your tasks", - }, - ], - }, - { - title: "Google Vault API", - version: "v1", - documentation: "https://developers.google.com/workspace/vault", - scopes: [ - { - id: "https://www.googleapis.com/auth/ediscovery", - description: "Manage your eDiscovery data", - }, - { - id: "https://www.googleapis.com/auth/ediscovery.readonly", - description: "View your eDiscovery data", - }, - ], - }, - { - title: "Google Workspace Alert Center API", - version: "v1beta1", - documentation: "https://developers.google.com/workspace/admin/alertcenter/", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.alerts", - description: - "See and delete your domain's G Suite alerts, and send alert feedback", - }, - ], - }, - { - title: "Google Workspace Events API", - version: "v1", - documentation: "https://developers.google.com/workspace/events", - scopes: [ - { - id: "https://www.googleapis.com/auth/chat.memberships", - description: - "See, add, update, and remove members from conversations and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.memberships.readonly", - description: "View members in Google Chat conversations.", - }, - { - id: "https://www.googleapis.com/auth/chat.messages", - description: - "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.reactions", - description: - "See, add, and delete reactions as well as their reaction content to messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.reactions.readonly", - description: - "View reactions as well as their reaction content to messages in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.messages.readonly", - description: - "See messages as well as their reactions and message content in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.spaces", - description: - "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/chat.spaces.readonly", - description: "View chat and spaces in Google Chat", - }, - { - id: "https://www.googleapis.com/auth/drive", - description: - "See, edit, create, and delete all of your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.file", - description: - "See, edit, create, and delete only the specific Google Drive files you use with this app", - }, - { - id: "https://www.googleapis.com/auth/drive.metadata", - description: "View and manage metadata of files in your Google Drive", - }, - { - id: "https://www.googleapis.com/auth/drive.metadata.readonly", - description: "See information about your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/drive.readonly", - description: "See and download all your Google Drive files", - }, - { - id: "https://www.googleapis.com/auth/meetings.space.created", - description: - "Create, edit, and see information about your Google Meet conferences created by the app.", - }, - { - id: "https://www.googleapis.com/auth/meetings.space.readonly", - description: - "Read information about any of your Google Meet conferences", - }, - ], - }, - { - title: "Google Workspace Reseller API", - version: "v1", - documentation: "https://developers.google.com/google-apps/reseller/", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.order", - description: "Manage users on your domain", - }, - { - id: "https://www.googleapis.com/auth/apps.order.readonly", - description: "Manage users on your domain", - }, - ], - }, - { - title: "Groups Migration API", - version: "v1", - documentation: - "https://developers.google.com/google-apps/groups-migration/", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.groups.migration", - description: "Upload messages to any Google group in your domain", - }, - ], - }, - { - title: "Groups Settings API", - version: "v1", - documentation: - "https://developers.google.com/google-apps/groups-settings/get_started", - scopes: [ - { - id: "https://www.googleapis.com/auth/apps.groups.settings", - description: "View and manage the settings of a G Suite group", - }, - ], - }, - { - title: "IAM Service Account Credentials API", - version: "v1", - documentation: - "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Identity and Access Management (IAM) API", - version: "v2", - documentation: "https://cloud.google.com/iam/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Infrastructure Manager API", - version: "v1", - documentation: "https://cloud.google.com/infrastructure-manager/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "KMS Inventory API", - version: "v1", - documentation: "https://cloud.google.com/kms/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Kubernetes Engine API", - version: "v1", - documentation: "https://cloud.google.com/kubernetes-engine/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Library Agent API", - version: "v1", - documentation: "https://cloud.google.com/docs/quota", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Local Services API", - version: "v1", - documentation: "https://ads.google.com/local-services-ads/", - scopes: [ - { - id: "https://www.googleapis.com/auth/adwords", - description: - "See, edit, create, and delete your Google Ads accounts and data.", - }, - ], - }, - { - title: "Looker (Google Cloud core) API", - version: "v1", - documentation: "https://cloud.google.com/looker/docs/reference/rest/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Managed Service for Apache Kafka API", - version: "v1", - documentation: - "https://cloud.google.com/managed-service-for-apache-kafka/docs", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Managed Service for Microsoft Active Directory API", - version: "v1", - documentation: "https://cloud.google.com/managed-microsoft-ad/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Manufacturer Center API", - version: "v1", - documentation: "https://developers.google.com/manufacturers/", - scopes: [ - { - id: "https://www.googleapis.com/auth/manufacturercenter", - description: - "Manage your product listings for Google Manufacturer Center", - }, - ], - }, - { - title: "Merchant API", - version: "reviews_v1beta", - documentation: "https://developers.google.com/merchant/api", - scopes: [ - { - id: "https://www.googleapis.com/auth/content", - description: - "Manage your product listings and accounts for Google Shopping", - }, - ], - }, - { - title: "Migration Center API", - version: "v1", - documentation: "https://cloud.google.com/migration-center", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "NetApp API", - version: "v1", - documentation: "https://cloud.google.com/netapp/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Network Connectivity API", - version: "v1", - documentation: - "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Network Management API", - version: "v1", - documentation: "https://cloud.google.com/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Network Security API", - version: "v1", - documentation: "https://cloud.google.com/networking", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Network Services API", - version: "v1", - documentation: "https://cloud.google.com/networking", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Notebooks API", - version: "v2", - documentation: "https://cloud.google.com/notebooks/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "OS Config API", - version: "v2", - documentation: "https://cloud.google.com/compute/docs/osconfig/rest", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Observability API", - version: "v1", - documentation: "https://cloud.google.com/stackdriver/docs/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "On-Demand Scanning API", - version: "v1", - documentation: - "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "OpenID Connect", - version: 1.0, - documentation: - "https://developers.google.com/identity/protocols/oauth2/openid-connect", - scopes: [ - { - id: "email", - description: "See your primary Google Account email address", - }, - { - id: "openid", - description: "Associate you with your personal info on Google", + "See, edit, create, and delete all of your Google Drive files", }, { - id: "profile", + id: "https://www.googleapis.com/auth/drive.file", description: - "See your personal info, including any personal info you've made publicly available", + "See, edit, create, and delete only the specific Google Drive files you use with this app", }, - ], - }, - { - title: "Oracle Database@Google Cloud API", - version: "v1", - documentation: "https://cloud.google.com/oracle/database/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/drive.readonly", + description: "See and download all your Google Drive files", }, ], }, { - title: "Organization Policy API", version: "v2", - documentation: - "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "PageSpeed Insights API", - version: "v5", - documentation: "https://developers.google.com/speed/docs/insights/v5/about", - scopes: [ - { - id: "openid", - description: "Associate you with your personal info on Google", - }, - ], - }, - { - title: "Parallelstore API", - version: "v1", - documentation: "https://cloud.google.com/parallelstore", - scopes: [ - { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - ], - }, - { - title: "Payments Reseller Subscription API", - version: "v1", - documentation: - "https://developers.google.com/payments/reseller/subscription/", - scopes: [ - { - id: "https://www.googleapis.com/auth/sdm.service", - description: "See and/or control the devices that you selected", - }, - ], - }, - { - title: "People API", - version: "v1", - documentation: "https://developers.google.com/people/", + title: "Drive Activity API", + description: "Provides a historical view of activity in Google Drive.", + discoveryRestUrl: + "https://driveactivity.googleapis.com/$discovery/rest?version=v2", + documentationLink: + "https://developers.google.com/workspace/drive/activity/", scopes: [ { - id: "https://www.googleapis.com/auth/contacts", - description: - "See, edit, download, and permanently delete your contacts", - }, - { - id: "https://www.googleapis.com/auth/contacts.other.readonly", - description: - 'See and download contact info automatically saved in your "Other contacts"', - }, - { - id: "https://www.googleapis.com/auth/contacts.readonly", - description: "See and download your contacts", - }, - { - id: "https://www.googleapis.com/auth/directory.readonly", - description: "See and download your organization's GSuite directory", - }, - { - id: "https://www.googleapis.com/auth/user.addresses.read", - description: "View your street addresses", - }, - { - id: "https://www.googleapis.com/auth/user.birthday.read", - description: "See and download your exact date of birth", - }, - { - id: "https://www.googleapis.com/auth/user.emails.read", + id: "https://www.googleapis.com/auth/drive.activity", description: - "See and download all of your Google Account email addresses", - }, - { - id: "https://www.googleapis.com/auth/user.gender.read", - description: "See your gender", - }, - { - id: "https://www.googleapis.com/auth/user.organization.read", - description: "See your education, work history and org info", - }, - { - id: "https://www.googleapis.com/auth/user.phonenumbers.read", - description: "See and download your personal phone numbers", - }, - { - id: "https://www.googleapis.com/auth/userinfo.email", - description: "See your primary Google Account email address", + "View and add to the activity record of files in your Google Drive", }, { - id: "https://www.googleapis.com/auth/userinfo.profile", - description: - "See your personal info, including any personal info you've made publicly available", + id: "https://www.googleapis.com/auth/drive.activity.readonly", + description: "View the activity record of files in your Google Drive", }, ], }, { - title: "Photos Library API", - version: "v1", - documentation: "https://developers.google.com/photos/", + version: "v2beta", + title: "Drive Labels API", + description: "An API for managing Drive Labels", + discoveryRestUrl: + "https://drivelabels.googleapis.com/$discovery/rest?version=v2beta", + documentationLink: "https://developers.google.com/workspace/drive/labels", scopes: [ { - id: "https://www.googleapis.com/auth/photoslibrary", + id: "https://www.googleapis.com/auth/drive.admin.labels", description: - "See, upload, and organize items in your Google Photos library", - }, - { - id: "https://www.googleapis.com/auth/photoslibrary.appendonly", - description: "Add to your Google Photos library", + "See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies", }, { - id: "https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata", + id: "https://www.googleapis.com/auth/drive.admin.labels.readonly", description: - "Edit the info in your photos, videos, and albums created within this app, including titles, descriptions, and covers", - }, - { - id: "https://www.googleapis.com/auth/photoslibrary.readonly", - description: "View your Google Photos library", + "See all Google Drive labels and label-related admin policies in your organization", }, { - id: "https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata", - description: "Manage photos added by this app", + id: "https://www.googleapis.com/auth/drive.labels", + description: "See, edit, create, and delete your Google Drive labels", }, { - id: "https://www.googleapis.com/auth/photoslibrary.sharing", - description: "Manage and add to shared albums on your behalf", + id: "https://www.googleapis.com/auth/drive.labels.readonly", + description: "See your Google Drive labels", }, ], }, { - title: "Places API (New)", - version: "v1", - documentation: - "https://mapsplatform.google.com/maps-products/#places-section", + version: "v2", + title: "Drive Labels API", + description: "An API for managing Drive Labels", + discoveryRestUrl: + "https://drivelabels.googleapis.com/$discovery/rest?version=v2", + documentationLink: "https://developers.google.com/workspace/drive/labels", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.admin.labels", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies", }, - ], - }, - { - title: "Places Aggregate API", - version: "v1", - documentation: - "https://developers.google.com/maps/documentation/places-aggregate/overview", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.admin.labels.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See all Google Drive labels and label-related admin policies in your organization", }, - ], - }, - { - title: "Policy Analyzer API", - version: "v1", - documentation: "https://www.google.com", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/drive.labels", + description: "See, edit, create, and delete your Google Drive labels", }, - ], - }, - { - title: "Policy Simulator API", - version: "v1", - documentation: "https://cloud.google.com/iam/docs/simulating-access", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/drive.labels.readonly", + description: "See your Google Drive labels", }, ], }, { - title: "Policy Troubleshooter API", version: "v1", - documentation: "https://cloud.google.com/iam/", + title: "Google Forms API", + description: "Reads and writes Google Forms and responses.", + discoveryRestUrl: "https://forms.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/forms/api", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all of your Google Drive files", }, - ], - }, - { - title: "Pollen API", - version: "v1", - documentation: "https://developers.google.com/maps/documentation/pollen", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.file", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete only the specific Google Drive files you use with this app", }, - ], - }, - { - title: "Pub/Sub Lite API", - version: "v1", - documentation: "https://cloud.google.com/pubsub/lite/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/drive.readonly", + description: "See and download all your Google Drive files", }, - ], - }, - { - title: "Public Certificate Authority API", - version: "v1", - documentation: "https://cloud.google.com/public-certificate-authority/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/forms.body", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Forms forms", }, - ], - }, - { - title: "Rapid Migration Assessment API", - version: "v1", - documentation: "https://cloud.google.com/migration-center", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/forms.body.readonly", + description: "See all your Google Forms forms", + }, + { + id: "https://www.googleapis.com/auth/forms.responses.readonly", + description: "See all responses to your Google Forms forms", }, ], }, { - title: "Real-time Bidding API", version: "v1", - documentation: - "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", + title: "Gmail API", + description: + "The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.", + discoveryRestUrl: "https://gmail.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/gmail/api/", scopes: [ { - id: "https://www.googleapis.com/auth/realtime-bidding", + id: "https://mail.google.com/", description: - "See, create, edit, and delete your Authorized Buyers and Open Bidding account entities", + "Read, compose, send, and permanently delete all your email from Gmail", }, - ], - }, - { - title: "Recommendations AI (Beta)", - version: "v1beta1", - documentation: "https://cloud.google.com/recommendations-ai/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/gmail.addons.current.action.compose", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Manage drafts and send emails when you interact with the add-on", }, - ], - }, - { - title: "Recommender API", - version: "v1", - documentation: "https://cloud.google.com/recommender/docs/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/gmail.addons.current.message.action", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View your email messages when you interact with the add-on", }, - ], - }, - { - title: "SAS Portal API", - version: "v1alpha1", - documentation: "https://developers.google.com/spectrum-access-system/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/gmail.addons.current.message.metadata", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View your email message metadata when the add-on is running", }, { - id: "https://www.googleapis.com/auth/sasportal", - description: "Read, create, update, and delete your SAS Portal data.", + id: "https://www.googleapis.com/auth/gmail.addons.current.message.readonly", + description: "View your email messages when the add-on is running", }, - ], - }, - { - title: "SAS Portal API (Testing)", - version: "v1alpha1", - documentation: "https://developers.google.com/spectrum-access-system/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/gmail.compose", + description: "Manage drafts and send emails", }, { - id: "https://www.googleapis.com/auth/sasportal", - description: "Read, create, update, and delete your SAS Portal data.", + id: "https://www.googleapis.com/auth/gmail.insert", + description: "Add emails into your Gmail mailbox", }, - ], - }, - { - title: "SaaS Runtime API", - version: "v1beta1", - documentation: "https://cloud.google.com/saas-runtime/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/gmail.labels", + description: "See and edit your email labels", }, - ], - }, - { - title: "Search Ads 360 API", - version: "v2", - documentation: "https://developers.google.com/search-ads", - scopes: [ { - id: "https://www.googleapis.com/auth/doubleclicksearch", + id: "https://www.googleapis.com/auth/gmail.metadata", description: - "View and manage your advertising data in DoubleClick Search", + "View your email message metadata such as labels and headers, but not the email body", }, - ], - }, - { - title: "Search Ads 360 Reporting API", - version: "v0", - documentation: "https://developers.google.com/search-ads/reporting", - scopes: [ { - id: "https://www.googleapis.com/auth/doubleclicksearch", - description: - "View and manage your advertising data in DoubleClick Search", + id: "https://www.googleapis.com/auth/gmail.modify", + description: "Read, compose, and send emails from your Gmail account", }, - ], - }, - { - title: "Secret Manager API", - version: "v1", - documentation: "https://cloud.google.com/secret-manager/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/gmail.readonly", + description: "View your email messages and settings", }, - ], - }, - { - title: "Security Command Center API", - version: "v1", - documentation: "https://cloud.google.com/security-command-center", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/gmail.send", + description: "Send email on your behalf", }, - ], - }, - { - title: "Security Posture API", - version: "v1", - documentation: "https://cloud.google.com/security-command-center", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/gmail.settings.basic", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, or change your email settings and filters in Gmail", }, - ], - }, - { - title: "Sensitive Data Protection (DLP)", - version: "v2", - documentation: "https://cloud.google.com/sensitive-data-protection/docs/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/gmail.settings.sharing", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Manage your sensitive mail settings, including who can manage your mail", }, ], }, { - title: "Serverless VPC Access API", - version: "v1", - documentation: - "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", + version: "v1beta1", + title: "Gmail Postmaster Tools API", + description: + "The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.", + discoveryRestUrl: + "https://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1beta1", + documentationLink: + "https://developers.google.com/workspace/gmail/postmaster", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/postmaster.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See email traffic metrics for the domains you have registered in Gmail Postmaster Tools", }, ], }, { - title: "Service Consumer Management API", version: "v1", - documentation: - "https://cloud.google.com/service-consumer-management/docs/overview", + title: "Gmail Postmaster Tools API", + description: + "The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.", + discoveryRestUrl: + "https://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1", + documentationLink: + "https://developers.google.com/workspace/gmail/postmaster", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/postmaster.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See email traffic metrics for the domains you have registered in Gmail Postmaster Tools", }, ], }, { - title: "Service Control API", - version: "v2", - documentation: "https://cloud.google.com/service-control/", + version: "v1", + title: "Google Keep API", + description: + "The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software.", + discoveryRestUrl: "https://keep.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/keep/api", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/keep", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create and permanently delete all your Google Keep data", }, { - id: "https://www.googleapis.com/auth/servicecontrol", - description: "Manage your Google Service Control data", + id: "https://www.googleapis.com/auth/keep.readonly", + description: "View all your Google Keep data", }, ], }, { - title: "Service Directory API", version: "v1", - documentation: "https://cloud.google.com/service-directory", + title: "Enterprise License Manager API", + description: + "The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.", + discoveryRestUrl: + "https://licensing.googleapis.com/$discovery/rest?version=v1", + documentationLink: + "https://developers.google.com/workspace/admin/licensing/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/apps.licensing", + description: "View and manage G Suite licenses for your domain", }, ], }, { - title: "Service Management API", - version: "v1", - documentation: "https://cloud.google.com/service-management/", + version: "v2", + title: "Google Meet API", + description: "Create and manage meetings in Google Meet.", + discoveryRestUrl: "https://meet.googleapis.com/$discovery/rest?version=v2", + documentationLink: "https://developers.google.com/workspace/meet/api", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", - }, - { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", + id: "https://www.googleapis.com/auth/meetings.space.created", description: - "View your data across Google Cloud services and see the email address of your Google Account", - }, - { - id: "https://www.googleapis.com/auth/service.management", - description: "Manage your Google API service configuration", - }, - { - id: "https://www.googleapis.com/auth/service.management.readonly", - description: "View your Google API service configuration", + "Create, edit, and see information about your Google Meet conferences created by the app.", }, - ], - }, - { - title: "Service Networking API", - version: "v1", - documentation: - "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/meetings.space.readonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Read information about any of your Google Meet conferences", }, { - id: "https://www.googleapis.com/auth/service.management", - description: "Manage your Google API service configuration", + id: "https://www.googleapis.com/auth/meetings.space.settings", + description: + "Edit, and see settings for all of your Google Meet calls.", }, ], }, { - title: "Service Usage API", version: "v1", - documentation: "https://cloud.google.com/service-usage/", + title: "Apps Script API", + description: "Manages and executes Google Apps Script projects.", + discoveryRestUrl: + "https://script.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/apps-script/api/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://mail.google.com/", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Read, compose, send, and permanently delete all your email from Gmail", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", + id: "https://www.google.com/calendar/feeds", description: - "View your data across Google Cloud services and see the email address of your Google Account", + "See, edit, share, and permanently delete all the calendars you can access using Google Calendar", }, { - id: "https://www.googleapis.com/auth/service.management", - description: "Manage your Google API service configuration", + id: "https://www.google.com/m8/feeds", + description: + "See, edit, download, and permanently delete your contacts", }, - ], - }, - { - title: "Smart Device Management API", - version: "v1", - documentation: "https://developers.google.com/nest/device-access", - scopes: [ { - id: "https://www.googleapis.com/auth/sdm.service", - description: "See and/or control the devices that you selected", + id: "https://www.googleapis.com/auth/admin.directory.group", + description: + "View and manage the provisioning of groups on your domain", }, - ], - }, - { - title: "Solar API", - version: "v1", - documentation: "https://developers.google.com/maps/documentation/solar", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/admin.directory.user", + description: "View and manage the provisioning of users on your domain", + }, + { + id: "https://www.googleapis.com/auth/documents", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Docs documents", }, - ], - }, - { - title: "Storage Batch Operations API", - version: "v1", - documentation: - "https://cloud.google.com/storage/docs/batch-operations/overview", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all of your Google Drive files", }, - ], - }, - { - title: "Storage Transfer API", - version: "v1", - documentation: "https://cloud.google.com/storage-transfer/docs", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/forms", + description: "View and manage your forms in Google Drive", + }, + { + id: "https://www.googleapis.com/auth/forms.currentonly", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "View and manage forms that this application has been installed in", }, - ], - }, - { - title: "Street View Publish API", - version: "v1", - documentation: "https://developers.google.com/streetview/publish/", - scopes: [ { - id: "https://www.googleapis.com/auth/streetviewpublish", - description: "Publish and manage your 360 photos on Google Street View", + id: "https://www.googleapis.com/auth/groups", + description: "View and manage your Google Groups", }, - ], - }, - { - title: "Tag Manager API", - version: "v2", - documentation: "https://developers.google.com/tag-manager", - scopes: [ { - id: "https://www.googleapis.com/auth/tagmanager.delete.containers", - description: "Delete your Google Tag Manager containers", + id: "https://www.googleapis.com/auth/script.deployments", + description: "Create and update Google Apps Script deployments", }, { - id: "https://www.googleapis.com/auth/tagmanager.edit.containers", - description: - "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing", + id: "https://www.googleapis.com/auth/script.deployments.readonly", + description: "View Google Apps Script deployments", }, { - id: "https://www.googleapis.com/auth/tagmanager.edit.containerversions", - description: "Manage your Google Tag Manager container versions", + id: "https://www.googleapis.com/auth/script.metrics", + description: "View Google Apps Script project's metrics", }, { - id: "https://www.googleapis.com/auth/tagmanager.manage.accounts", - description: "View and manage your Google Tag Manager accounts", + id: "https://www.googleapis.com/auth/script.processes", + description: "View Google Apps Script processes", }, { - id: "https://www.googleapis.com/auth/tagmanager.manage.users", - description: - "Manage user permissions of your Google Tag Manager account and container", + id: "https://www.googleapis.com/auth/script.projects", + description: "Create and update Google Apps Script projects", }, { - id: "https://www.googleapis.com/auth/tagmanager.publish", - description: "Publish your Google Tag Manager container versions", + id: "https://www.googleapis.com/auth/script.projects.readonly", + description: "View Google Apps Script projects", }, { - id: "https://www.googleapis.com/auth/tagmanager.readonly", + id: "https://www.googleapis.com/auth/spreadsheets", description: - "View your Google Tag Manager container and its subcomponents", + "See, edit, create, and delete all your Google Sheets spreadsheets", }, - ], - }, - { - title: "Traffic Director API", - version: "v3", - documentation: "https://cloud.google.com/traffic-director", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/userinfo.email", + description: "See your primary Google Account email address", }, ], }, { - title: "Transcoder API", - version: "v1", - documentation: "https://cloud.google.com/transcoder/docs/", + version: "v4", + title: "Google Sheets API", + description: "Reads and writes Google Sheets.", + discoveryRestUrl: + "https://sheets.googleapis.com/$discovery/rest?version=v4", + documentationLink: "https://developers.google.com/workspace/sheets/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all of your Google Drive files", }, - ], - }, - { - title: "VM Migration API", - version: "v1", - documentation: "https://cloud.google.com/migrate/virtual-machines", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.file", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete only the specific Google Drive files you use with this app", }, - ], - }, - { - title: "VMware Engine API", - version: "v1", - documentation: "https://cloud.google.com/solutions/vmware-as-a-service", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.readonly", + description: "See and download all your Google Drive files", + }, + { + id: "https://www.googleapis.com/auth/spreadsheets", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Sheets spreadsheets", + }, + { + id: "https://www.googleapis.com/auth/spreadsheets.readonly", + description: "See all your Google Sheets spreadsheets", }, ], }, { - title: "Vertex AI API", version: "v1", - documentation: "https://cloud.google.com/vertex-ai/", + title: "Google Slides API", + description: "Reads and writes Google Slides presentations.", + discoveryRestUrl: + "https://slides.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/slides/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all of your Google Drive files", }, { - id: "https://www.googleapis.com/auth/cloud-platform.read-only", + id: "https://www.googleapis.com/auth/drive.file", description: - "View your data across Google Cloud services and see the email address of your Google Account", + "See, edit, create, and delete only the specific Google Drive files you use with this app", }, - ], - }, - { - title: "Vertex AI Search for commerce API", - version: "v2", - documentation: "https://cloud.google.com/recommendations", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/drive.readonly", + description: "See and download all your Google Drive files", }, - ], - }, - { - title: "Web Risk API", - version: "v1", - documentation: "https://cloud.google.com/web-risk/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/presentations", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Slides presentations", }, - ], - }, - { - title: "Web Search Indexing API", - version: "v3", - documentation: "https://developers.google.com/search/apis/indexing-api/", - scopes: [ { - id: "https://www.googleapis.com/auth/indexing", - description: "Submit data to Google for indexing", + id: "https://www.googleapis.com/auth/presentations.readonly", + description: "See all your Google Slides presentations", }, - ], - }, - { - title: "Web Security Scanner API", - version: "v1", - documentation: - "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/spreadsheets", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "See, edit, create, and delete all your Google Sheets spreadsheets", }, - ], - }, - { - title: "Workflow Executions API", - version: "v1", - documentation: "https://cloud.google.com/workflows", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/spreadsheets.readonly", + description: "See all your Google Sheets spreadsheets", }, ], }, { - title: "Workflows API", version: "v1", - documentation: "https://cloud.google.com/workflows", + title: "Google Tasks API", + description: + "The Google Tasks API lets you manage your tasks and task lists.", + discoveryRestUrl: "https://tasks.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/tasks/", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", - description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + id: "https://www.googleapis.com/auth/tasks", + description: "Create, edit, organize, and delete all your tasks", + }, + { + id: "https://www.googleapis.com/auth/tasks.readonly", + description: "View your tasks", }, ], }, { - title: "Workload Manager API", version: "v1", - documentation: "https://cloud.google.com/workload-manager/docs", + title: "Google Workspace Events API", + description: + "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.", + discoveryRestUrl: + "https://workspaceevents.googleapis.com/$discovery/rest?version=v1", + documentationLink: "https://developers.google.com/workspace/events", scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/chat.app.memberships", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces", }, - ], - }, - { - title: "YouTube Analytics API", - version: "v2", - documentation: "https://developers.google.com/youtube/analytics", - scopes: [ { - id: "https://www.googleapis.com/auth/youtube", - description: "Manage your YouTube account", + id: "https://www.googleapis.com/auth/chat.app.spaces", + description: + "On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)", }, { - id: "https://www.googleapis.com/auth/youtube.readonly", - description: "View your YouTube account", + id: "https://www.googleapis.com/auth/chat.bot", + description: + "Private Service: https://www.googleapis.com/auth/chat.bot", }, { - id: "https://www.googleapis.com/auth/youtubepartner", + id: "https://www.googleapis.com/auth/chat.memberships", description: - "View and manage your assets and associated content on YouTube", + "See, add, update, and remove members from conversations and spaces in Google Chat", }, { - id: "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - description: - "View monetary and non-monetary YouTube Analytics reports for your YouTube content", + id: "https://www.googleapis.com/auth/chat.memberships.readonly", + description: "View members in Google Chat conversations.", }, { - id: "https://www.googleapis.com/auth/yt-analytics.readonly", - description: "View YouTube Analytics reports for your YouTube content", + id: "https://www.googleapis.com/auth/chat.messages", + description: + "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.", }, - ], - }, - { - title: "YouTube Data API v3", - version: "v3", - documentation: "https://developers.google.com/youtube/", - scopes: [ { - id: "https://www.googleapis.com/auth/youtube", - description: "Manage your YouTube account", + id: "https://www.googleapis.com/auth/chat.messages.reactions", + description: + "See, add, and delete reactions as well as their reaction content to messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/youtube.channel-memberships.creator", + id: "https://www.googleapis.com/auth/chat.messages.reactions.readonly", description: - "See a list of your current active channel members, their current level, and when they became a member", + "View reactions as well as their reaction content to messages in Google Chat", }, { - id: "https://www.googleapis.com/auth/youtube.force-ssl", + id: "https://www.googleapis.com/auth/chat.messages.readonly", description: - "See, edit, and permanently delete your YouTube videos, ratings, comments and captions", + "See messages as well as their reactions and message content in Google Chat", }, { - id: "https://www.googleapis.com/auth/youtube.readonly", - description: "View your YouTube account", + id: "https://www.googleapis.com/auth/chat.spaces", + description: + "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat", }, { - id: "https://www.googleapis.com/auth/youtube.upload", - description: "Manage your YouTube videos", + id: "https://www.googleapis.com/auth/chat.spaces.readonly", + description: "View chat and spaces in Google Chat", }, { - id: "https://www.googleapis.com/auth/youtubepartner", + id: "https://www.googleapis.com/auth/drive", description: - "View and manage your assets and associated content on YouTube", + "See, edit, create, and delete all of your Google Drive files", }, { - id: "https://www.googleapis.com/auth/youtubepartner-channel-audit", + id: "https://www.googleapis.com/auth/drive.file", description: - "View private information of your YouTube channel relevant during the audit process with a YouTube partner", + "See, edit, create, and delete only the specific Google Drive files you use with this app", }, - ], - }, - { - title: "YouTube Reporting API", - version: "v1", - documentation: - "https://developers.google.com/youtube/reporting/v1/reports/", - scopes: [ { - id: "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - description: - "View monetary and non-monetary YouTube Analytics reports for your YouTube content", + id: "https://www.googleapis.com/auth/drive.metadata", + description: "View and manage metadata of files in your Google Drive", }, { - id: "https://www.googleapis.com/auth/yt-analytics.readonly", - description: "View YouTube Analytics reports for your YouTube content", + id: "https://www.googleapis.com/auth/drive.metadata.readonly", + description: "See information about your Google Drive files", }, - ], - }, - { - title: "reCAPTCHA Enterprise API", - version: "v1", - documentation: "https://cloud.google.com/recaptcha-enterprise/", - scopes: [ { - id: "https://www.googleapis.com/auth/cloud-platform", + id: "https://www.googleapis.com/auth/drive.readonly", + description: "See and download all your Google Drive files", + }, + { + id: "https://www.googleapis.com/auth/meetings.space.created", description: - "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", + "Create, edit, and see information about your Google Meet conferences created by the app.", + }, + { + id: "https://www.googleapis.com/auth/meetings.space.readonly", + description: + "Read information about any of your Google Meet conferences", }, ], }, diff --git a/src/scopes.ts b/src/scopes.ts index d19c1f7..348d168 100644 --- a/src/scopes.ts +++ b/src/scopes.ts @@ -30,7 +30,7 @@ export type ScopeClassification = type Api = { title: string; version: string | number | null; - documentation: string; + documentationLink: string; }; type Scope = { @@ -41,7 +41,7 @@ type Scope = { export const SCOPES = new Map(); -for (const { title, version, documentation, scopes } of GOOGLE_APIS) { +for (const { title, version, documentationLink, scopes } of GOOGLE_APIS) { for (const { id, description } of scopes) { console.log( `Processing scope: ${id} - ${description} (${title} v${version})`, @@ -61,9 +61,9 @@ for (const { title, version, documentation, scopes } of GOOGLE_APIS) { } scope.apis.push({ - title: title, - version: version, - documentation: documentation, + title, + version, + documentationLink, }); } } @@ -234,7 +234,8 @@ export function getScopeMarkdown(id: string): string { content.push("This scope is used by the following APIs:"); const apiList = scope.apis .map( - (api) => `- [${api.title} ${api.version ?? ""}](${api.documentation})`, + (api) => + `- [${api.title} ${api.version ?? ""}](${api.documentationLink})`, ) .join("\n"); content.push(apiList); diff --git a/src/test/extension.test.ts b/src/test/scopes.test.ts similarity index 57% rename from src/test/extension.test.ts rename to src/test/scopes.test.ts index 5cecb61..daa28e9 100644 --- a/src/test/extension.test.ts +++ b/src/test/scopes.test.ts @@ -15,17 +15,16 @@ */ import * as assert from "node:assert"; +import { SCOPES, getScopeMarkdown } from "../scopes.js"; -// You can import and use all API from the 'vscode' module -// as well as import your extension to test it -import * as vscode from "vscode"; -// import * as myExtension from '../../extension'; - -suite("Extension Test Suite", () => { - vscode.window.showInformationMessage("Start all tests."); +suite("getScopeMarkdown", () => { + test("it returns markdown for a known scope", () => { + const markdown = getScopeMarkdown("https://www.googleapis.com/auth/drive"); + assert.ok(markdown.includes("This scope is restricted.")); + }); - test("Sample test", () => { - assert.strictEqual(-1, [1, 2, 3].indexOf(5)); - assert.strictEqual(-1, [1, 2, 3].indexOf(0)); + test("it returns markdown for an unknown scope", () => { + const markdown = getScopeMarkdown("https://example.com"); + assert.strictEqual(markdown, "**https://example.com** (Unknown scope)"); }); }); diff --git a/tsconfig.json b/tsconfig.json index b844503..6251f5c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "target": "ES2022", "lib": ["ES2022"], "sourceMap": true, - "rootDir": "src", - "strict": true + "strict": true, + "skipLibCheck": true } } diff --git a/tsup.config.mjs b/tsup.config.mjs index da09146..cb456c9 100644 --- a/tsup.config.mjs +++ b/tsup.config.mjs @@ -1,7 +1,7 @@ import { defineConfig } from "tsup"; export default defineConfig({ - entry: ["src/extension.ts"], + entry: ["src/extension.ts", "src/test/**/*.ts"], outDir: "out", clean: true, external: ["vscode"],