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 olabilir. 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-03-21 UTC."],[[["Session tokens group Autocomplete (New) queries and their corresponding Place Details (New) or Address Validation calls into sessions for billing purposes."],["You must generate a unique, URL-safe base64 session token (preferably a UUID) for each new user session."],["A session concludes when Place Details (New) or Address Validation is called, or if the session is abandoned."],["Requests without a session token or with a reused token are billed individually per request."],["Each request within a session must use API keys from the same Google Cloud Console project."]]],["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"]]