Google Cloud Web Security Scanner V1 Client - Class VulnerableHeaders (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class VulnerableHeaders.

Information about vulnerable or missing HTTP Headers.

Generated from protobuf message google.cloud.websecurityscanner.v1.VulnerableHeaders

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ headers array<Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>

List of vulnerable headers.

↳ missing_headers array<Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>

List of missing headers.

getHeaders

List of vulnerable headers.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHeaders

List of vulnerable headers.

Parameter
NameDescription
var array<Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>
Returns
TypeDescription
$this

getMissingHeaders

List of missing headers.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMissingHeaders

List of missing headers.

Parameter
NameDescription
var array<Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>
Returns
TypeDescription
$this