public sealed class BatchCreateSessionsRequest : IMessage<BatchCreateSessionsRequest>, IEquatable<BatchCreateSessionsRequest>, IDeepCloneable<BatchCreateSessionsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class BatchCreateSessionsRequest.
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
Required. The number of sessions to be created in this batch call.
The API may return fewer than the requested number of sessions. If a
specific number of sessions are desired, the client can make additional
calls to BatchCreateSessions (adjusting
[session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class within the Google Cloud Spanner v1 API, specifically for version 4.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e is used to request the creation of multiple sessions in a batch, as part of the \u003ccode\u003eSpanner.BatchCreateSessions\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with it inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e include \u003ccode\u003eDatabase\u003c/code\u003e (the database for session creation), \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e (a typed view of the database), \u003ccode\u003eSessionCount\u003c/code\u003e (number of sessions to create), and \u003ccode\u003eSessionTemplate\u003c/code\u003e (parameters for each created session).\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class are available, ranging from version 3.5.0 up to the latest beta version 5.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]