使用者必須為每個工作階段建立工作階段符記。工作階段權杖必須是網址和檔案名稱安全的 Base64 字串。使用者可以透過任何方式產生工作階段符記,但 Google 建議使用第 4 版通用專屬 ID (UUID)。
工作階段會從呼叫 Autocomplete (New) 開始,並在呼叫 Place Details (New) 或地址驗證時結束。在每個工作階段中,使用者可以輸入多筆 Autocomplete (新版) 查詢,最終提出一項 Place Details (新版) 或地址驗證要求。在工作階段中,每個要求使用的 API 金鑰必須屬於同一個 Google Cloud 控制台專案。
[[["容易理解","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"]],["上次更新時間:2026-11-03 (世界標準時間)。"],[],["Session tokens, user-generated strings, track Autocomplete (New) calls as sessions for billing. Users create tokens, ideally UUIDs, for each session. A session starts with Autocomplete (New) and ends with Place Details (New) or Address Validation, allowing multiple Autocomplete queries. The API keys must be from the same project. Omitting the token or reusing it results in per-request billing. Session tokens are invalid after use and can not be exchanged between places API and places API (new) or Address Validation.\n"]]