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
More information about a FAILURE outcome.
-
#inconclusive_detail ⇒ Google::Apis::ToolresultsV1beta3::InconclusiveDetail
More information about an INCONCLUSIVE outcome.
-
#skipped_detail ⇒ Google::Apis::ToolresultsV1beta3::SkippedDetail
More information about a SKIPPED outcome.
-
#success_detail ⇒ Google::Apis::ToolresultsV1beta3::SuccessDetail
More information about a SUCCESS outcome.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Outcome
Returns a new instance of Outcome
1175 1176 1177 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_detail ⇒ Google::Apis::ToolresultsV1beta3::FailureDetail
More information about a FAILURE outcome.
Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE.
Optional
Corresponds to the JSON property failureDetail
1145 1146 1147 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1145 def failure_detail @failure_detail end |
#inconclusive_detail ⇒ Google::Apis::ToolresultsV1beta3::InconclusiveDetail
More information about an INCONCLUSIVE outcome.
Returns INVALID_ARGUMENT if this field is set but the summary is not
INCONCLUSIVE.
Optional
Corresponds to the JSON property inconclusiveDetail
1153 1154 1155 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1153 def inconclusive_detail @inconclusive_detail end |
#skipped_detail ⇒ Google::Apis::ToolresultsV1beta3::SkippedDetail
More information about a SKIPPED outcome.
Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED.
Optional
Corresponds to the JSON property skippedDetail
1160 1161 1162 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1160 def skipped_detail @skipped_detail end |
#success_detail ⇒ Google::Apis::ToolresultsV1beta3::SuccessDetail
More information about a SUCCESS outcome.
Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS.
Optional
Corresponds to the JSON property successDetail
1167 1168 1169 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1167 def success_detail @success_detail end |
#summary ⇒ String
The simplest way to interpret a result.
Required
Corresponds to the JSON property summary
1173 1174 1175 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1173 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1180 1181 1182 1183 1184 1185 1186 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1180 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 |