class Google::Apis::SecuritycenterV1beta1::Reference

Additional Links

Attributes

source[RW]

Source of the reference e.g. NVD Corresponds to the JSON property `source` @return [String]

uri[RW]

Uri for the mentioned source e.g. cve.mitre.org/cgi-bin/cvename.cgi? name=CVE-2021-34527. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1863
def update!(**args)
  @source = args[:source] if args.key?(:source)
  @uri = args[:uri] if args.key?(:uri)
end