Class: Google::Apis::OndemandscanningV1beta1::MalwareScanResult
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::MalwareScanResult
- 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 Malware scan.
Instance Attribute Summary collapse
-
#scan_status ⇒ String
Status of the scan.
-
#verdict ⇒ String
Verdict of the scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MalwareScanResult
constructor
A new instance of MalwareScanResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MalwareScanResult
Returns a new instance of MalwareScanResult.
2431 2432 2433 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scan_status ⇒ String
Status of the scan.
Corresponds to the JSON property scanStatus
2424 2425 2426 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2424 def scan_status @scan_status end |
#verdict ⇒ String
Verdict of the scan.
Corresponds to the JSON property verdict
2429 2430 2431 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2429 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2436 2437 2438 2439 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2436 def update!(**args) @scan_status = args[:scan_status] if args.key?(:scan_status) @verdict = args[:verdict] if args.key?(:verdict) end |