Oturum jetonları, Otomatik Tamamlama (Yeni) çağrılarını oturumlar olarak izleyen, kullanıcı tarafından oluşturulan dizelerdir (veya nesnelerdir). Otomatik Tamamlama (Yeni), kullanıcı otomatik tamamlama aramasının sorgu ve seçim aşamalarını faturalandırma amacıyla ayrı bir oturumda gruplandırmak için oturum jetonlarını kullanır.
Kullanıcılar her oturum için oturum jetonları oluşturmaktan sorumludur. Oturum jetonları, URL ve dosya adı için uygun base64 dizeleri olmalıdır. Kullanıcılar oturum jetonlarını istedikleri şekilde oluşturabilir. Ancak Google, oturum jetonları için 4. sürüm evrensel benzersiz tanımlayıcıları (UUID'ler) kullanılmasını önerir.
Oturum, Otomatik Tamamlama (Yeni) çağrısıyla başlar ve Yer Ayrıntıları (Yeni) veya Adres Doğrulama çağrısıyla sona erer. Her oturumda birden fazla Otomatik Tamamlama (Yeni) sorgusu ve ardından bir Yer Ayrıntıları (Yeni) veya Adres Doğrulama isteği bulunabilir. Bir oturumdaki her istek için kullanılan API anahtarları aynı Google Cloud Console projesine ait olmalıdır.
Oturum jetonları aşağıdaki şekillerde sonlandırılır:
Yer Ayrıntıları (Yeni) çağrılır.
Address Validation çağrılır.
Oturum terk edildi.
Bir oturum sona erdiğinde jeton artık geçerli olmaz. Uygulamanız her yeni oturum için yeni bir jeton oluşturmalıdır. sessionToken parametresi atlanırsa veya bir oturum jetonunu yeniden kullanırsanız yeni oturum, oturum jetonu sağlanmamış gibi ücretlendirilir (her istek ayrı ayrı faturalandırılır).
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-02-25 UTC."],[[["Session tokens group Autocomplete (New) queries and selection phases into a session for billing purposes, ending with a call to Place Details (New) or Address Validation."],["Session tokens must be URL- and filename-safe base64 strings, with Google recommending the use of version 4 universally unique identifiers (UUIDs)."],["A session begins with an Autocomplete (New) call, allowing for multiple queries within the session before concluding with Place Details (New) or Address Validation."],["Each request within a session must utilize API keys associated with the same Google Cloud Console project, with sessions terminating upon calling Place Details (New), Address Validation, or abandonment."],["Omitting or reusing session tokens results in individual request billing, while fresh tokens are required for each new session to leverage session-based pricing."]]],["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"]]