# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::VulnerabilityReport (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::VulnerabilityReport.

This API resource represents the vulnerability report for a specified
Compute Engine virtual machine (VM) instance at a given point in time.


<br />

For more information, see [Vulnerability
reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #highest_upgradable_cve_severity

    def highest_upgradable_cve_severity() -> ::Google::Cloud::OsConfig::V1::VulnerabilityReport::VulnerabilitySeverityLevel

**Returns**

- ([::Google::Cloud::OsConfig::V1::VulnerabilityReport::VulnerabilitySeverityLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-VulnerabilityReport-VulnerabilitySeverityLevel)) --- Output only. Highest level of severity among all the upgradable vulnerabilities with CVEs attached.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The `vulnerabilityReport` API resource name.


  Format:
  `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp for when the last vulnerability report was generated for the VM.

### #vulnerabilities

    def vulnerabilities() -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability>

**Returns**

- (::Array\<[::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-VulnerabilityReport-Vulnerability)\>) --- Output only. List of vulnerabilities affecting the VM.