Class: Google::Apis::ToolresultsV1beta3::ToolOutputReference

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

A reference to a ToolExecution output file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ToolOutputReference

Returns a new instance of ToolOutputReference.



3653
3654
3655
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3653

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

Instance Attribute Details

#creation_timeGoogle::Apis::ToolresultsV1beta3::Timestamp

A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are " smeared" so that no leap second table is needed for interpretation, using a 24-hour linear smear. The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings. Corresponds to the JSON property creationTime



3639
3640
3641
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3639

def creation_time
  @creation_time
end

#outputGoogle::Apis::ToolresultsV1beta3::FileReference

A reference to a file. Corresponds to the JSON property output



3644
3645
3646
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3644

def output
  @output
end

#test_caseGoogle::Apis::ToolresultsV1beta3::TestCaseReference

A reference to a test case. Test case references are canonically ordered lexicographically by these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name. Corresponds to the JSON property testCase



3651
3652
3653
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3651

def test_case
  @test_case
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3658
3659
3660
3661
3662
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 3658

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