使用者必須為每個工作階段建立工作階段權杖。工作階段權杖必須是網址和檔案名稱安全的 Base64 字串。使用者可以透過任何方式產生工作階段符記,但 Google 建議使用第 4 版通用專屬 ID (UUID) 做為工作階段符記。
工作階段會從呼叫 Autocomplete (New) 開始,並在呼叫 Place Details (New) 或地址驗證時結束。在每個工作階段中,使用者可以輸入多筆 Autocomplete (New) 查詢,最終提出一項 Place Details (New) 或地址驗證要求。在工作階段中,每個要求使用的 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-10-12 (世界標準時間)。"],[],["Session tokens, unique identifiers, group user autocomplete searches into sessions for billing. These tokens, which must be URL- and filename-safe base64 strings, are created by the user, with UUIDs recommended. A session begins with an Autocomplete (New) call and ends with Place Details (New) or Address Validation. Each session may include several Autocomplete (New) queries. Once terminated, a new token is required. Omitting or reusing a token results in individual billing for each request.\n"]]