# Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::VulnerabilityReport (v0.17.0)

0.17.0 (latest) 0.16.1 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::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

### #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-v1alpha/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::V1alpha::VulnerabilityReport::Vulnerability>

**Returns**

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