Class: Google::Apis::ContaineranalysisV1alpha1::MaliciousContentLlmResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_severityString

Optional. Tracks max severity found. Corresponds to the JSON property maxSeverity

Returns:

  • (String)


5713
5714
5715
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 5713

def max_severity
  @max_severity
end

#scan_stateString

Output only. State of the scan. Corresponds to the JSON property scanState

Returns:

  • (String)


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