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
-
(::String) —
This field supports filtering by the severity level for the vulnerability. For a list of severity levels, see Severity levels for vulnerabilities.
The filter field follows the rules described in the AIP-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
-
value (::String) —
This field supports filtering by the severity level for the vulnerability. For a list of severity levels, see Severity levels for vulnerabilities.
The filter field follows the rules described in the AIP-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
-
(::String) —
This field supports filtering by the severity level for the vulnerability. For a list of severity levels, see Severity levels for vulnerabilities.
The filter field follows the rules described in the AIP-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
- (::Integer) — The maximum number of results to return.
#page_size=
def page_size=(value) -> ::Integer
- value (::Integer) — The maximum number of results to return.
- (::Integer) — The maximum number of results to return.
#page_token
def page_token() -> ::String
-
(::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
-
value (::String) — A pagination token returned from a previous call to
ListVulnerabilityReports
that indicates where this listing should continue from.
-
(::String) — A pagination token returned from a previous call to
ListVulnerabilityReports
that indicates where this listing should continue from.
#parent
def parent() -> ::String
-
(::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/-
For
{project}
, eitherproject-number
orproject-id
can be provided.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/-
For
{project}
, eitherproject-number
orproject-id
can be provided.
-
(::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/-
For
{project}
, eitherproject-number
orproject-id
can be provided.