Class: Google::Apis::ContaineranalysisV1alpha1::MaliciousContentLlmResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::MaliciousContentLlmResult
- 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 LLM scan.
Instance Attribute Summary collapse
-
#max_severity ⇒ String
Optional.
-
#scan_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaliciousContentLlmResult
constructor
A new instance of MaliciousContentLlmResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaliciousContentLlmResult
Returns a new instance of MaliciousContentLlmResult.
5720 5721 5722 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5720 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_severity ⇒ String
Optional. Tracks max severity found.
Corresponds to the JSON property maxSeverity
5713 5714 5715 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5713 def max_severity @max_severity end |
#scan_state ⇒ String
Output only. State of the scan.
Corresponds to the JSON property scanState
5718 5719 5720 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5718 def scan_state @scan_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5725 5726 5727 5728 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5725 def update!(**args) @max_severity = args[:max_severity] if args.key?(:max_severity) @scan_state = args[:scan_state] if args.key?(:scan_state) end |