設定 Google Cloud 控制台專案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要設定 Google Cloud 控制台,以便使用 iOS 適用的 Consumer SDK,請按照下列步驟操作。
如果您沒有 Google Cloud 控制台開發專案,也沒有行動專案的 API 金鑰,請進行設定。詳情請參閱「建立專案」。
選取 Consumer SDK 的開發專案時,請選取與 Fleet Engine 相同的 Google Cloud 控制台專案和 API 金鑰。
後續步驟
取得驗證權杖
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-04 (世界標準時間)。
[null,null,["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eTo use the Consumer SDK for iOS, you must configure a Google Cloud console project and API key.\u003c/p\u003e\n"],["\u003cp\u003eSelect the same Google Cloud console project and API key used for Fleet Engine when setting up the Consumer SDK.\u003c/p\u003e\n"],["\u003cp\u003eFor creating a new project and API key, refer to the provided link for setting up a Fleet Engine project.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication tokens are required for the next steps after configuration.\u003c/p\u003e\n"]]],["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"],null,["To configure a Google Cloud console to use the Consumer SDK for\niOS, follow these steps.\n\nIf you don't have a Google Cloud console development project and an API key for\nyour mobility project, you need to set one up. For details, see\n[Create a Project](/maps/documentation/mobility/fleet-engine/essentials/set-up-fleet/create-project).\n\nWhen you're selecting your development project for the Consumer SDK, select\nthe same Google Cloud console project and API key that you are using for\nFleet Engine.\n\nWhat's Next\n\n[Get authentication tokens](/maps/documentation/mobility/journey-sharing/on-demand/ios/auth-sdk)"]]