Class: Google::Apis::ContaineranalysisV1::MaliciousContentStaticResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::MaliciousContentStaticResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
Result of Malicious Content Static scan.
Instance Attribute Summary collapse
-
#max_severity ⇒ String
Tracks max severity found.
-
#scan_status ⇒ String
Status of the scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaliciousContentStaticResult
constructor
A new instance of MaliciousContentStaticResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaliciousContentStaticResult
Returns a new instance of MaliciousContentStaticResult.
5540 5541 5542 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_severity ⇒ String
Tracks max severity found.
Corresponds to the JSON property maxSeverity
5533 5534 5535 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5533 def max_severity @max_severity end |
#scan_status ⇒ String
Status of the scan.
Corresponds to the JSON property scanStatus
5538 5539 5540 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5538 def scan_status @scan_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5545 5546 5547 5548 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5545 def update!(**args) @max_severity = args[:max_severity] if args.key?(:max_severity) @scan_status = args[:scan_status] if args.key?(:scan_status) end |