Google Cloud OsConfig V1 Client - Class ListVulnerabilityReportsResponse (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ListVulnerabilityReportsResponse.

A response message for listing vulnerability reports for all VM instances in the specified location.

Generated from protobuf message google.cloud.osconfig.v1.ListVulnerabilityReportsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vulnerability_reports array<Google\Cloud\OsConfig\V1\VulnerabilityReport>

List of vulnerabilityReport objects.

↳ next_page_token string

The pagination token to retrieve the next page of vulnerabilityReports object.

getVulnerabilityReports

List of vulnerabilityReport objects.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVulnerabilityReports

List of vulnerabilityReport objects.

Parameter
NameDescription
var array<Google\Cloud\OsConfig\V1\VulnerabilityReport>
Returns
TypeDescription
$this

getNextPageToken

The pagination token to retrieve the next page of vulnerabilityReports object.

Returns
TypeDescription
string

setNextPageToken

The pagination token to retrieve the next page of vulnerabilityReports object.

Parameter
NameDescription
var string
Returns
TypeDescription
$this