Class: Google::Apis::OndemandscanningV1::MalwareScanResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MalwareScanResult

Returns a new instance of MalwareScanResult.



2439
2440
2441
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2439

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

Instance Attribute Details

#scan_statusString

Status of the scan. Corresponds to the JSON property scanStatus

Returns:

  • (String)


2432
2433
2434
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2432

def scan_status
  @scan_status
end

#verdictString

Verdict of the scan. Corresponds to the JSON property verdict

Returns:

  • (String)


2437
2438
2439
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2437

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2444
2445
2446
2447
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2444

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