public sealed class BatchCreateSessionsRequest : IMessage<BatchCreateSessionsRequest>, IEquatable<BatchCreateSessionsRequest>, IDeepCloneable<BatchCreateSessionsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Spanner v1 API class BatchCreateSessionsRequest.
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
Implements
IMessageBatchCreateSessionsRequest, IEquatableBatchCreateSessionsRequest, IDeepCloneableBatchCreateSessionsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
BatchCreateSessionsRequest()
public BatchCreateSessionsRequest()BatchCreateSessionsRequest(BatchCreateSessionsRequest)
public BatchCreateSessionsRequest(BatchCreateSessionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreateSessionsRequest |
Properties
Database
public string Database { get; set; }Required. The database in which the new sessions are created.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DatabaseAsDatabaseName
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 can 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).
| Property Value | |
|---|---|
| Type | Description |
int |
|
SessionTemplate
public Session SessionTemplate { get; set; }Parameters to apply to each created session.
| Property Value | |
|---|---|
| Type | Description |
Session |
|