1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="testing_v1.html">Cloud Testing API</a> . <a href="testing_v1.testEnvironmentCatalog.html">testEnvironmentCatalog</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#get">get(environmentType, projectId=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred</p>
83<h3>Method Details</h3>
84<div class="method">
85    <code class="details" id="close">close()</code>
86  <pre>Close httplib2 connections.</pre>
87</div>
88
89<div class="method">
90    <code class="details" id="get">get(environmentType, projectId=None, x__xgafv=None)</code>
91  <pre>Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
92
93Args:
94  environmentType: string, Required. The type of environment that should be listed. (required)
95    Allowed values
96      ENVIRONMENT_TYPE_UNSPECIFIED - Do not use. For proto versioning only.
97      ANDROID - A device running a version of the Android OS.
98      IOS - A device running a version of iOS.
99      NETWORK_CONFIGURATION - A network configuration to use when running a test.
100      PROVIDED_SOFTWARE - The software environment provided by TestExecutionService.
101      DEVICE_IP_BLOCKS - The IP blocks used by devices in the test environment.
102  projectId: string, For authorization, the cloud project requesting the TestEnvironmentCatalog.
103  x__xgafv: string, V1 error format.
104    Allowed values
105      1 - v1 error format
106      2 - v2 error format
107
108Returns:
109  An object of the form:
110
111    { # A description of a test environment.
112  &quot;androidDeviceCatalog&quot;: { # The currently supported Android devices. # Supported Android devices.
113    &quot;models&quot;: [ # The set of supported Android device models.
114      { # A description of an Android device tests may be run on.
115        &quot;brand&quot;: &quot;A String&quot;, # The company that this device is branded with. Example: &quot;Google&quot;, &quot;Samsung&quot;.
116        &quot;codename&quot;: &quot;A String&quot;, # The name of the industrial design. This corresponds to android.os.Build.DEVICE.
117        &quot;form&quot;: &quot;A String&quot;, # Whether this device is virtual or physical.
118        &quot;formFactor&quot;: &quot;A String&quot;, # Whether this device is a phone, tablet, wearable, etc.
119        &quot;id&quot;: &quot;A String&quot;, # The unique opaque id for this model. Use this for invoking the TestExecutionService.
120        &quot;lowFpsVideoRecording&quot;: True or False, # True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.
121        &quot;manufacturer&quot;: &quot;A String&quot;, # The manufacturer of this device.
122        &quot;name&quot;: &quot;A String&quot;, # The human-readable marketing name for this device model. Examples: &quot;Nexus 5&quot;, &quot;Galaxy S5&quot;.
123        &quot;screenDensity&quot;: 42, # Screen density in DPI. This corresponds to ro.sf.lcd_density
124        &quot;screenX&quot;: 42, # Screen size in the horizontal (X) dimension measured in pixels.
125        &quot;screenY&quot;: 42, # Screen size in the vertical (Y) dimension measured in pixels.
126        &quot;supportedAbis&quot;: [ # The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. Elements are optionally prefixed by &quot;version_id:&quot; (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.
127          &quot;A String&quot;,
128        ],
129        &quot;supportedVersionIds&quot;: [ # The set of Android versions this device supports.
130          &quot;A String&quot;,
131        ],
132        &quot;tags&quot;: [ # Tags for this dimension. Examples: &quot;default&quot;, &quot;preview&quot;, &quot;deprecated&quot;.
133          &quot;A String&quot;,
134        ],
135        &quot;thumbnailUrl&quot;: &quot;A String&quot;, # URL of a thumbnail image (photo) of the device. e.g. https://lh3.googleusercontent.com/90WcauuJiCYABEl8U0lcZeuS5STUbf2yW...
136      },
137    ],
138    &quot;runtimeConfiguration&quot;: { # Android configuration that can be selected at the time a test is run. # The set of supported runtime configurations.
139      &quot;locales&quot;: [ # The set of available locales.
140        { # A location/region designation for language.
141          &quot;id&quot;: &quot;A String&quot;, # The id for this locale. Example: &quot;en_US&quot;.
142          &quot;name&quot;: &quot;A String&quot;, # A human-friendly name for this language/locale. Example: &quot;English&quot;.
143          &quot;region&quot;: &quot;A String&quot;, # A human-friendly string representing the region for this locale. Example: &quot;United States&quot;. Not present for every locale.
144          &quot;tags&quot;: [ # Tags for this dimension. Example: &quot;default&quot;.
145            &quot;A String&quot;,
146          ],
147        },
148      ],
149      &quot;orientations&quot;: [ # The set of available orientations.
150        { # Screen orientation of the device.
151          &quot;id&quot;: &quot;A String&quot;, # The id for this orientation. Example: &quot;portrait&quot;.
152          &quot;name&quot;: &quot;A String&quot;, # A human-friendly name for this orientation. Example: &quot;portrait&quot;.
153          &quot;tags&quot;: [ # Tags for this dimension. Example: &quot;default&quot;.
154            &quot;A String&quot;,
155          ],
156        },
157      ],
158    },
159    &quot;versions&quot;: [ # The set of supported Android OS versions.
160      { # A version of the Android OS.
161        &quot;apiLevel&quot;: 42, # The API level for this Android version. Examples: 18, 19.
162        &quot;codeName&quot;: &quot;A String&quot;, # The code name for this Android version. Examples: &quot;JellyBean&quot;, &quot;KitKat&quot;.
163        &quot;distribution&quot;: { # Data about the relative number of devices running a given configuration of the Android platform. # Market share for this version.
164          &quot;marketShare&quot;: 3.14, # Output only. The estimated fraction (0-1) of the total market with this configuration.
165          &quot;measurementTime&quot;: &quot;A String&quot;, # Output only. The time this distribution was measured.
166        },
167        &quot;id&quot;: &quot;A String&quot;, # An opaque id for this Android version. Use this id to invoke the TestExecutionService.
168        &quot;releaseDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # The date this Android version became available in the market.
169          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
170          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
171          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
172        },
173        &quot;tags&quot;: [ # Tags for this dimension. Examples: &quot;default&quot;, &quot;preview&quot;, &quot;deprecated&quot;.
174          &quot;A String&quot;,
175        ],
176        &quot;versionString&quot;: &quot;A String&quot;, # A string representing this version of the Android OS. Examples: &quot;4.3&quot;, &quot;4.4&quot;.
177      },
178    ],
179  },
180  &quot;deviceIpBlockCatalog&quot;: { # List of IP blocks used by the Firebase Test Lab # The IP blocks used by devices in the test environment.
181    &quot;ipBlocks&quot;: [ # The device IP blocks used by Firebase Test Lab
182      { # A single device IP block
183        &quot;addedDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # The date this block was added to Firebase Test Lab
184          &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
185          &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
186          &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
187        },
188        &quot;block&quot;: &quot;A String&quot;, # An IP address block in CIDR notation eg: 34.68.194.64/29
189        &quot;form&quot;: &quot;A String&quot;, # Whether this block is used by physical or virtual devices
190      },
191    ],
192  },
193  &quot;iosDeviceCatalog&quot;: { # The currently supported iOS devices. # Supported iOS devices.
194    &quot;models&quot;: [ # The set of supported iOS device models.
195      { # A description of an iOS device tests may be run on.
196        &quot;deviceCapabilities&quot;: [ # Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html
197          &quot;A String&quot;,
198        ],
199        &quot;formFactor&quot;: &quot;A String&quot;, # Whether this device is a phone, tablet, wearable, etc.
200        &quot;id&quot;: &quot;A String&quot;, # The unique opaque id for this model. Use this for invoking the TestExecutionService.
201        &quot;name&quot;: &quot;A String&quot;, # The human-readable name for this device model. Examples: &quot;iPhone 4s&quot;, &quot;iPad Mini 2&quot;.
202        &quot;screenDensity&quot;: 42, # Screen density in DPI.
203        &quot;screenX&quot;: 42, # Screen size in the horizontal (X) dimension measured in pixels.
204        &quot;screenY&quot;: 42, # Screen size in the vertical (Y) dimension measured in pixels.
205        &quot;supportedVersionIds&quot;: [ # The set of iOS major software versions this device supports.
206          &quot;A String&quot;,
207        ],
208        &quot;tags&quot;: [ # Tags for this dimension. Examples: &quot;default&quot;, &quot;preview&quot;, &quot;deprecated&quot;.
209          &quot;A String&quot;,
210        ],
211      },
212    ],
213    &quot;runtimeConfiguration&quot;: { # iOS configuration that can be selected at the time a test is run. # The set of supported runtime configurations.
214      &quot;locales&quot;: [ # The set of available locales.
215        { # A location/region designation for language.
216          &quot;id&quot;: &quot;A String&quot;, # The id for this locale. Example: &quot;en_US&quot;.
217          &quot;name&quot;: &quot;A String&quot;, # A human-friendly name for this language/locale. Example: &quot;English&quot;.
218          &quot;region&quot;: &quot;A String&quot;, # A human-friendly string representing the region for this locale. Example: &quot;United States&quot;. Not present for every locale.
219          &quot;tags&quot;: [ # Tags for this dimension. Example: &quot;default&quot;.
220            &quot;A String&quot;,
221          ],
222        },
223      ],
224      &quot;orientations&quot;: [ # The set of available orientations.
225        { # Screen orientation of the device.
226          &quot;id&quot;: &quot;A String&quot;, # The id for this orientation. Example: &quot;portrait&quot;.
227          &quot;name&quot;: &quot;A String&quot;, # A human-friendly name for this orientation. Example: &quot;portrait&quot;.
228          &quot;tags&quot;: [ # Tags for this dimension. Example: &quot;default&quot;.
229            &quot;A String&quot;,
230          ],
231        },
232      ],
233    },
234    &quot;versions&quot;: [ # The set of supported iOS software versions.
235      { # An iOS version.
236        &quot;id&quot;: &quot;A String&quot;, # An opaque id for this iOS version. Use this id to invoke the TestExecutionService.
237        &quot;majorVersion&quot;: 42, # An integer representing the major iOS version. Examples: &quot;8&quot;, &quot;9&quot;.
238        &quot;minorVersion&quot;: 42, # An integer representing the minor iOS version. Examples: &quot;1&quot;, &quot;2&quot;.
239        &quot;supportedXcodeVersionIds&quot;: [ # The available Xcode versions for this version.
240          &quot;A String&quot;,
241        ],
242        &quot;tags&quot;: [ # Tags for this dimension. Examples: &quot;default&quot;, &quot;preview&quot;, &quot;deprecated&quot;.
243          &quot;A String&quot;,
244        ],
245      },
246    ],
247    &quot;xcodeVersions&quot;: [ # The set of supported Xcode versions.
248      { # An Xcode version that an iOS version is compatible with.
249        &quot;tags&quot;: [ # Tags for this Xcode version. Example: &quot;default&quot;.
250          &quot;A String&quot;,
251        ],
252        &quot;version&quot;: &quot;A String&quot;, # The id for this version. Example: &quot;9.2&quot;.
253      },
254    ],
255  },
256  &quot;networkConfigurationCatalog&quot;: { # Supported network configurations.
257    &quot;configurations&quot;: [
258      {
259        &quot;downRule&quot;: { # Network emulation parameters. # The emulation rule applying to the download traffic.
260          &quot;bandwidth&quot;: 3.14, # Bandwidth in kbits/second.
261          &quot;burst&quot;: 3.14, # Burst size in kbits.
262          &quot;delay&quot;: &quot;A String&quot;, # Packet delay, must be &gt;= 0.
263          &quot;packetDuplicationRatio&quot;: 3.14, # Packet duplication ratio (0.0 - 1.0).
264          &quot;packetLossRatio&quot;: 3.14, # Packet loss ratio (0.0 - 1.0).
265        },
266        &quot;id&quot;: &quot;A String&quot;, # The unique opaque id for this network traffic configuration.
267        &quot;upRule&quot;: { # Network emulation parameters. # The emulation rule applying to the upload traffic.
268          &quot;bandwidth&quot;: 3.14, # Bandwidth in kbits/second.
269          &quot;burst&quot;: 3.14, # Burst size in kbits.
270          &quot;delay&quot;: &quot;A String&quot;, # Packet delay, must be &gt;= 0.
271          &quot;packetDuplicationRatio&quot;: 3.14, # Packet duplication ratio (0.0 - 1.0).
272          &quot;packetLossRatio&quot;: 3.14, # Packet loss ratio (0.0 - 1.0).
273        },
274      },
275    ],
276  },
277  &quot;softwareCatalog&quot;: { # The currently provided software environment on the devices under test. # The software test environment provided by TestExecutionService.
278    &quot;androidxOrchestratorVersion&quot;: &quot;A String&quot;, # A string representing the current version of AndroidX Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#androidx.test:orchestrator.
279    &quot;orchestratorVersion&quot;: &quot;A String&quot;, # Deprecated: Use AndroidX Test Orchestrator going forward. A string representing the current version of Android Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.
280  },
281}</pre>
282</div>
283
284</body></html>