Class StartSession (0.1.1)

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

Start a new session. The client must send this as the first message to the server to start a new session. The client may immediately send Data messages without waiting for a reply from the server.

Attributes

Name Description
location_id str
Required. location_id is used to route the request to a specific region. Use the same region which was used to create the instance. Use the format locations/{location}, for example: locations/us-central1.
instance_id str
Required. The Cloud SQL instance resource name, for example: projects/example-project/instances/example-instance
session_id str
Optional. The session id, chosen by the client. This should be an unguessable string. If the client does not intend to reconnect to this session, the client may leave session_id unset.