Class: Google::Apis::ContaineranalysisV1::MaliciousContentStaticResult

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb

Overview

Result of Malicious Content Static scan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaliciousContentStaticResult

Returns a new instance of MaliciousContentStaticResult.



5540
5541
5542
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5540

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

Instance Attribute Details

#max_severityString

Tracks max severity found. Corresponds to the JSON property maxSeverity

Returns:

  • (String)


5533
5534
5535
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5533

def max_severity
  @max_severity
end

#scan_statusString

Status of the scan. Corresponds to the JSON property scanStatus

Returns:

  • (String)


5538
5539
5540
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5538

def scan_status
  @scan_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5545
5546
5547
5548
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5545

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