在 Google Workspace 上开发
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Google Workspace 提供各种开发者产品和工具,让您能够将自己的服务与 Google Workspace 相集成,或者扩展 Gmail、Google 云端硬盘和 Google Chat 等 Google Workspace 应用。每个 Google Workspace 应用或集成都有自己的 Google Cloud 项目,您可以在其中配置 API、设置身份验证和管理部署。
在 Google Cloud 控制台中,Google Workspace API 概览页面显示了许多常见的 Google Workspace API 任务,您可以在 Google Cloud 控制台的其他位置完成这些任务。Google Workspace API 集中在一个位置,方便您管理这些 API。
只需 5 步即可开始使用
为您的 Google Workspace 应用、扩展程序或集成创建 Google Cloud 项目。
在 Google Cloud 项目中启用要使用的 API。
了解在为 Google Workspace 开发应用时,身份验证和授权的运作方式。
配置 OAuth 权限请求,确保用户能够了解并批准您的应用对他们的数据拥有的访问权限。
创建访问凭据,以对应用的最终用户或服务账号进行身份验证。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-22。
[null,null,["最后更新时间 (UTC):2025-08-22。"],[[["\u003cp\u003eGoogle Workspace offers developer products and tools to connect or extend Google Workspace apps like Gmail, Drive, and Chat, each with its own Google Cloud project for API configuration, authentication, and deployments.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Workspace API Overview in the Google Cloud console provides a central location for managing common Google Workspace API tasks.\u003c/p\u003e\n"],["\u003cp\u003eGetting started involves 5 key steps: creating a Google Cloud project, enabling necessary APIs, understanding authentication, configuring OAuth consent, and creating access credentials.\u003c/p\u003e\n"]]],["Google Workspace provides developer tools for connecting services or extending apps like Gmail and Drive. Each integration uses a Google Cloud project for API configuration, authentication, and deployment management. Key actions include: creating a Google Cloud project, enabling desired APIs, understanding authentication, configuring OAuth consent, and creating access credentials. The Google Cloud console offers a centralized view for managing these Google Workspace APIs and a link to a Youtube channel for additional support.\n"],null,["# Develop on Google Workspace\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve our Google Workspace documentation by taking a quick [online survey](https://forms.gle/XcqRP3PJiQv9ADuj9). |\n\nGoogle Workspace offers a wide range of developer products and tools that let\nyou connect your service with Google Workspace or extend Google Workspace\napps like Gmail, Google Drive, and Google Chat. Each\nGoogle Workspace app or integration has its own Google Cloud project where you\nconfigure APIs, set up authentication, and manage deployments.\n\nIn the Google Cloud console, the\n[Google Workspace API Overview](https://console.cloud.google.com/workspace-api)\nshows many common Google Workspace API tasks that you can complete elsewhere in the\nGoogle Cloud console. The Google Workspace APIs are gathered all in one\nplace so that you can conveniently manage these APIs.\n\n5 steps to get started\n----------------------\n\n1. [Create a Google Cloud project](/workspace/guides/create-project) for your\n Google Workspace app, extension, or integration.\n\n2. [Enable the APIs you want to use](/workspace/guides/enable-apis)\n in your Google Cloud project.\n\n3. [Learn how authentication and authorization works](/workspace/guides/auth-overview)\n when developing for Google Workspace.\n\n4. [Configure OAuth consent](/workspace/guides/configure-oauth-consent) to\n ensure users can understand and approve what access your app has to their\n data.\n\n5. [Create access credentials](/workspace/guides/create-credentials) to\n authenticate your app's end users or service accounts.\n\n|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Want to see Google Workspace in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |"]]