Class: Google::Apis::OndemandscanningV1::MaliciousContentStaticResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaliciousContentStaticResult

Returns a new instance of MaliciousContentStaticResult.



2414
2415
2416
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2414

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

Instance Attribute Details

#max_severityString

Tracks max severity found. Corresponds to the JSON property maxSeverity

Returns:

  • (String)


2407
2408
2409
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2407

def max_severity
  @max_severity
end

#scan_statusString

Status of the scan. Corresponds to the JSON property scanStatus

Returns:

  • (String)


2412
2413
2414
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2412

def scan_status
  @scan_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2419
2420
2421
2422
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 2419

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