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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name. Format: |
↳ page_size |
int
The maximum number of results to return. |
↳ page_token |
string
A pagination token returned from a previous call to |
↳ filter |
string
If provided, this field specifies the criteria that must be met by a |
getParent
Required. The parent resource name.
Format: projects/{project}/locations/{location}/instances/-
For {project}, either project-number or project-id can be provided.
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
The maximum number of results to return.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
The maximum number of results to return.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
A pagination token returned from a previous call to
ListVulnerabilityReports that indicates where this listing
should continue from.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
A pagination token returned from a previous call to
ListVulnerabilityReports that indicates where this listing
should continue from.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|