Class: Google::Apis::TestingV1::TestMatrix
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::TestingV1::TestMatrix
 
- 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
A group of one or more TestExecutions, built by taking a product of values over a pre-defined set of axes.
Instance Attribute Summary collapse
- 
  
    
      #client_info  ⇒ Google::Apis::TestingV1::ClientInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Information about the client which invoked the test. 
- 
  
    
      #environment_matrix  ⇒ Google::Apis::TestingV1::EnvironmentMatrix 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The matrix of environments in which the test is to be executed. 
- 
  
    
      #invalid_matrix_details  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes why the matrix is considered invalid. 
- 
  
    
      #project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The cloud project that owns the test matrix. 
- 
  
    
      #result_storage  ⇒ Google::Apis::TestingV1::ResultStorage 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Locations where the results of running the test are stored. 
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the current progress of the test matrix (e.g., FINISHED) Corresponds to the JSON property state.
- 
  
    
      #test_executions  ⇒ Array<Google::Apis::TestingV1::TestExecution> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of test executions that the service creates for this matrix. 
- 
  
    
      #test_matrix_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique id set by the service. 
- 
  
    
      #test_specification  ⇒ Google::Apis::TestingV1::TestSpecification 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A description of how to run the test. 
- 
  
    
      #timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time this test matrix was initially created. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TestMatrix 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TestMatrix. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestMatrix
Returns a new instance of TestMatrix
| 1614 1615 1616 | # File 'generated/google/apis/testing_v1/classes.rb', line 1614 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#client_info ⇒ Google::Apis::TestingV1::ClientInfo
Information about the client which invoked the test.
Corresponds to the JSON property clientInfo
| 1560 1561 1562 | # File 'generated/google/apis/testing_v1/classes.rb', line 1560 def client_info @client_info end | 
#environment_matrix ⇒ Google::Apis::TestingV1::EnvironmentMatrix
The matrix of environments in which the test is to be executed.
Corresponds to the JSON property environmentMatrix
| 1565 1566 1567 | # File 'generated/google/apis/testing_v1/classes.rb', line 1565 def environment_matrix @environment_matrix end | 
#invalid_matrix_details ⇒ String
Describes why the matrix is considered invalid.
Only useful for matrices in the INVALID state.
Corresponds to the JSON property invalidMatrixDetails
| 1572 1573 1574 | # File 'generated/google/apis/testing_v1/classes.rb', line 1572 def invalid_matrix_details @invalid_matrix_details end | 
#project_id ⇒ String
The cloud project that owns the test matrix.
Corresponds to the JSON property projectId
| 1578 1579 1580 | # File 'generated/google/apis/testing_v1/classes.rb', line 1578 def project_id @project_id end | 
#result_storage ⇒ Google::Apis::TestingV1::ResultStorage
Locations where the results of running the test are stored.
Corresponds to the JSON property resultStorage
| 1583 1584 1585 | # File 'generated/google/apis/testing_v1/classes.rb', line 1583 def result_storage @result_storage end | 
#state ⇒ String
Indicates the current progress of the test matrix (e.g., FINISHED)
Corresponds to the JSON property state
| 1589 1590 1591 | # File 'generated/google/apis/testing_v1/classes.rb', line 1589 def state @state end | 
#test_executions ⇒ Array<Google::Apis::TestingV1::TestExecution>
The list of test executions that the service creates for this matrix.
Corresponds to the JSON property testExecutions
| 1595 1596 1597 | # File 'generated/google/apis/testing_v1/classes.rb', line 1595 def test_executions @test_executions end | 
#test_matrix_id ⇒ String
Unique id set by the service.
Corresponds to the JSON property testMatrixId
| 1601 1602 1603 | # File 'generated/google/apis/testing_v1/classes.rb', line 1601 def test_matrix_id @test_matrix_id end | 
#test_specification ⇒ Google::Apis::TestingV1::TestSpecification
A description of how to run the test.
Corresponds to the JSON property testSpecification
| 1606 1607 1608 | # File 'generated/google/apis/testing_v1/classes.rb', line 1606 def test_specification @test_specification end | 
#timestamp ⇒ String
The time this test matrix was initially created.
Corresponds to the JSON property timestamp
| 1612 1613 1614 | # File 'generated/google/apis/testing_v1/classes.rb', line 1612 def @timestamp end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 | # File 'generated/google/apis/testing_v1/classes.rb', line 1619 def update!(**args) @client_info = args[:client_info] if args.key?(:client_info) @environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix) @invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details) @project_id = args[:project_id] if args.key?(:project_id) @result_storage = args[:result_storage] if args.key?(:result_storage) @state = args[:state] if args.key?(:state) @test_executions = args[:test_executions] if args.key?(:test_executions) @test_matrix_id = args[:test_matrix_id] if args.key?(:test_matrix_id) @test_specification = args[:test_specification] if args.key?(:test_specification) @timestamp = args[:timestamp] if args.key?(:timestamp) end |