Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::CreateSessionRequest.
The request for CreateSession.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database
def database() -> ::String Returns 
 - (::String) — Required. The database in which the new session is created.
#database=
def database=(value) -> ::String Parameter 
 - value (::String) — Required. The database in which the new session is created.
 Returns 
 - (::String) — Required. The database in which the new session is created.
#session
def session() -> ::Google::Cloud::Spanner::V1::Session Returns 
 - (::Google::Cloud::Spanner::V1::Session) — Required. The session to create.
#session=
def session=(value) -> ::Google::Cloud::Spanner::V1::Session Parameter 
 - value (::Google::Cloud::Spanner::V1::Session) — Required. The session to create.
 Returns 
 - (::Google::Cloud::Spanner::V1::Session) — Required. The session to create.