Class: Google::Apis::ContaineranalysisV1beta1::MaliciousContentLlmResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::MaliciousContentLlmResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Result of Malicious Content LLM 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) ⇒ 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.
5610 5611 5612 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_severity ⇒ String
Tracks max severity found.
Corresponds to the JSON property maxSeverity
5603 5604 5605 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5603 def max_severity @max_severity end |
#scan_status ⇒ String
Status of the scan.
Corresponds to the JSON property scanStatus
5608 5609 5610 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5608 def scan_status @scan_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5615 5616 5617 5618 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5615 def update!(**args) @max_severity = args[:max_severity] if args.key?(:max_severity) @scan_status = args[:scan_status] if args.key?(:scan_status) end |