Class: Google::Apis::ToolresultsV1beta3::ShardSummary
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ShardSummary
- 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
Result summary for a shard in an environment.
Instance Attribute Summary collapse
-
#shard_result ⇒ Google::Apis::ToolresultsV1beta3::MergedResult
Merged test result for environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShardSummary
constructor
A new instance of ShardSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShardSummary
Returns a new instance of ShardSummary.
2123 2124 2125 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2123 def initialize(**args) update!(**args) end |
Instance Attribute Details
#shard_result ⇒ Google::Apis::ToolresultsV1beta3::MergedResult
Merged test result for environment.
If the environment has only one step (no reruns or shards), then the merged
result is the same as the step result. If the environment has multiple shards
and/or reruns, then the results of shards and reruns that belong to the same
environment are merged into one environment result.
Corresponds to the JSON property shardResult
2121 2122 2123 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2121 def shard_result @shard_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2128 2129 2130 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2128 def update!(**args) @shard_result = args[:shard_result] if args.key?(:shard_result) end |