Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource

The "vulnerabilityReports" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource

Constructors

VulnerabilityReportsResource(IClientService)

Constructs a new resource.

Declaration
public VulnerabilityReportsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. API resource name for vulnerability resource. Format: projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.GetRequest

List(string)

List vulnerability reports for all VM instances in the specified zone.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.ListRequest List(string parent)
Parameters
Type Name 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.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.ListRequest
In this article
Back to top Generated by DocFX