Google Cloud Web Security Scanner V1 Client - Class ScanRunLog (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
NameDescription
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
TypeDescription
string

setSummary

Human friendly message about the event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

The resource name of the ScanRun being logged.

Returns
TypeDescription
string

setName

The resource name of the ScanRun being logged.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExecutionState

The execution state of the ScanRun.

Returns
TypeDescription
int

setExecutionState

The execution state of the ScanRun.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResultState

The result state of the ScanRun.

Returns
TypeDescription
int

setResultState

The result state of the ScanRun.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUrlsCrawledCount

Generated from protobuf field int64 urls_crawled_count = 5;

Returns
TypeDescription
int|string

setUrlsCrawledCount

Generated from protobuf field int64 urls_crawled_count = 5;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getUrlsTestedCount

Generated from protobuf field int64 urls_tested_count = 6;

Returns
TypeDescription
int|string

setUrlsTestedCount

Generated from protobuf field int64 urls_tested_count = 6;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getHasFindings

Generated from protobuf field bool has_findings = 7;

Returns
TypeDescription
bool

setHasFindings

Generated from protobuf field bool has_findings = 7;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getErrorTrace

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

Returns
TypeDescription
Google\Cloud\WebSecurityScanner\V1\ScanRunErrorTrace|null

hasErrorTrace

clearErrorTrace

setErrorTrace

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

Parameter
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanRunErrorTrace
Returns
TypeDescription
$this