lib/google/apis/osconfig_v1/service.rb in google-apis-osconfig_v1-0.19.0 vs lib/google/apis/osconfig_v1/service.rb in google-apis-osconfig_v1-0.20.0

- old
+ new

@@ -267,11 +267,20 @@ # @param [String] parent # Required. The parent resource name. Format: `projects/`project`/locations/` # location`/instances/-` For ``project``, either `project-number` or `project-id` # can be provided. # @param [String] filter - # If provided, this field specifies the criteria that must be met by a ` - # vulnerabilityReport` API resource to be included in the response. + # 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` # @param [Fixnum] page_size # The maximum number of results to return. # @param [String] page_token # A pagination token returned from a previous call to `ListVulnerabilityReports` # that indicates where this listing should continue from.