前提条件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
client_id
:<to be populated: e.g. ms-demo-app-sia>
- 拥有相应 Google Cloud 账号管理员访问权限的用户的电子邮件地址
- 此用户拥有管理员访问权限的 Cloud 项目的项目编号
API 密钥生成流程
- 请向 Google 提供您的项目编号(见下文)和项目管理员的工作区账号(电子邮件地址),以便将您的项目编号添加到“受信任合作伙伴”群组。

- Google 将向您的账号提供对 Search in Apps API 的访问权限,并在您可以执行下一步时通知您。
- 将 Search in Apps API 服务添加到您的 Google Cloud 账号(启用和停用 API)
- 在 Google Cloud 中创建要在“实现流程”部分使用的 API 密钥(设置 API 密钥)。
下一步:开始使用arrow_forward
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],["To enable the Search in Apps API, provide Google with a project number and an administrator's email address. Google then grants API access and notifies you. Next, add the Search in Apps API Service to your Google Cloud account and finally generate an API key within Google Cloud. This API key is used during the implementation process. You also need a `client_id`.\n"]]