public sealed class BatchCreateSessionsRequest : IMessage<BatchCreateSessionsRequest>, IEquatable<BatchCreateSessionsRequest>, IDeepCloneable<BatchCreateSessionsRequest>, IBufferMessage, IMessage
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\u003eThe content details the \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, spanning versions from 3.5.0 to the latest beta 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e is used to request the creation of multiple sessions within a specified database, and it implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e, \u003ccode\u003eSessionCount\u003c/code\u003e, and \u003ccode\u003eSessionTemplate\u003c/code\u003e to configure the batch session creation, with \u003ccode\u003eSessionCount\u003c/code\u003e determining the number of sessions requested.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatabase\u003c/code\u003e and \u003ccode\u003eSessionCount\u003c/code\u003e are both required fields for any instanciation of the \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e, with methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e also inherited.\u003c/p\u003e\n"]]],[],null,[]]