Class: Google::Apis::ToolresultsV1beta3::ResultsStorage

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

The storage for test results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResultsStorage

Returns a new instance of ResultsStorage.



2454
2455
2456
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2454

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

Instance Attribute Details

#results_storage_pathGoogle::Apis::ToolresultsV1beta3::FileReference

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



2447
2448
2449
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2447

def results_storage_path
  @results_storage_path
end

#xunit_xml_fileGoogle::Apis::ToolresultsV1beta3::FileReference

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



2452
2453
2454
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2452

def xunit_xml_file
  @xunit_xml_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2459
2460
2461
2462
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 2459

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