Session class
A representation of a session.
Constructors
-
Session({String? createTime, String? creator, EnvironmentConfig? environmentConfig, JupyterConfig? jupyterSession, Map<
String, String> ? labels, String? name, RuntimeConfig? runtimeConfig, RuntimeInfo? runtimeInfo, String? sessionTemplate, String? state, List<SessionStateHistory> ? stateHistory, String? stateMessage, String? stateTime, String? user, String? uuid}) - Session.fromJson(Map json_)
Properties
- createTime ↔ String?
-
The time when the session was created.
getter/setter pair
- creator ↔ String?
-
The email address of the user who created the session.
getter/setter pair
- environmentConfig ↔ EnvironmentConfig?
-
Environment configuration for the session execution.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- jupyterSession ↔ JupyterConfig?
-
Jupyter session config.
getter/setter pair
-
labels
↔ Map<
String, String> ? -
The labels to associate with the session.
getter/setter pair
- name ↔ String?
-
The resource name of the session.
getter/setter pair
- runtimeConfig ↔ RuntimeConfig?
-
Runtime configuration for the session execution.
getter/setter pair
- runtimeInfo ↔ RuntimeInfo?
-
Runtime information about session execution.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionTemplate ↔ String?
-
The session template used by the session.Only resource names, including
project ID and location, are valid.Example: *
https://www.googleapis.com/compute/v1/projects/\[project_id\]/locations/\[dataproc_region\]/sessionTemplates/\[template_id\]
*
projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]The
template must be in the same project and Dataproc region as the session.
getter/setter pair
- state ↔ String?
-
A state of the session.
getter/setter pair
-
stateHistory
↔ List<
SessionStateHistory> ? -
Historical state information for the session.
getter/setter pair
- stateMessage ↔ String?
-
Session state details, such as the failure description if the state is
FAILED.
getter/setter pair
- stateTime ↔ String?
-
The time when the session entered the current state.
getter/setter pair
- user ↔ String?
-
The email address of the user who owns the session.
getter/setter pair
- uuid ↔ String?
-
A session UUID (Unique Universal Identifier).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited