Class: Google::Apis::TestingV1::TestExecution
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::TestingV1::TestExecution
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
 generated/google/apis/testing_v1/representations.rb,
 generated/google/apis/testing_v1/representations.rb
Overview
Specifies a single test to be executed in a single environment.
Instance Attribute Summary collapse
- 
  
    
      #environment  ⇒ Google::Apis::TestingV1::Environment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The environment in which the test is run. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique id set by the backend. 
- 
  
    
      #matrix_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Id of the containing TestMatrix. 
- 
  
    
      #project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The cloud project that owns the test execution. 
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the current progress of the test execution (e.g., FINISHED). 
- 
  
    
      #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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time this test execution was initially created. 
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestExecution
Returns a new instance of TestExecution
| 1534 1535 1536 | # File 'generated/google/apis/testing_v1/classes.rb', line 1534 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
| 1486 1487 1488 | # File 'generated/google/apis/testing_v1/classes.rb', line 1486 def environment @environment end | 
#id ⇒ String
Unique id set by the backend.
Corresponds to the JSON property id
| 1492 1493 1494 | # File 'generated/google/apis/testing_v1/classes.rb', line 1492 def id @id end | 
#matrix_id ⇒ String
Id of the containing TestMatrix.
Corresponds to the JSON property matrixId
| 1498 1499 1500 | # File 'generated/google/apis/testing_v1/classes.rb', line 1498 def matrix_id @matrix_id end | 
#project_id ⇒ String
The cloud project that owns the test execution.
Corresponds to the JSON property projectId
| 1504 1505 1506 | # File 'generated/google/apis/testing_v1/classes.rb', line 1504 def project_id @project_id end | 
#state ⇒ String
Indicates the current progress of the test execution (e.g., FINISHED).
Corresponds to the JSON property state
| 1510 1511 1512 | # File 'generated/google/apis/testing_v1/classes.rb', line 1510 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
| 1515 1516 1517 | # File 'generated/google/apis/testing_v1/classes.rb', line 1515 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
| 1520 1521 1522 | # File 'generated/google/apis/testing_v1/classes.rb', line 1520 def test_specification @test_specification end | 
#timestamp ⇒ String
The time this test execution was initially created.
Corresponds to the JSON property timestamp
| 1526 1527 1528 | # File 'generated/google/apis/testing_v1/classes.rb', line 1526 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
| 1532 1533 1534 | # File 'generated/google/apis/testing_v1/classes.rb', line 1532 def tool_results_step @tool_results_step end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 | # File 'generated/google/apis/testing_v1/classes.rb', line 1539 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) @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 |