Reference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState.
Machine power state.
Constants
POWER_STATE_UNSPECIFIED
value: 0 Power state is unknown.
PENDING
value: 1 The machine is preparing to enter the ACTIVE state. An instance may enter
the PENDING state when it launches for the first time, or when it is
started after being in the SUSPENDED state.
ACTIVE
value: 2 The machine is active.
SUSPENDING
value: 3 The machine is being turned off.
SUSPENDED
value: 4 The machine is off.
DELETING
value: 5 The machine is being deleted from the hosting platform.
DELETED
value: 6 The machine is deleted from the hosting platform.
[[["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-09 UTC."],[],[],null,["# Migration Center V1 API - Module Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [2.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/2.0.1/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [1.2.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.2.0/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [1.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/1.1.0/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [1.0.1](/ruby/docs/reference/google-cloud-migration_center-v1/1.0.1/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [0.3.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.3.0/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [0.2.2](/ruby/docs/reference/google-cloud-migration_center-v1/0.2.2/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState)\n- [0.1.0](/ruby/docs/reference/google-cloud-migration_center-v1/0.1.0/Google-Cloud-MigrationCenter-V1-MachineDetails-PowerState) \nReference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::MachineDetails::PowerState.\n\nMachine power state.\n\nConstants\n---------\n\n### POWER_STATE_UNSPECIFIED\n\n**value:** 0 \nPower state is unknown.\n\n### PENDING\n\n**value:** 1 \nThe machine is preparing to enter the ACTIVE state. An instance may enter\nthe PENDING state when it launches for the first time, or when it is\nstarted after being in the SUSPENDED state.\n\n### ACTIVE\n\n**value:** 2 \nThe machine is active.\n\n### SUSPENDING\n\n**value:** 3 \nThe machine is being turned off.\n\n### SUSPENDED\n\n**value:** 4 \nThe machine is off.\n\n### DELETING\n\n**value:** 5 \nThe machine is being deleted from the hosting platform.\n\n### DELETED\n\n**value:** 6 \nThe machine is deleted from the hosting platform."]]