Class: Google::Apis::TestingV1::EnvironmentMatrix

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

The matrix of environments in which the test is to be executed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvironmentMatrix

Returns a new instance of EnvironmentMatrix.



1033
1034
1035
# File 'lib/google/apis/testing_v1/classes.rb', line 1033

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

Instance Attribute Details

#android_device_listGoogle::Apis::TestingV1::AndroidDeviceList

A list of Android device configurations in which the test is to be executed. Corresponds to the JSON property androidDeviceList



1017
1018
1019
# File 'lib/google/apis/testing_v1/classes.rb', line 1017

def android_device_list
  @android_device_list
end

#android_matrixGoogle::Apis::TestingV1::AndroidMatrix

A set of Android device configuration permutations is defined by the the cross- product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored. Corresponds to the JSON property androidMatrix



1026
1027
1028
# File 'lib/google/apis/testing_v1/classes.rb', line 1026

def android_matrix
  @android_matrix
end

#ios_device_listGoogle::Apis::TestingV1::IosDeviceList

A list of iOS device configurations in which the test is to be executed. Corresponds to the JSON property iosDeviceList



1031
1032
1033
# File 'lib/google/apis/testing_v1/classes.rb', line 1031

def ios_device_list
  @ios_device_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1038
1039
1040
1041
1042
# File 'lib/google/apis/testing_v1/classes.rb', line 1038

def update!(**args)
  @android_device_list = args[:android_device_list] if args.key?(:android_device_list)
  @android_matrix = args[:android_matrix] if args.key?(:android_matrix)
  @ios_device_list = args[:ios_device_list] if args.key?(:ios_device_list)
end