# Google Cloud Network Connectivity V1 Client - Class State (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class State.

The state of the resource.

Protobuf type `google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata.State`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1 \\ StateTimeline \\ StateMetadata

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

An invalid state, which is the default case.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ADDING

    Value: 1

The resource is being added.

Generated from protobuf enum `ADDING = 1;`

### ACTIVE

    Value: 2

The resource is in use.

Generated from protobuf enum `ACTIVE = 2;`

### DELETING

    Value: 3

The resource is being deleted.

Generated from protobuf enum `DELETING = 3;`

### SUSPENDING

    Value: 4

The resource is being suspended.

Generated from protobuf enum `SUSPENDING = 4;`

### SUSPENDED

    Value: 5

The resource is suspended and not in use.

Generated from protobuf enum `SUSPENDED = 5;`