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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MultiStep

Returns a new instance of MultiStep.



1661
1662
1663
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1661

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)


1648
1649
1650
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1648

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



1654
1655
1656
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1654

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)


1659
1660
1661
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1659

def primary_step_id
  @primary_step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1666
1667
1668
1669
1670
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1666

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