Reference documentation and code samples for the Google Cloud Migration Center V1 Client class PowerState.
Machine power state.
Protobuf type google.cloud.migrationcenter.v1.MachineDetails.PowerState
Namespace
Google \ Cloud \ MigrationCenter \ V1 \ MachineDetails
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
POWER_STATE_UNSPECIFIED
Value: 0
Power state is unknown.
Generated from protobuf enum POWER_STATE_UNSPECIFIED = 0;
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.
Generated from protobuf enum PENDING = 1;
ACTIVE
Value: 2
The machine is active.
Generated from protobuf enum ACTIVE = 2;
SUSPENDING
Value: 3
The machine is being turned off.
Generated from protobuf enum SUSPENDING = 3;
SUSPENDED
Value: 4
The machine is off.
Generated from protobuf enum SUSPENDED = 4;
DELETING
Value: 5
The machine is being 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-04 UTC."],[],[],null,["# Google Cloud Migration Center V1 Client - Class PowerState (1.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.2 (latest)](/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDetails.PowerState)\n- [1.1.1](/php/docs/reference/cloud-migrationcenter/1.1.1/V1.MachineDetails.PowerState)\n- [1.0.3](/php/docs/reference/cloud-migrationcenter/1.0.3/V1.MachineDetails.PowerState)\n- [0.4.5](/php/docs/reference/cloud-migrationcenter/0.4.5/V1.MachineDetails.PowerState)\n- [0.3.1](/php/docs/reference/cloud-migrationcenter/0.3.1/V1.MachineDetails.PowerState)\n- [0.2.0](/php/docs/reference/cloud-migrationcenter/0.2.0/V1.MachineDetails.PowerState)\n- [0.1.0](/php/docs/reference/cloud-migrationcenter/0.1.0/V1.MachineDetails.PowerState) \nReference documentation and code samples for the Google Cloud Migration Center V1 Client class PowerState.\n\nMachine power state.\n\nProtobuf type `google.cloud.migrationcenter.v1.MachineDetails.PowerState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ MigrationCenter \\\\ V1 \\\\ MachineDetails\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### POWER_STATE_UNSPECIFIED\n\n Value: 0\n\nPower state is unknown.\n\nGenerated from protobuf enum `POWER_STATE_UNSPECIFIED = 0;`\n\n### PENDING\n\n Value: 1\n\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\nGenerated from protobuf enum `PENDING = 1;`\n\n### ACTIVE\n\n Value: 2\n\nThe machine is active.\n\nGenerated from protobuf enum `ACTIVE = 2;`\n\n### SUSPENDING\n\n Value: 3\n\nThe machine is being turned off.\n\nGenerated from protobuf enum `SUSPENDING = 3;`\n\n### SUSPENDED\n\n Value: 4\n\nThe machine is off.\n\nGenerated from protobuf enum `SUSPENDED = 4;`\n\n### DELETING\n\n Value: 5\n\nThe machine is being deleted from the hosting platform.\n\nGenerated from protobuf enum `DELETING = 5;`\n\n### DELETED\n\n Value: 6\n\nThe machine is deleted from the hosting platform.\n\nGenerated from protobuf enum `DELETED = 6;`"]]