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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `BatchCreateSessionsRequest` class within the `Google.Cloud.Spanner.V1` namespace, as found in the `Google.Cloud.Spanner.V1.dll` assembly."],["The `BatchCreateSessionsRequest` class is used to send a request for the `BatchCreateSessions` operation, inheriting from `Object` and implementing multiple interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class has properties like `Database` (a string), `DatabaseAsDatabaseName` (of type `DatabaseName`), `SessionCount` (an integer), and `SessionTemplate` (of type `Session`) to define the specifics of the session batch creation."],["The documentation covers a range of versions, from the latest beta version `5.0.0-beta05` down to `3.5.0` for `BatchCreateSessionsRequest`, allowing users to browse the documentation for all these versions."],["There are two constructors listed within the documentation for `BatchCreateSessionsRequest`, the first is a default constructor `BatchCreateSessionsRequest()` and the second is `BatchCreateSessionsRequest(BatchCreateSessionsRequest other)`, taking an instance of the same class as an argument."]]],[]]