public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
Implements
Google.Protobuf.IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, Google.Protobuf.IDeepCloneable<CreateSessionRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
CreateSessionRequest()
public CreateSessionRequest()
CreateSessionRequest(CreateSessionRequest)
public CreateSessionRequest(CreateSessionRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSessionRequest |
Properties
Database
public string Database { get; set; }
Required. The database in which the new session is 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 |
Session
public Session Session { get; set; }
The session to create.
Property Value | |
---|---|
Type | Description |
Session |