Class: Google::Apis::ToolresultsV1beta3::Outcome
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::Outcome
- 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
-
#failure_detail ⇒ Google::Apis::ToolresultsV1beta3::FailureDetail
Details for an outcome with a FAILURE outcome summary.
-
#inconclusive_detail ⇒ Google::Apis::ToolresultsV1beta3::InconclusiveDetail
Details for an outcome with an INCONCLUSIVE outcome summary.
-
#skipped_detail ⇒ Google::Apis::ToolresultsV1beta3::SkippedDetail
Details for an outcome with a SKIPPED outcome summary.
-
#success_detail ⇒ Google::Apis::ToolresultsV1beta3::SuccessDetail
Details for an outcome with a SUCCESS outcome summary.
-
#summary ⇒ String
The simplest way to interpret a result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Outcome
constructor
A new instance of Outcome.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Outcome
Returns a new instance of Outcome.
2013 2014 2015 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2013 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_detail ⇒ Google::Apis::ToolresultsV1beta3::FailureDetail
Details for an outcome with a FAILURE outcome summary.
Corresponds to the JSON property failureDetail
1991 1992 1993 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1991 def failure_detail @failure_detail end |
#inconclusive_detail ⇒ Google::Apis::ToolresultsV1beta3::InconclusiveDetail
Details for an outcome with an INCONCLUSIVE outcome summary.
Corresponds to the JSON property inconclusiveDetail
1996 1997 1998 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1996 def inconclusive_detail @inconclusive_detail end |
#skipped_detail ⇒ Google::Apis::ToolresultsV1beta3::SkippedDetail
Details for an outcome with a SKIPPED outcome summary.
Corresponds to the JSON property skippedDetail
2001 2002 2003 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2001 def skipped_detail @skipped_detail end |
#success_detail ⇒ Google::Apis::ToolresultsV1beta3::SuccessDetail
Details for an outcome with a SUCCESS outcome summary. LINT.IfChange
Corresponds to the JSON property successDetail
2006 2007 2008 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2006 def success_detail @success_detail end |
#summary ⇒ String
The simplest way to interpret a result. Required
Corresponds to the JSON property summary
2011 2012 2013 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2011 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2018 2019 2020 2021 2022 2023 2024 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2018 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 |