2.1.3 (latest) 2.1.2 2.0.4 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class State.

All the possible API states.

Protobuf type `google.cloud.apigateway.v1.Api.State`

## Namespace

Google \\ Cloud \\ ApiGateway \\ V1 \\ Api

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

API does not have a state yet.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

API is being created.

Generated from protobuf enum `CREATING = 1;`

### ACTIVE

    Value: 2

API is active.

Generated from protobuf enum `ACTIVE = 2;`

### FAILED

    Value: 3

API creation failed.

Generated from protobuf enum `FAILED = 3;`

### DELETING

    Value: 4

API is being deleted.

Generated from protobuf enum `DELETING = 4;`

### UPDATING

    Value: 5

API is being updated.

Generated from protobuf enum `UPDATING = 5;`