Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class State.
The State enum represents the lifecycle stage of a Network Connectivity
Center resource.
Protobuf type google.cloud.networkconnectivity.v1.State
Namespace
Google \ Cloud \ NetworkConnectivity \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
STATE_UNSPECIFIED
Value: 0
No state information available
Generated from protobuf enum STATE_UNSPECIFIED = 0;
CREATING
Value: 1
The resource's create operation is in progress.
Generated from protobuf enum CREATING = 1;
ACTIVE
Value: 2
The resource is active
Generated from protobuf enum ACTIVE = 2;
DELETING
Value: 3
The resource's delete operation is in progress.
Generated from protobuf enum DELETING = 3;
ACCEPTING
Value: 8
The resource's accept operation is in progress.
Generated from protobuf enum ACCEPTING = 8;
REJECTING
Value: 9
The resource's reject operation is in progress.
Generated from protobuf enum REJECTING = 9;
UPDATING
Value: 6
The resource's update operation is in progress.
Generated from protobuf enum UPDATING = 6;
INACTIVE
Value: 7
The resource is inactive.
Generated from protobuf enum INACTIVE = 7;
OBSOLETE
Value: 10
The hub associated with this spoke resource has been deleted.
This state applies to spoke resources only.
Generated from protobuf enum OBSOLETE = 10;
FAILED
Value: 11
The resource is in an undefined state due to resource creation or deletion
failure. You can try to delete the resource later or contact support for
help.
[[["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 Network Connectivity V1 Client - Class State (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-network-connectivity/latest/V1.State)\n- [2.2.2](/php/docs/reference/cloud-network-connectivity/2.2.2/V1.State)\n- [2.1.2](/php/docs/reference/cloud-network-connectivity/2.1.2/V1.State)\n- [2.0.2](/php/docs/reference/cloud-network-connectivity/2.0.2/V1.State)\n- [1.5.5](/php/docs/reference/cloud-network-connectivity/1.5.5/V1.State)\n- [1.4.2](/php/docs/reference/cloud-network-connectivity/1.4.2/V1.State)\n- [1.3.0](/php/docs/reference/cloud-network-connectivity/1.3.0/V1.State)\n- [1.2.0](/php/docs/reference/cloud-network-connectivity/1.2.0/V1.State)\n- [1.1.1](/php/docs/reference/cloud-network-connectivity/1.1.1/V1.State)\n- [1.0.5](/php/docs/reference/cloud-network-connectivity/1.0.5/V1.State) \nReference documentation and code samples for the Google Cloud Network Connectivity V1 Client class State.\n\nThe State enum represents the lifecycle stage of a Network Connectivity\nCenter resource.\n\nProtobuf type `google.cloud.networkconnectivity.v1.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkConnectivity \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nNo state information available\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### CREATING\n\n Value: 1\n\nThe resource's create operation is in progress.\n\nGenerated from protobuf enum `CREATING = 1;`\n\n### ACTIVE\n\n Value: 2\n\nThe resource is active\n\nGenerated from protobuf enum `ACTIVE = 2;`\n\n### DELETING\n\n Value: 3\n\nThe resource's delete operation is in progress.\n\nGenerated from protobuf enum `DELETING = 3;`\n\n### ACCEPTING\n\n Value: 8\n\nThe resource's accept operation is in progress.\n\nGenerated from protobuf enum `ACCEPTING = 8;`\n\n### REJECTING\n\n Value: 9\n\nThe resource's reject operation is in progress.\n\nGenerated from protobuf enum `REJECTING = 9;`\n\n### UPDATING\n\n Value: 6\n\nThe resource's update operation is in progress.\n\nGenerated from protobuf enum `UPDATING = 6;`\n\n### INACTIVE\n\n Value: 7\n\nThe resource is inactive.\n\nGenerated from protobuf enum `INACTIVE = 7;`\n\n### OBSOLETE\n\n Value: 10\n\nThe hub associated with this spoke resource has been deleted.\n\nThis state applies to spoke resources only.\n\nGenerated from protobuf enum `OBSOLETE = 10;`\n\n### FAILED\n\n Value: 11\n\nThe resource is in an undefined state due to resource creation or deletion\nfailure. You can try to delete the resource later or contact support for\nhelp.\n\nGenerated from protobuf enum `FAILED = 11;`"]]