Enum Environment.State (2.52.0)

public enum Environment.State extends Enum<Environment.State> implements ProtocolMessageEnum

Possible execution states for an environment.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
DELETING

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

DELETING = 4;

DELETING_VALUE

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

DELETING = 4;

PENDING

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

PENDING = 2;

PENDING_VALUE

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

PENDING = 2;

RUNNING

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.

RUNNING = 3;

RUNNING_VALUE

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.

RUNNING = 3;

STATE_UNSPECIFIED

The environment's states is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The environment's states is unknown.

STATE_UNSPECIFIED = 0;

SUSPENDED

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

SUSPENDED = 1;

SUSPENDED_VALUE

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

SUSPENDED = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()