# Google Cloud Web Security Scanner V1 Client - Class ScanRunLog (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 ScanRunLog.

A ScanRunLog is an output-only proto used for Stackdriver customer logging.

It is used for logs covering the start and end of scan pipelines.
Other than an added summary, this is a subset of the ScanRun.
Representation in logs is either a proto Struct, or converted to JSON.
Next id: 9

Generated from protobuf message `google.cloud.websecurityscanner.v1.ScanRunLog`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ summary` | `string` Human friendly message about the event. |
| `↳ name` | `string` The resource name of the ScanRun being logged. |
| `↳ execution_state` | `int` The execution state of the ScanRun. |
| `↳ result_state` | `int` The result state of the ScanRun. |
| `↳ urls_crawled_count` | `int|string` |
| `↳ urls_tested_count` | `int|string` |
| `↳ has_findings` | `bool` |
| `↳ error_trace` | `https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRunErrorTrace` |

### getSummary

Human friendly message about the event.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSummary

Human friendly message about the event.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

The resource name of the ScanRun being logged.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

The resource name of the ScanRun being logged.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExecutionState

The execution state of the ScanRun.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ExecutionState](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun.ExecutionState). |

### setExecutionState

The execution state of the ScanRun.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ExecutionState](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun.ExecutionState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getResultState

The result state of the ScanRun.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ResultState](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun.ResultState). |

### setResultState

The result state of the ScanRun.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ResultState](https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun.ResultState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUrlsCrawledCount

Generated from protobuf field `int64 urls_crawled_count = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setUrlsCrawledCount

Generated from protobuf field `int64 urls_crawled_count = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUrlsTestedCount

Generated from protobuf field `int64 urls_tested_count = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setUrlsTestedCount

Generated from protobuf field `int64 urls_tested_count = 6;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHasFindings

Generated from protobuf field `bool has_findings = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setHasFindings

Generated from protobuf field `bool has_findings = 7;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrorTrace

Generated from protobuf field `.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRunErrorTrace|null` |   |

### hasErrorTrace

### clearErrorTrace

### setErrorTrace

Generated from protobuf field `.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRunErrorTrace` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |