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.



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

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)


1819
1820
1821
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1819

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



1825
1826
1827
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1825

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)


1830
1831
1832
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1830

def primary_step_id
  @primary_step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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