# Google Cloud Storage Transfer V1 Client - Class State (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class State.

The state of an AgentPool.

Protobuf type `google.storagetransfer.v1.AgentPool.State`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1 \\ AgentPool

## 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

This is an initialization state. During this stage, resources are
allocated for the AgentPool.

Generated from protobuf enum `CREATING = 1;`

### CREATED

    Value: 2

Determines that the AgentPool is created for use. At this state, Agents
can join the AgentPool and participate in the transfer jobs in that pool.

Generated from protobuf enum `CREATED = 2;`

### DELETING

    Value: 3

Determines that the AgentPool deletion has been initiated, and all the
resources are scheduled to be cleaned up and freed.

Generated from protobuf enum `DELETING = 3;`