Class BatchCreateSessionsRequest (3.33.0)

BatchCreateSessionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request for BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].

Attributes

NameDescription
database str
Required. The database in which the new sessions are created.
session_template google.cloud.spanner_v1.types.Session
Parameters to be applied to each created session.
session_count int
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][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary).