Class: Google::Apis::ContaineranalysisV1alpha1::MalwareScanResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::MalwareScanResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
Result of Malware scan.
Instance Attribute Summary collapse
-
#scan_state ⇒ String
Output only.
-
#verdict ⇒ String
Optional.
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.
5770 5771 5772 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5770 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scan_state ⇒ String
Output only. State of the scan.
Corresponds to the JSON property scanState
5763 5764 5765 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5763 def scan_state @scan_state end |
#verdict ⇒ String
Optional. Verdict of the scan.
Corresponds to the JSON property verdict
5768 5769 5770 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5768 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5775 5776 5777 5778 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5775 def update!(**args) @scan_state = args[:scan_state] if args.key?(:scan_state) @verdict = args[:verdict] if args.key?(:verdict) end |