配置 Google Cloud 控制台项目
如需配置 Google Cloud 控制台以使用适用于 iOS 的 Consumer SDK,请按以下步骤操作。
如果您没有移动项目的 Google Cloud 控制台开发项目和 API 密钥,则需要进行设置。如需了解详情,请参阅创建项目。
为 Consumer SDK 选择开发项目时,请选择与您为车队引擎使用的 Google Cloud 控制台项目和 API 密钥相同的项目和密钥。
后续步骤
获取身份验证令牌
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-25。
[null,null,["最后更新时间 (UTC):2025-02-25。"],[[["To use the Consumer SDK for iOS, you must configure a Google Cloud console project and API key."],["Select the same Google Cloud console project and API key used for Fleet Engine when setting up the Consumer SDK."],["For creating a new project and API key, refer to the provided link for setting up a Fleet Engine project."],["Authentication tokens are required for the next steps after configuration."]]],["To use the Consumer SDK for iOS, ensure you have a Google Cloud console development project and an API key. If needed, create them following the linked instructions. Crucially, select the same project and API key for the Consumer SDK that you use for Fleet Engine. The next step is to acquire authentication tokens, as detailed in the provided link.\n"]]