Class SessionSpec (2.4.0)

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

Configuration for sessions created for this environment.

Attributes

Name Description
max_idle_duration google.protobuf.duration_pb2.Duration
Optional. The idle time configuration of the session. The session will be auto-terminated at the end of this period.
enable_fast_startup bool
Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration.