Class StartEnvironmentMetadata (1.6.1)

StartEnvironmentMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message included in the metadata field of operations returned from StartEnvironment.

Attribute

NameDescription
state google.cloud.shell_v1.types.StartEnvironmentMetadata.State
Current state of the environment being started.

Classes

State

State(value)

Possible states an environment might transition between during startup. These states are not normally actionable by clients, but may be used to show a progress message to the user. An environment won't necessarily go through all of these states when starting. More states are likely to be added in the future.

Values: STATE_UNSPECIFIED (0): The environment's start state is unknown. STARTING (1): The environment is in the process of being started, but no additional details are available. UNARCHIVING_DISK (2): Startup is waiting for the user's disk to be unarchived. This can happen when the user returns to Cloud Shell after not having used it for a while, and suggests that startup will take longer than normal. AWAITING_COMPUTE_RESOURCES (4): Startup is waiting for compute resources to be assigned to the environment. This should normally happen very quickly, but an environment might stay in this state for an extended period of time if the system is experiencing heavy load. FINISHED (3): Startup has completed. If the start operation was successful, the user should be able to establish an SSH connection to their environment. Otherwise, the operation will contain details of the failure.