Environment class

A Cloud Shell environment, which is defined as the combination of a Docker image specifying what is installed on the environment and a home directory containing the user's data that will remain across sessions.

Each user has at least an environment with the ID "default".

Constructors

Environment({String? dockerImage, String? id, String? name, List<String>? publicKeys, String? sshHost, int? sshPort, String? sshUsername, String? state, String? webHost})
Environment.fromJson(Map json_)

Properties

dockerImage String?
Full path to the Docker image used to run this environment, e.g. "gcr.io/dev-con/cloud-devshell:latest".
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The environment's identifier, unique among the user's environments.
getter/setter pair
name String?
Full name of this resource, in the format users/{owner_email}/environments/{environment_id}.
getter/setter pair
publicKeys List<String>?
Public keys associated with the environment.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sshHost String?
Host to which clients can connect to initiate SSH sessions with the environment.
getter/setter pair
sshPort int?
Port to which clients can connect to initiate SSH sessions with the environment.
getter/setter pair
sshUsername String?
Username that clients should use when initiating SSH sessions with the environment.
getter/setter pair
state String?
Current execution state of this environment.
getter/setter pair
webHost String?
Host to which clients can connect to initiate HTTPS or WSS connections with the environment.
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