Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class State.
The possible values of the state.
Protobuf type google.cloud.vmmigration.v1.DatacenterConnector.State
Namespace
Google \ Cloud \ VMMigration \ V1 \ DatacenterConnector
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
STATE_UNSPECIFIED
Value: 0
The state is unknown. This is used for API compatibility only and is not
used by the system.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
PENDING
Value: 1
The state was not sampled by the health checks yet.
Generated from protobuf enum PENDING = 1;
OFFLINE
Value: 2
The source was sampled by health checks and is not available.
Generated from protobuf enum OFFLINE = 2;
FAILED
Value: 3
The source is available but might not be usable yet due to unvalidated
credentials or another reason. The credentials referred to are the ones
to the Source. The error message will contain further details.
Generated from protobuf enum FAILED = 3;
ACTIVE
Value: 4
The source exists and its credentials were verified.
[[["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 Vm Migration V1 Client - Class State (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-vm-migration/latest/V1.DatacenterConnector.State)\n- [1.0.4](/php/docs/reference/cloud-vm-migration/1.0.4/V1.DatacenterConnector.State)\n- [0.6.5](/php/docs/reference/cloud-vm-migration/0.6.5/V1.DatacenterConnector.State)\n- [0.5.2](/php/docs/reference/cloud-vm-migration/0.5.2/V1.DatacenterConnector.State)\n- [0.4.2](/php/docs/reference/cloud-vm-migration/0.4.2/V1.DatacenterConnector.State)\n- [0.3.2](/php/docs/reference/cloud-vm-migration/0.3.2/V1.DatacenterConnector.State)\n- [0.2.3](/php/docs/reference/cloud-vm-migration/0.2.3/V1.DatacenterConnector.State) \nReference documentation and code samples for the Google Cloud Vm Migration V1 Client class State.\n\nThe possible values of the state.\n\nProtobuf type `google.cloud.vmmigration.v1.DatacenterConnector.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VMMigration \\\\ V1 \\\\ DatacenterConnector\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nThe state is unknown. This is used for API compatibility only and is not\nused by the system.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### PENDING\n\n Value: 1\n\nThe state was not sampled by the health checks yet.\n\nGenerated from protobuf enum `PENDING = 1;`\n\n### OFFLINE\n\n Value: 2\n\nThe source was sampled by health checks and is not available.\n\nGenerated from protobuf enum `OFFLINE = 2;`\n\n### FAILED\n\n Value: 3\n\nThe source is available but might not be usable yet due to unvalidated\ncredentials or another reason. The credentials referred to are the ones\nto the Source. The error message will contain further details.\n\nGenerated from protobuf enum `FAILED = 3;`\n\n### ACTIVE\n\n Value: 4\n\nThe source exists and its credentials were verified.\n\nGenerated from protobuf enum `ACTIVE = 4;`"]]