# Google Cloud BeyondCorp Client Gateways V1 Client - Class State (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.5.0 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp Client Gateways V1 Client class State.

Represents the different states of a gateway.

Protobuf type `google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ ClientGateways \\ V1 \\ ClientGateway

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

Gateway is being created.

Generated from protobuf enum `CREATING = 1;`

### UPDATING

    Value: 2

Gateway is being updated.

Generated from protobuf enum `UPDATING = 2;`

### DELETING

    Value: 3

Gateway is being deleted.

Generated from protobuf enum `DELETING = 3;`

### RUNNING

    Value: 4

Gateway is running.

Generated from protobuf enum `RUNNING = 4;`

### DOWN

    Value: 5

Gateway is down and may be restored in the future.

This happens when CCFE sends ProjectState = OFF.

Generated from protobuf enum `DOWN = 5;`

### ERROR

    Value: 6

ClientGateway encountered an error and is in indeterministic state.

Generated from protobuf enum `ERROR = 6;`