test_environment_catalog
Creates, updates, deletes, gets or lists a test_environment_catalog
resource.
Overview
Name | test_environment_catalog |
Type | Resource |
Id | firebase.testing.test_environment_catalog |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
androidDeviceCatalog | object | Supported Android devices. (id: AndroidDeviceCatalog) |
deviceIpBlockCatalog | object | The IP blocks used by devices in the test environment. (id: DeviceIpBlockCatalog) |
iosDeviceCatalog | object | Supported iOS devices. (id: IosDeviceCatalog) |
networkConfigurationCatalog | object | Supported network configurations. (id: NetworkConfigurationCatalog) |
softwareCatalog | object | The software test environment provided by TestExecutionService. (id: ProvidedSoftwareCatalog) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | environmentType | projectId , includeViewableModels | 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 |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
environmentType | string | |
includeViewableModels | boolean | |
projectId | string |
SELECT
examples
- get
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
SELECT
androidDeviceCatalog,
deviceIpBlockCatalog,
iosDeviceCatalog,
networkConfigurationCatalog,
softwareCatalog
FROM firebase.testing.test_environment_catalog
WHERE environmentType = '{{ environmentType }}' -- required
AND projectId = '{{ projectId }}'
AND includeViewableModels = '{{ includeViewableModels }}';