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

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

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.



3486
3487
3488
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3486

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



3484
3485
3486
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3484

def test_process_duration
  @test_process_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3491
3492
3493
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3491

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