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

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.

    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
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.

    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

Returns
  • (::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
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.