Generated from protobuf enumSTATE_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 enumSUSPENDED = 1;
PENDING
Value: 2
The environment is being started but is not yet ready to accept
connections.
Generated from protobuf enumPENDING = 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 enumRUNNING = 3;
DELETING
Value: 4
The environment is being deleted and can't be connected to.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Shell V1 Client - Class State (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-shell/latest/V1.Environment.State)\n- [2.0.4](/php/docs/reference/cloud-shell/2.0.4/V1.Environment.State)\n- [1.3.5](/php/docs/reference/cloud-shell/1.3.5/V1.Environment.State)\n- [1.2.2](/php/docs/reference/cloud-shell/1.2.2/V1.Environment.State)\n- [1.1.1](/php/docs/reference/cloud-shell/1.1.1/V1.Environment.State)\n- [1.0.4](/php/docs/reference/cloud-shell/1.0.4/V1.Environment.State) \nReference documentation and code samples for the Google Cloud Shell V1 Client class State.\n\nPossible execution states for an environment.\n\nProtobuf type `google.cloud.shell.v1.Environment.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Shell \\\\ V1 \\\\ Environment\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nThe environment's states is unknown.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### SUSPENDED\n\n Value: 1\n\nThe environment is not running and can't be connected to. Starting the\nenvironment will transition it to the PENDING state.\n\nGenerated from protobuf enum `SUSPENDED = 1;`\n\n### PENDING\n\n Value: 2\n\nThe environment is being started but is not yet ready to accept\nconnections.\n\nGenerated from protobuf enum `PENDING = 2;`\n\n### RUNNING\n\n Value: 3\n\nThe environment is running and ready to accept connections. It will\nautomatically transition back to DISABLED after a period of inactivity or\nif another environment is started.\n\nGenerated from protobuf enum `RUNNING = 3;`\n\n### DELETING\n\n Value: 4\n\nThe environment is being deleted and can't be connected to.\n\nGenerated from protobuf enum `DELETING = 4;`"]]