Class PowerState (1.6.2)

PowerState(value)

Possible values for the power state of the VM.

Values: POWER_STATE_UNSPECIFIED (0): Power state is not specified. ON (1): The VM is turned on. OFF (2): The VM is turned off. SUSPENDED (3): The VM is suspended. This is similar to hibernation or sleep mode. PENDING (4): The VM is starting.