Class: Google::Apis::ContaineranalysisV1::MalwareScanResult

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 Malware scan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MalwareScanResult

Returns a new instance of MalwareScanResult.



5565
5566
5567
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5565

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

Instance Attribute Details

#scan_statusString

Status of the scan. Corresponds to the JSON property scanStatus

Returns:

  • (String)


5558
5559
5560
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5558

def scan_status
  @scan_status
end

#verdictString

Verdict of the scan. Corresponds to the JSON property verdict

Returns:

  • (String)


5563
5564
5565
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5563

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5570
5571
5572
5573
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5570

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