Skip to main content

environments

Overview

Nameenvironments
TypeResource
Idfirebase.toolresults.environments

Fields

NameDatatypeDescription
completionTimeobjectA Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a 24-hour linear smear. The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings.
creationTimeobjectA Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a 24-hour linear smear. The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings.
dimensionValuearrayDimension values describing the environment. Dimension values always consist of "Model", "Version", "Locale", and "Orientation". - In response: always set - In create request: always set - In update request: never set
displayNamestringA short human-readable name to display in the UI. Maximum of 100 characters. For example: Nexus 5, API 27.
environmentIdstringOutput only. An Environment id.
environmentResultobjectMerged test result for environment. If the environment has only one step (no reruns or shards), then the merged result is the same as the step result. If the environment has multiple shards and/or reruns, then the results of shards and reruns that belong to the same environment are merged into one environment result.
executionIdstringOutput only. An Execution id.
historyIdstringOutput only. A History id.
projectIdstringOutput only. A Project id.
resultsStorageobjectThe storage for test results.
shardSummariesarrayOutput only. Summaries of shards. Only one shard will present unless sharding feature is enabled in TestExecutionService.

Methods

NameAccessible byRequired ParamsDescription
projects_histories_executions_environments_getSELECTenvironmentId, executionId, historyId, projectIdGets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist
projects_histories_executions_environments_listSELECTexecutionId, historyId, projectIdLists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist