Class: Google::Spanner::V1::BatchCreateSessionsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb

Overview

The request for BatchCreateSessions.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

Returns Required. The database in which the new sessions are created.

Returns:

  • (String)

    Required. The database in which the new sessions are created.



42
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 42

class BatchCreateSessionsRequest; end

#session_countInteger

Returns 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).



42
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 42

class BatchCreateSessionsRequest; end

#session_templateGoogle::Spanner::V1::Session

Returns Parameters to be applied to each created session.

Returns:



42
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 42

class BatchCreateSessionsRequest; end