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

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

Information about vulnerable or missing HTTP Headers.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

List of vulnerable headers.

↳ missing_headers array<Google\Cloud\WebSecurityScanner\V1beta\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\V1beta\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\V1beta\VulnerableHeaders\Header>
Returns
TypeDescription
$this