Google Cloud OS Config v1 API - Class ListVulnerabilityReportsRequest (2.5.0)

public sealed class ListVulnerabilityReportsRequest : IPageRequest, IMessage<ListVulnerabilityReportsRequest>, IEquatable<ListVulnerabilityReportsRequest>, IDeepCloneable<ListVulnerabilityReportsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class ListVulnerabilityReportsRequest.

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

Inheritance

object > ListVulnerabilityReportsRequest

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

ListVulnerabilityReportsRequest()

public ListVulnerabilityReportsRequest()

ListVulnerabilityReportsRequest(ListVulnerabilityReportsRequest)

public ListVulnerabilityReportsRequest(ListVulnerabilityReportsRequest other)
Parameter
Name Description
other ListVulnerabilityReportsRequest

Properties

Filter

public string Filter { get; set; }

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

Property Value
Type Description
string

PageSize

public int PageSize { get; set; }

The maximum number of results to return.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

A pagination token returned from a previous call to ListVulnerabilityReports that indicates where this listing should continue from.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource name.

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

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

Property Value
Type Description
string

ParentAsInstanceName

public InstanceName ParentAsInstanceName { get; set; }

InstanceName-typed view over the Parent resource name property.

Property Value
Type Description
InstanceName