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-03-21 UTC."],[[["This webpage provides documentation for the `BatchCreateSessionsRequest` class within the `Google.Cloud.Spanner.V1` namespace for .NET, with the latest beta version being `5.0.0-beta05`."],["The `BatchCreateSessionsRequest` class is used to request the creation of multiple sessions within a specified database, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `BatchCreateSessionsRequest` class has properties for specifying the database (`Database`, `DatabaseAsDatabaseName`), the number of sessions to create (`SessionCount`), and a template for the created sessions (`SessionTemplate`)."],["This documentation lists a variety of older versions of the `BatchCreateSessionsRequest` class ranging from `5.0.0-beta04` to `3.5.0`, allowing users to check previous implementations of this tool."],["The page details the inheritance hierarchy and inherited members from the base `Object` class, as well as the constructors provided for the `BatchCreateSessionsRequest` class."]]],[]]