Google Cloud Shell V1 Client - Class State (1.2.2)

Reference documentation and code samples for the Google Cloud Shell V1 Client class State.

Possible execution states for an environment.

Protobuf type google.cloud.shell.v1.Environment.State

Namespace

Google \ Cloud \ Shell \ V1 \ Environment

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The environment's states is unknown.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

SUSPENDED

Value: 1

The environment is not running and can't be connected to. Starting the environment will transition it to the PENDING state.

Generated from protobuf enum SUSPENDED = 1;

PENDING

Value: 2

The environment is being started but is not yet ready to accept connections.

Generated from protobuf enum PENDING = 2;

RUNNING

Value: 3

The environment is running and ready to accept connections. It will automatically transition back to DISABLED after a period of inactivity or if another environment is started.

Generated from protobuf enum RUNNING = 3;

DELETING

Value: 4

The environment is being deleted and can't be connected to.

Generated from protobuf enum DELETING = 4;