Class: Google::Apis::TestingV1::TestMatrix

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TestMatrix

Returns a new instance of TestMatrix



1963
1964
1965
# File 'generated/google/apis/testing_v1/classes.rb', line 1963

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

Instance Attribute Details

#client_infoGoogle::Apis::TestingV1::ClientInfo

Information about the client which invoked the test. Corresponds to the JSON property clientInfo



1909
1910
1911
# File 'generated/google/apis/testing_v1/classes.rb', line 1909

def client_info
  @client_info
end

#environment_matrixGoogle::Apis::TestingV1::EnvironmentMatrix

The matrix of environments in which the test is to be executed. Corresponds to the JSON property environmentMatrix



1914
1915
1916
# File 'generated/google/apis/testing_v1/classes.rb', line 1914

def environment_matrix
  @environment_matrix
end

#invalid_matrix_detailsString

Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state. Corresponds to the JSON property invalidMatrixDetails

Returns:

  • (String)


1921
1922
1923
# File 'generated/google/apis/testing_v1/classes.rb', line 1921

def invalid_matrix_details
  @invalid_matrix_details
end

#project_idString

The cloud project that owns the test matrix. Corresponds to the JSON property projectId

Returns:

  • (String)


1927
1928
1929
# File 'generated/google/apis/testing_v1/classes.rb', line 1927

def project_id
  @project_id
end

#result_storageGoogle::Apis::TestingV1::ResultStorage

Locations where the results of running the test are stored. Corresponds to the JSON property resultStorage



1932
1933
1934
# File 'generated/google/apis/testing_v1/classes.rb', line 1932

def result_storage
  @result_storage
end

#stateString

Indicates the current progress of the test matrix (e.g., FINISHED) Corresponds to the JSON property state

Returns:

  • (String)


1938
1939
1940
# File 'generated/google/apis/testing_v1/classes.rb', line 1938

def state
  @state
end

#test_executionsArray<Google::Apis::TestingV1::TestExecution>

The list of test executions that the service creates for this matrix. Corresponds to the JSON property testExecutions



1944
1945
1946
# File 'generated/google/apis/testing_v1/classes.rb', line 1944

def test_executions
  @test_executions
end

#test_matrix_idString

Unique id set by the service. Corresponds to the JSON property testMatrixId

Returns:

  • (String)


1950
1951
1952
# File 'generated/google/apis/testing_v1/classes.rb', line 1950

def test_matrix_id
  @test_matrix_id
end

#test_specificationGoogle::Apis::TestingV1::TestSpecification

A description of how to run the test. Corresponds to the JSON property testSpecification



1955
1956
1957
# File 'generated/google/apis/testing_v1/classes.rb', line 1955

def test_specification
  @test_specification
end

#timestampString

The time this test matrix was initially created. Corresponds to the JSON property timestamp

Returns:

  • (String)


1961
1962
1963
# File 'generated/google/apis/testing_v1/classes.rb', line 1961

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'generated/google/apis/testing_v1/classes.rb', line 1968

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