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
- (::Google::Cloud::Spanner::V1::Session) — Parameters to be applied to each created session.
#session_template=
def session_template=(value) -> ::Google::Cloud::Spanner::V1::Session
Parameter
- value (::Google::Cloud::Spanner::V1::Session) — Parameters to be applied to each created session.
Returns
- (::Google::Cloud::Spanner::V1::Session) — Parameters to be applied to each created session.