class Google::Apis::OsconfigV1::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

name[RW]

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]

update_time[RW]

Output only. The timestamp for when the last vulnerability report was generated for the VM. Corresponds to the JSON property `updateTime` @return [String]

vulnerabilities[RW]

Output only. List of vulnerabilities affecting the VM. Corresponds to the JSON property `vulnerabilities` @return [Array<Google::Apis::OsconfigV1::VulnerabilityReportVulnerability>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1/classes.rb, line 1745
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1/classes.rb, line 1750
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