# Google Cloud Web Risk V1 Client - Class State (2.3.0)

2.3.0 (latest) 2.2.2 2.1.1 2.0.3 1.5.5 1.4.4 1.3.0 1.2.7 Reference documentation and code samples for the Google Cloud Web Risk V1 Client class State.

Enum that represents the state of the long-running operation.

Protobuf type `google.cloud.webrisk.v1.SubmitUriMetadata.State`

## Namespace

Google \\ Cloud \\ WebRisk \\ V1 \\ SubmitUriMetadata

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default unspecified state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### RUNNING

    Value: 1

The operation is currently running.

Generated from protobuf enum `RUNNING = 1;`

### SUCCEEDED

    Value: 2

The operation finished with a success status.

Generated from protobuf enum `SUCCEEDED = 2;`

### CANCELLED

    Value: 3

The operation was cancelled.

Generated from protobuf enum `CANCELLED = 3;`

### FAILED

    Value: 4

The operation finished with a failure status.

Generated from protobuf enum `FAILED = 4;`

### CLOSED

    Value: 5

The operation was closed with no action taken.

Generated from protobuf enum `CLOSED = 5;`