Class: Google::Apis::ToolresultsV1beta3::IndividualOutcome

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

Step Id and outcome of each individual step that was run as a group with other steps with the same configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IndividualOutcome

Returns a new instance of IndividualOutcome.



1243
1244
1245
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1243

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

Instance Attribute Details

#multistep_numberFixnum

Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. Corresponds to the JSON property multistepNumber

Returns:

  • (Fixnum)


1221
1222
1223
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1221

def multistep_number
  @multistep_number
end

#outcome_summaryString

Corresponds to the JSON property outcomeSummary

Returns:

  • (String)


1226
1227
1228
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1226

def outcome_summary
  @outcome_summary
end

#run_durationGoogle::Apis::ToolresultsV1beta3::Duration

A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +- 10,000 years. Corresponds to the JSON property runDuration



1236
1237
1238
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1236

def run_duration
  @run_duration
end

#step_idString

Corresponds to the JSON property stepId

Returns:

  • (String)


1241
1242
1243
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1241

def step_id
  @step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1248
1249
1250
1251
1252
1253
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1248

def update!(**args)
  @multistep_number = args[:multistep_number] if args.key?(:multistep_number)
  @outcome_summary = args[:outcome_summary] if args.key?(:outcome_summary)
  @run_duration = args[:run_duration] if args.key?(:run_duration)
  @step_id = args[:step_id] if args.key?(:step_id)
end