使用者必須為每個工作階段建立工作階段權杖。工作階段權杖必須是網址和檔案名稱安全的 Base64 字串。使用者可以透過任何方式產生工作階段符記,但 Google 建議使用第 4 版通用專屬 ID (UUID) 做為工作階段符記。
工作階段會從呼叫 Autocomplete (New) 開始,並在呼叫 Place Details (New) 或地址驗證時結束。在每個工作階段中,使用者可以輸入多筆 Autocomplete (New) 查詢,最終提出一項 Place Details (New) 或地址驗證要求。在工作階段中,每個要求使用的 API 金鑰,都必須屬於同一個 Google Cloud 控制台專案。
[null,null,["上次更新時間: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"]]