Google Cloud OsConfig V1 Client - Class ListVulnerabilityReportsRequest (1.1.1)

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

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

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name. Format: projects/{project}/locations/{location}/instances/- For {project}, either project-number or project-id can be provided.

↳ page_size int

The maximum number of results to return.

↳ page_token string

A pagination token returned from a previous call to ListVulnerabilityReports that indicates where this listing should continue from.

↳ filter string

If provided, this field specifies the criteria that must be met by a vulnerabilityReport API resource to be included in the response.

getParent

Required. The parent resource name.

Format: projects/{project}/locations/{location}/instances/- For {project}, either project-number or project-id can be provided.

Returns
TypeDescription
string

setParent

Required. The parent resource name.

Format: projects/{project}/locations/{location}/instances/- For {project}, either project-number or project-id can be provided.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of results to return.

Returns
TypeDescription
int

setPageSize

The maximum number of results to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A pagination token returned from a previous call to ListVulnerabilityReports that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

A pagination token returned from a previous call to ListVulnerabilityReports that indicates where this listing should continue from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

If provided, this field specifies the criteria that must be met by a vulnerabilityReport API resource to be included in the response.

Returns
TypeDescription
string

setFilter

If provided, this field specifies the criteria that must be met by a vulnerabilityReport API resource to be included in the response.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent resource name.

Format: projects/{project}/locations/{location}/instances/-

For {project}, either project-number or project-id can be provided. Please see Google\Cloud\OsConfig\V1\OsConfigZonalServiceClient::instanceName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ListVulnerabilityReportsRequest