class Google::Apis::OndemandscanningV1::ComplianceOccurrence
An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.
Attributes
non_compliance_reason[RW]
Corresponds to the JSON property `nonComplianceReason` @return [String]
non_compliant_files[RW]
Corresponds to the JSON property `nonCompliantFiles` @return [Array<Google::Apis::OndemandscanningV1::NonCompliantFile>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 566 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 571 def update!(**args) @non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason) @non_compliant_files = args[:non_compliant_files] if args.key?(:non_compliant_files) end