Class ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.ListRequest
List vulnerability reports for all VM instances in the specified zone.
Inheritance
Inherited Members
Namespace: Google.Apis.OSConfig.v1alpha
Assembly: Google.Apis.OSConfig.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.ListRequest : OSConfigBaseServiceRequest<ListVulnerabilityReportsResponse>, IClientServiceRequest<ListVulnerabilityReportsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
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
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of results to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A pagination token returned from a previous call to ListVulnerabilityReports
that
indicates where this listing should continue from.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The parent resource name. Format:
projects/{project}/locations/{location}/instances/-
For {project}
, either
project-number
or project-id
can be provided.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()