# Google Cloud Migration Center V1 Client - Class State (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class State.

Network connection state.

Protobuf type `google.cloud.migrationcenter.v1.NetworkConnection.State`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ NetworkConnection

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Connection state is unknown or unspecified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### OPENING

    Value: 1

The connection is being opened.

Generated from protobuf enum `OPENING = 1;`

### OPEN

    Value: 2

The connection is open.

Generated from protobuf enum `OPEN = 2;`

### LISTEN

    Value: 3

Listening for incoming connections.

Generated from protobuf enum `LISTEN = 3;`

### CLOSING

    Value: 4

The connection is being closed.

Generated from protobuf enum `CLOSING = 4;`

### CLOSED

    Value: 5

The connection is closed.

Generated from protobuf enum `CLOSED = 5;`