# Google Cloud Dialogflow V2 Client - Class State (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class State.

The state of Sip Trunk connection.

Protobuf type `google.cloud.dialogflow.v2.Connection.State`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2 \\ Connection

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

SIP Trunk connection state is Not specified.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CONNECTED

    Value: 1

SIP Trunk connection is connected.

Generated from protobuf enum `CONNECTED = 1;`

### DISCONNECTED

    Value: 2

SIP Trunk connection is disconnected.

Generated from protobuf enum `DISCONNECTED = 2;`

### AUTHENTICATION_FAILED

    Value: 3

SIP Trunk connection has authentication error.

Generated from protobuf enum `AUTHENTICATION_FAILED = 3;`

### KEEPALIVE

    Value: 4

SIP Trunk connection is keepalive.

Generated from protobuf enum `KEEPALIVE = 4;`