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

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setHeaders

List of vulnerable headers.

Parameter
Name Description
var array<Google\Cloud\WebSecurityScanner\V1beta\VulnerableHeaders\Header>
Returns
Type Description
$this

getMissingHeaders

List of missing headers.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMissingHeaders

List of missing headers.

Parameter
Name Description
var array<Google\Cloud\WebSecurityScanner\V1beta\VulnerableHeaders\Header>
Returns
Type Description
$this