public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class CreateSessionRequest.
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
Implements
IMessageCreateSessionRequest, IEquatableCreateSessionRequest, IDeepCloneableCreateSessionRequest, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.SpannerV1Assembly
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; }
DatabaseName-typed view over the Database resource name property.
Property Value | |
---|---|
Type | Description |
DatabaseName |
Session
public Session Session { get; set; }
Required. The session to create.
Property Value | |
---|---|
Type | Description |
Session |