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

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

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.



1845
1846
1847
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1845

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)


1832
1833
1834
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1832

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



1838
1839
1840
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1838

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)


1843
1844
1845
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1843

def primary_step_id
  @primary_step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1850
1851
1852
1853
1854
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1850

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