Class: Google::Apis::ToolresultsV1beta3::Outcome

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb

Overview

Interprets a result so that humans and machines can act on it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Outcome

Returns a new instance of Outcome



1380
1381
1382
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1380

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

Instance Attribute Details

#failure_detailGoogle::Apis::ToolresultsV1beta3::FailureDetail

Details for an outcome with a FAILURE outcome summary. Corresponds to the JSON property failureDetail



1357
1358
1359
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1357

def failure_detail
  @failure_detail
end

#inconclusive_detailGoogle::Apis::ToolresultsV1beta3::InconclusiveDetail

Details for an outcome with an INCONCLUSIVE outcome summary. Corresponds to the JSON property inconclusiveDetail



1362
1363
1364
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1362

def inconclusive_detail
  @inconclusive_detail
end

#skipped_detailGoogle::Apis::ToolresultsV1beta3::SkippedDetail

Details for an outcome with a SKIPPED outcome summary. Corresponds to the JSON property skippedDetail



1367
1368
1369
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1367

def skipped_detail
  @skipped_detail
end

#success_detailGoogle::Apis::ToolresultsV1beta3::SuccessDetail

Details for an outcome with a SUCCESS outcome summary. Corresponds to the JSON property successDetail



1372
1373
1374
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1372

def success_detail
  @success_detail
end

#summaryString

The simplest way to interpret a result. Required Corresponds to the JSON property summary

Returns:

  • (String)


1378
1379
1380
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1378

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1385
1386
1387
1388
1389
1390
1391
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1385

def update!(**args)
  @failure_detail = args[:failure_detail] if args.key?(:failure_detail)
  @inconclusive_detail = args[:inconclusive_detail] if args.key?(:inconclusive_detail)
  @skipped_detail = args[:skipped_detail] if args.key?(:skipped_detail)
  @success_detail = args[:success_detail] if args.key?(:success_detail)
  @summary = args[:summary] if args.key?(:summary)
end