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.



3473
3474
3475
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3473

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



3471
3472
3473
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3471

def test_process_duration
  @test_process_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3478
3479
3480
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 3478

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