Class: Google::Apis::TestingV1::EnvironmentMatrix
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::EnvironmentMatrix
- 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
The matrix of environments in which the test is to be executed.
Instance Attribute Summary collapse
-
#android_device_list ⇒ Google::Apis::TestingV1::AndroidDeviceList
A list of Android device configurations in which the test is to be executed.
-
#android_matrix ⇒ Google::Apis::TestingV1::AndroidMatrix
A set of Android device configuration permutations is defined by the the cross-product of the given axes.
-
#ios_device_list ⇒ Google::Apis::TestingV1::IosDeviceList
A list of iOS device configurations in which the test is to be executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvironmentMatrix
constructor
A new instance of EnvironmentMatrix.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnvironmentMatrix
Returns a new instance of EnvironmentMatrix
946 947 948 |
# File 'generated/google/apis/testing_v1/classes.rb', line 946 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_device_list ⇒ Google::Apis::TestingV1::AndroidDeviceList
A list of Android device configurations in which the test is to be executed.
Corresponds to the JSON property androidDeviceList
930 931 932 |
# File 'generated/google/apis/testing_v1/classes.rb', line 930 def android_device_list @android_device_list end |
#android_matrix ⇒ Google::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
939 940 941 |
# File 'generated/google/apis/testing_v1/classes.rb', line 939 def android_matrix @android_matrix end |
#ios_device_list ⇒ Google::Apis::TestingV1::IosDeviceList
A list of iOS device configurations in which the test is to be executed.
Corresponds to the JSON property iosDeviceList
944 945 946 |
# File 'generated/google/apis/testing_v1/classes.rb', line 944 def ios_device_list @ios_device_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
951 952 953 954 955 |
# File 'generated/google/apis/testing_v1/classes.rb', line 951 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 |