Class CreateSessionRequest (4.0.0)

public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage

The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].

Inheritance

Object > CreateSessionRequest

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

CreateSessionRequest()

public CreateSessionRequest()

CreateSessionRequest(CreateSessionRequest)

public CreateSessionRequest(CreateSessionRequest other)
Parameter
NameDescription
otherCreateSessionRequest

Properties

Database

public string Database { get; set; }

Required. The database in which the new session is created.

Property Value
TypeDescription
String

DatabaseAsDatabaseName

public DatabaseName DatabaseAsDatabaseName { get; set; }

DatabaseName-typed view over the Database resource name property.

Property Value
TypeDescription
DatabaseName

Session

public Session Session { get; set; }

Required. The session to create.

Property Value
TypeDescription
Session