Enum Environment.State (2.75.0)

publicenumEnvironment.StateextendsEnum<Environment.State>implementsProtocolMessageEnum

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.