Class: Google::Apis::ToolresultsV1beta3::MultiStep

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

Details when multiple steps are run with the same configuration as a group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiStep

Returns a new instance of MultiStep.



1805
1806
1807
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1805

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)


1792
1793
1794
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1792

def multistep_number
  @multistep_number
end

#primary_stepGoogle::Apis::ToolresultsV1beta3::PrimaryStep

Stores rollup test status of multiple steps that were run as a group and outcome of each individual step. Corresponds to the JSON property primaryStep



1798
1799
1800
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1798

def primary_step
  @primary_step
end

#primary_step_idString

Step Id of the primary (original) step, which might be this step. Corresponds to the JSON property primaryStepId

Returns:

  • (String)


1803
1804
1805
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1803

def primary_step_id
  @primary_step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1810
1811
1812
1813
1814
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1810

def update!(**args)
  @multistep_number = args[:multistep_number] if args.key?(:multistep_number)
  @primary_step = args[:primary_step] if args.key?(:primary_step)
  @primary_step_id = args[:primary_step_id] if args.key?(:primary_step_id)
end