Class BatchCreateSessionsRequest (3.60.0)

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

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

Attributes

Name Description
database str
Required. The database in which the new sessions are created.
session_template google.cloud.spanner_v1.types.Session
Parameters to apply to each created session.
session_count int
Required. The number of sessions to be created in this batch call. At least one session is created. The API can 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).