Class ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource
The "vulnerabilityReports" collection of methods.
Inheritance
ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource
Inherited Members
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:
|
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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.VulnerabilityReportsResource.ListRequest |