public sealed class BatchCreateSessionsRequest : IMessage<BatchCreateSessionsRequest>, IEquatable<BatchCreateSessionsRequest>, IDeepCloneable<BatchCreateSessionsRequest>, IBufferMessage, IMessage
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
public DatabaseName DatabaseAsDatabaseName { get; set; }
Google.Cloud.Spanner.Common.V1.DatabaseName-typed view over the Database resource name property.
Property Value
Type
Description
Google.Cloud.Spanner.Common.V1.DatabaseName
SessionCount
public int SessionCount { get; set; }
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 webpage details the \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, as found in the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e class is used to send a request for the \u003ccode\u003eBatchCreateSessions\u003c/code\u003e operation, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eDatabase\u003c/code\u003e (a string), \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e (of type \u003ccode\u003eDatabaseName\u003c/code\u003e), \u003ccode\u003eSessionCount\u003c/code\u003e (an integer), and \u003ccode\u003eSessionTemplate\u003c/code\u003e (of type \u003ccode\u003eSession\u003c/code\u003e) to define the specifics of the session batch creation.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of versions, from the latest beta version \u003ccode\u003e5.0.0-beta05\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e for \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e, allowing users to browse the documentation for all these versions.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors listed within the documentation for \u003ccode\u003eBatchCreateSessionsRequest\u003c/code\u003e, the first is a default constructor \u003ccode\u003eBatchCreateSessionsRequest()\u003c/code\u003e and the second is \u003ccode\u003eBatchCreateSessionsRequest(BatchCreateSessionsRequest other)\u003c/code\u003e, taking an instance of the same class as an argument.\u003c/p\u003e\n"]]],[],null,[]]