Class: Google::Apis::ToolresultsV1beta3::TestTiming

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

Testing timing break down to know phases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TestTiming

Returns a new instance of TestTiming.



3446
3447
3448
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3446

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

Instance Attribute Details

#test_process_durationGoogle::Apis::ToolresultsV1beta3::Duration

A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +- 10,000 years. Corresponds to the JSON property testProcessDuration



3444
3445
3446
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3444

def test_process_duration
  @test_process_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3451
3452
3453
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3451

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