class Google::Apis::OsconfigV1alpha::VulnerabilityReport
This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](cloud.google.com/compute/docs/ instances/os-inventory-management#vulnerability-reports).
Attributes
Output only. The `vulnerabilityReport` API resource name. Format: `projects/` project_number`/locations/`location`/instances/`instance_id`/ vulnerabilityReport` Corresponds to the JSON property `name` @return [String]
Output only. The timestamp for when the last vulnerability report was generated for the VM. Corresponds to the JSON property `updateTime` @return [String]
Output only. List of vulnerabilities affecting the VM. Corresponds to the JSON property `vulnerabilities` @return [Array<Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerability>]
Public Class Methods
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 2355 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 2360 def update!(**args) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) @vulnerabilities = args[:vulnerabilities] if args.key?(:vulnerabilities) end