Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::CreateSessionRequest (v0.8.1)

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

#session=

def session=(value) -> ::Google::Cloud::Spanner::V1::Session
Parameter
Returns