Class: Google::Apis::OndemandscanningV1beta1::MaliciousContentStaticResult
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::MaliciousContentStaticResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/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.
2406 2407 2408 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_severity ⇒ String
Tracks max severity found.
Corresponds to the JSON property maxSeverity
2399 2400 2401 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2399 def max_severity @max_severity end |
#scan_status ⇒ String
Status of the scan.
Corresponds to the JSON property scanStatus
2404 2405 2406 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2404 def scan_status @scan_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2411 2412 2413 2414 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2411 def update!(**args) @max_severity = args[:max_severity] if args.key?(:max_severity) @scan_status = args[:scan_status] if args.key?(:scan_status) end |