# Google Cloud Edge Network V1 Client - Class ResourceState (1.4.2)

1.4.2 (latest) 1.4.1 1.3.1 1.2.3 1.1.4 1.0.0 0.3.6 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Edge Network V1 Client class ResourceState.

ResourceState describes the state the resource.

A normal lifecycle of a new resource being created would be: PENDING -\>
PROVISIONING -\> RUNNING. A normal lifecycle of an existing resource being
deleted would be: RUNNING -\> DELETING. Any failures during processing will
result the resource to be in a SUSPENDED state.

Protobuf type `google.cloud.edgenetwork.v1.ResourceState`

## Namespace

Google \\ Cloud \\ EdgeNetwork \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNKNOWN

    Value: 0

Unspecified state.

Generated from protobuf enum `STATE_UNKNOWN = 0;`

### STATE_PENDING

    Value: 1

The resource is being prepared to be applied to the rack.

Generated from protobuf enum `STATE_PENDING = 1;`

### STATE_PROVISIONING

    Value: 2

The resource has started being applied to the rack.

Generated from protobuf enum `STATE_PROVISIONING = 2;`

### STATE_RUNNING

    Value: 3

The resource has been pushed to the rack.

Generated from protobuf enum `STATE_RUNNING = 3;`

### STATE_SUSPENDED

    Value: 4

The resource failed to push to the rack.

Generated from protobuf enum `STATE_SUSPENDED = 4;`

### STATE_DELETING

    Value: 5

The resource is under deletion.

Generated from protobuf enum `STATE_DELETING = 5;`