Google Cloud Web Security Scanner V1 Client - Class ScanRunLog (1.0.0)

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 Google\Cloud\WebSecurityScanner\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

setExecutionState

The execution state of the ScanRun.

Parameter
Name Description
var int
Returns
Type Description
$this

getResultState

The result state of the ScanRun.

Returns
Type Description
int

setResultState

The result state of the ScanRun.

Parameter
Name Description
var int
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
Google\Cloud\WebSecurityScanner\V1\ScanRunErrorTrace|null

hasErrorTrace

clearErrorTrace

setErrorTrace

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

Parameter
Name Description
var Google\Cloud\WebSecurityScanner\V1\ScanRunErrorTrace
Returns
Type Description
$this