class Google::Apis::ContaineranalysisV1alpha1::ComplianceVersion
Describes the CIS benchmark version that is applicable to a given OS and os version.
Attributes
cpe_uri[RW]
The CPE URI (cpe.mitre.org/specification/) this benchmark is applicable to. Corresponds to the JSON property `cpeUri` @return [String]
version[RW]
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in. Corresponds to the JSON property `version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 699 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 704 def update!(**args) @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri) @version = args[:version] if args.key?(:version) end