Class: Google::Apis::TestingV1::TestExecution
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::TestExecution
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb
Overview
A single test executed in a single environment.
Instance Attribute Summary collapse
-
#environment ⇒ Google::Apis::TestingV1::Environment
The environment in which the test is run.
-
#id ⇒ String
Output only.
-
#matrix_id ⇒ String
Output only.
-
#project_id ⇒ String
Output only.
-
#shard ⇒ Google::Apis::TestingV1::Shard
Output only.
-
#state ⇒ String
Output only.
-
#test_details ⇒ Google::Apis::TestingV1::TestDetails
Additional details about the progress of the running test.
-
#test_specification ⇒ Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
-
#timestamp ⇒ String
Output only.
-
#tool_results_step ⇒ Google::Apis::TestingV1::ToolResultsStep
Represents a tool results step resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestExecution
constructor
A new instance of TestExecution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TestExecution
Returns a new instance of TestExecution.
2664 2665 2666 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ Google::Apis::TestingV1::Environment
The environment in which the test is run.
Corresponds to the JSON property environment
2615 2616 2617 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2615 def environment @environment end |
#id ⇒ String
Output only. Unique id set by the service.
Corresponds to the JSON property id
2620 2621 2622 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2620 def id @id end |
#matrix_id ⇒ String
Output only. Id of the containing TestMatrix.
Corresponds to the JSON property matrixId
2625 2626 2627 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2625 def matrix_id @matrix_id end |
#project_id ⇒ String
Output only. The cloud project that owns the test execution.
Corresponds to the JSON property projectId
2630 2631 2632 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2630 def project_id @project_id end |
#shard ⇒ Google::Apis::TestingV1::Shard
Output only. Details about the shard.
Corresponds to the JSON property shard
2635 2636 2637 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2635 def shard @shard end |
#state ⇒ String
Output only. Indicates the current progress of the test execution (e.g.,
FINISHED).
Corresponds to the JSON property state
2641 2642 2643 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2641 def state @state end |
#test_details ⇒ Google::Apis::TestingV1::TestDetails
Additional details about the progress of the running test.
Corresponds to the JSON property testDetails
2646 2647 2648 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2646 def test_details @test_details end |
#test_specification ⇒ Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
Corresponds to the JSON property testSpecification
2651 2652 2653 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2651 def test_specification @test_specification end |
#timestamp ⇒ String
Output only. The time this test execution was initially created.
Corresponds to the JSON property timestamp
2656 2657 2658 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2656 def @timestamp end |
#tool_results_step ⇒ Google::Apis::TestingV1::ToolResultsStep
Represents a tool results step resource. This has the results of a
TestExecution.
Corresponds to the JSON property toolResultsStep
2662 2663 2664 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2662 def tool_results_step @tool_results_step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2669 def update!(**args) @environment = args[:environment] if args.key?(:environment) @id = args[:id] if args.key?(:id) @matrix_id = args[:matrix_id] if args.key?(:matrix_id) @project_id = args[:project_id] if args.key?(:project_id) @shard = args[:shard] if args.key?(:shard) @state = args[:state] if args.key?(:state) @test_details = args[:test_details] if args.key?(:test_details) @test_specification = args[:test_specification] if args.key?(:test_specification) @timestamp = args[:timestamp] if args.key?(:timestamp) @tool_results_step = args[:tool_results_step] if args.key?(:tool_results_step) end |