Class: Google::Apis::ContaineranalysisV1alpha1::MaliciousContentStaticResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::MaliciousContentStaticResult
- 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 Malicious Content Static scan.
Instance Attribute Summary collapse
-
#max_severity ⇒ String
Optional.
-
#scan_state ⇒ String
Output only.
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.
5745 5746 5747 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_severity ⇒ String
Optional. Tracks max severity found.
Corresponds to the JSON property maxSeverity
5738 5739 5740 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5738 def max_severity @max_severity end |
#scan_state ⇒ String
Output only. State of the scan.
Corresponds to the JSON property scanState
5743 5744 5745 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5743 def scan_state @scan_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5750 5751 5752 5753 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5750 def update!(**args) @max_severity = args[:max_severity] if args.key?(:max_severity) @scan_state = args[:scan_state] if args.key?(:scan_state) end |