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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ Outcome

Returns a new instance of Outcome.



2066
2067
2068
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2066

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



2044
2045
2046
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2044

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



2049
2050
2051
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2049

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



2054
2055
2056
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2054

def skipped_detail
  @skipped_detail
end

#success_detailGoogle::Apis::ToolresultsV1beta3::SuccessDetail

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



2059
2060
2061
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2059

def success_detail
  @success_detail
end

#summaryString

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

Returns:

  • (String)


2064
2065
2066
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2064

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2071
2072
2073
2074
2075
2076
2077
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2071

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