Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::BatchCreateSessionsRequest (v0.14.1)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::BatchCreateSessionsRequest.

The request for BatchCreateSessions.

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 sessions are created.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. The database in which the new sessions are created.
Returns
  • (::String) — Required. The database in which the new sessions are created.

#session_count

def session_count() -> ::Integer
Returns
  • (::Integer) — Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting session_count as necessary).

#session_count=

def session_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting session_count as necessary).
Returns
  • (::Integer) — Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting session_count as necessary).

#session_template

def session_template() -> ::Google::Cloud::Spanner::V1::Session
Returns

#session_template=

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