Skip to main content

test_environment_catalog

Creates, updates, deletes, gets or lists a test_environment_catalog resource.

Overview​

Nametest_environment_catalog
TypeResource
Idfirebase.testing.test_environment_catalog

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
androidDeviceCatalogobjectSupported Android devices. (id: AndroidDeviceCatalog)
deviceIpBlockCatalogobjectThe IP blocks used by devices in the test environment. (id: DeviceIpBlockCatalog)
iosDeviceCatalogobjectSupported iOS devices. (id: IosDeviceCatalog)
networkConfigurationCatalogobjectSupported network configurations. (id: NetworkConfigurationCatalog)
softwareCatalogobjectThe software test environment provided by TestExecutionService. (id: ProvidedSoftwareCatalog)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectenvironmentTypeincludeViewableModels, projectIdGets 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.

NameDatatypeDescription
environmentTypestring
includeViewableModelsboolean
projectIdstring

SELECT examples​

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 includeViewableModels = '{{ includeViewableModels }}'
AND projectId = '{{ projectId }}'
;