Class: Google::Apis::OndemandscanningV1::MaliciousContentLlmResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/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.



2389
2390
2391
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2389

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_severityString

Tracks max severity found. Corresponds to the JSON property maxSeverity

Returns:

  • (String)


2382
2383
2384
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2382

def max_severity
  @max_severity
end

#scan_statusString

Status of the scan. Corresponds to the JSON property scanStatus

Returns:

  • (String)


2387
2388
2389
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2387

def scan_status
  @scan_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2394
2395
2396
2397
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2394

def update!(**args)
  @max_severity = args[:max_severity] if args.key?(:max_severity)
  @scan_status = args[:scan_status] if args.key?(:scan_status)
end