Class: Google::Apis::ToolresultsV1beta3::PrimaryStep

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

Stores rollup test status of multiple steps that were run as a group and outcome of each individual step.

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) ⇒ PrimaryStep

Returns a new instance of PrimaryStep.



1947
1948
1949
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1947

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

Instance Attribute Details

#individual_outcomeArray<Google::Apis::ToolresultsV1beta3::IndividualOutcome>

Step Id and outcome of each individual step. Corresponds to the JSON property individualOutcome



1939
1940
1941
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1939

def individual_outcome
  @individual_outcome
end

#roll_upString

Rollup test status of multiple steps that were run with the same configuration as a group. Corresponds to the JSON property rollUp

Returns:

  • (String)


1945
1946
1947
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1945

def roll_up
  @roll_up
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1952
1953
1954
1955
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1952

def update!(**args)
  @individual_outcome = args[:individual_outcome] if args.key?(:individual_outcome)
  @roll_up = args[:roll_up] if args.key?(:roll_up)
end