# Google Cloud Web Security Scanner V1 Client - Class ResultState (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class ResultState.

Types of ScanRun result state.

Protobuf type `google.cloud.websecurityscanner.v1.ScanRun.ResultState`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1 \\ ScanRun

## Methods

### static::name

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

### static::value

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

## Constants

### RESULT_STATE_UNSPECIFIED

    Value: 0

Default value. This value is returned when the ScanRun is not yet
finished.

Generated from protobuf enum `RESULT_STATE_UNSPECIFIED = 0;`

### SUCCESS

    Value: 1

The scan finished without errors.

Generated from protobuf enum `SUCCESS = 1;`

### ERROR

    Value: 2

The scan finished with errors.

Generated from protobuf enum `ERROR = 2;`

### KILLED

    Value: 3

The scan was terminated by user.

Generated from protobuf enum `KILLED = 3;`