# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::ListVulnerabilityReportsRequest (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::ListVulnerabilityReportsRequest.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- This field supports filtering by the severity level for the vulnerability.
  For a list of severity levels, see [Severity levels for
  vulnerabilities](https://cloud.google.com/container-analysis/docs/container-scanning-overview#severity_levels_for_vulnerabilities).

  The filter field follows the rules described in the
  [AIP-160](https://google.aip.dev/160) guidelines as follows:
  - **Filter for a specific severity type** : you can list reports that
    contain
    vulnerabilities that are classified as medium by specifying
    `vulnerabilities.details.severity:MEDIUM`.

  - **Filter for a range of severities** : you can list reports that have
    vulnerabilities that are classified as critical or high by specifying
    `vulnerabilities.details.severity:HIGH OR
    vulnerabilities.details.severity:CRITICAL`

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) ---

  This field supports filtering by the severity level for the vulnerability.
  For a list of severity levels, see [Severity levels for
  vulnerabilities](https://cloud.google.com/container-analysis/docs/container-scanning-overview#severity_levels_for_vulnerabilities).

  The filter field follows the rules described in the
  [AIP-160](https://google.aip.dev/160) guidelines as follows:
  - **Filter for a specific severity type** : you can list reports that
    contain
    vulnerabilities that are classified as medium by specifying
    `vulnerabilities.details.severity:MEDIUM`.

  - **Filter for a range of severities** : you can list reports that have
    vulnerabilities that are classified as critical or high by specifying
    `vulnerabilities.details.severity:HIGH OR
    vulnerabilities.details.severity:CRITICAL`

**Returns**

- (::String) --- This field supports filtering by the severity level for the vulnerability.
  For a list of severity levels, see [Severity levels for
  vulnerabilities](https://cloud.google.com/container-analysis/docs/container-scanning-overview#severity_levels_for_vulnerabilities).

  The filter field follows the rules described in the
  [AIP-160](https://google.aip.dev/160) guidelines as follows:
  - **Filter for a specific severity type** : you can list reports that
    contain
    vulnerabilities that are classified as medium by specifying
    `vulnerabilities.details.severity:MEDIUM`.

  - **Filter for a range of severities** : you can list reports that have
    vulnerabilities that are classified as critical or high by specifying
    `vulnerabilities.details.severity:HIGH OR
    vulnerabilities.details.severity:CRITICAL`

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of results to return.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of results to return.
**Returns**

- (::Integer) --- The maximum number of results to return.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
**Returns**

- (::String) --- A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource name.

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

  For `{project}`, either `project-number` or `project-id` can be provided.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource name.


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

  For `{project}`, either `project-number` or `project-id` can be provided.
**Returns**

- (::String) --- Required. The parent resource name.

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

  For `{project}`, either `project-number` or `project-id` can be provided.