UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 82.9 kB
{"openapi":"3.0.0","servers":[{"url":"https://testing.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Allows developers to run automated tests for their mobile applications on Google infrastructure.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud Testing API","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/mermade/oas-kit","version":"7.0.4"},"format":"google","url":"https://testing.googleapis.com/$discovery/rest?version=v1","version":"v1"}],"x-providerName":"googleapis.com","x-serviceName":"testing"},"externalDocs":{"url":"https://developers.google.com/cloud-test-lab/"},"tags":[{"name":"applicationDetailService"},{"name":"projects"},{"name":"testEnvironmentCatalog"}],"paths":{"/v1/applicationDetailService/getApkDetails":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Gets the details of an Android application APK.","operationId":"testing.applicationDetailService.getApkDetails","parameters":[{"description":"A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)","in":"query","name":"bundleLocation.gcsPath","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileReference"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetApkDetailsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["applicationDetailService"]}},"/v1/projects/{projectId}/testMatrices":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. Execution creation happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices.","operationId":"testing.projects.testMatrices.create","parameters":[{"description":"The GCE project under which this job will run.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestMatrix"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestMatrix"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/testMatrices/{testMatrixId}":{"get":{"description":"Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may be added to the matrix at a later stage. 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 Test Matrix does not exist","operationId":"testing.projects.testMatrices.get","parameters":[{"description":"Cloud project that owns the test matrix.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Unique test matrix id which was assigned by the service.","in":"path","name":"testMatrixId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestMatrix"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final, this operation will have no effect. 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 Test Matrix does not exist","operationId":"testing.projects.testMatrices.cancel","parameters":[{"description":"Cloud project that owns the test.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Test matrix that will be canceled.","in":"path","name":"testMatrixId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelTestMatrixResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/testEnvironmentCatalog/{environmentType}":{"get":{"description":"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","operationId":"testing.testEnvironmentCatalog.get","parameters":[{"description":"Required. The type of environment that should be listed.","in":"path","name":"environmentType","required":true,"schema":{"enum":["ENVIRONMENT_TYPE_UNSPECIFIED","ANDROID","IOS","NETWORK_CONFIGURATION","PROVIDED_SOFTWARE","DEVICE_IP_BLOCKS"],"type":"string"}},{"description":"For authorization, the cloud project requesting the TestEnvironmentCatalog.","in":"query","name":"projectId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestEnvironmentCatalog"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]}],"tags":["testEnvironmentCatalog"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/{name}":{"get":{"description":"GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.","operationId":"testing.projects.deviceSessions.get","parameters":[{"description":"Required. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSession"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask.","operationId":"testing.projects.deviceSessions.patch","parameters":[{"description":"Optional. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Required. The list of fields to update.","in":"query","name":"updateMask","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSession"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSession"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{name}:cancel":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.","operationId":"testing.projects.deviceSessions.cancel","parameters":[{"description":"Required. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelDeviceSessionRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/{parent}/deviceSessions":{"get":{"description":"GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user.","operationId":"testing.projects.deviceSessions.list","parameters":[{"description":"Required. The name of the parent to request, e.g. \"projects/{project_id}\"","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Optional. If specified, responses will be filtered by the given filter. Allowed fields are: session_state.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Optional. The maximum number of DeviceSessions to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. A continuation token for paging.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDeviceSessionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"POST /v1/projects/{project_id}/deviceSessions","operationId":"testing.projects.deviceSessions.create","parameters":[{"description":"Required. The Compute Engine project under which this device will be allocated. \"projects/{project_id}\"","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSession"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSession"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"Account":{"description":"Identifies an account and how to log into it.","properties":{"googleAuto":{"$ref":"#/components/schemas/GoogleAuto","description":"An automatic google login account."}},"type":"object"},"AndroidDevice":{"description":"A single Android device.","properties":{"androidModelId":{"description":"Required. The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"androidVersionId":{"description":"Required. The id of the Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"locale":{"description":"Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"orientation":{"description":"Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"}},"type":"object"},"AndroidDeviceCatalog":{"description":"The currently supported Android devices.","properties":{"models":{"description":"The set of supported Android device models.","items":{"$ref":"#/components/schemas/AndroidModel"},"type":"array"},"runtimeConfiguration":{"$ref":"#/components/schemas/AndroidRuntimeConfiguration","description":"The set of supported runtime configurations."},"versions":{"description":"The set of supported Android OS versions.","items":{"$ref":"#/components/schemas/AndroidVersion"},"type":"array"}},"type":"object"},"AndroidDeviceList":{"description":"A list of Android device configurations in which the test is to be executed.","properties":{"androidDevices":{"description":"Required. A list of Android devices.","items":{"$ref":"#/components/schemas/AndroidDevice"},"type":"array"}},"type":"object"},"AndroidInstrumentationTest":{"description":"A test of an Android application that can control an Android component independently of its normal lifecycle. Android instrumentation tests run an application APK and test APK inside the same process on a virtual or physical AndroidDevice. They also specify a test runner class, such as com.google.GoogleTestRunner, which can vary on the specific instrumentation framework chosen. See for more information on types of Android tests.","properties":{"appApk":{"$ref":"#/components/schemas/FileReference","description":"The APK for the application under test."},"appBundle":{"$ref":"#/components/schemas/AppBundle","description":"A multi-apk app bundle for the application under test."},"appPackageId":{"description":"The java package for the application under test. The default value is determined by examining the application's manifest.","type":"string"},"orchestratorOption":{"description":"The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher! ** Orchestrator offers the following benefits: - No shared state - Crashes are isolated - Logs are scoped per test See for more information about Android Test Orchestrator. If not set, the test will be run without the orchestrator.","enum":["ORCHESTRATOR_OPTION_UNSPECIFIED","USE_ORCHESTRATOR","DO_NOT_USE_ORCHESTRATOR"],"type":"string"},"shardingOption":{"$ref":"#/components/schemas/ShardingOption","description":"The option to run tests in multiple shards in parallel."},"testApk":{"$ref":"#/components/schemas/FileReference","description":"Required. The APK containing the test code to be executed."},"testPackageId":{"description":"The java package for the test to be executed. The default value is determined by examining the application's manifest.","type":"string"},"testRunnerClass":{"description":"The InstrumentationTestRunner class. The default value is determined by examining the application's manifest.","type":"string"},"testTargets":{"description":"Each target must be fully qualified with the package name or class name, in one of these formats: - \"package package_name\" - \"class package_name.class_name\" - \"class package_name.class_name#method_name\" If empty, all targets in the module will be run.","items":{"type":"string"},"type":"array"}},"type":"object"},"AndroidMatrix":{"description":"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.","properties":{"androidModelIds":{"description":"Required. The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options.","items":{"type":"string"},"type":"array"},"androidVersionIds":{"description":"Required. The ids of the set of Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options.","items":{"type":"string"},"type":"array"},"locales":{"description":"Required. The set of locales the test device will enable for testing. Use the TestEnvironmentDiscoveryService to get supported options.","items":{"type":"string"},"type":"array"},"orientations":{"description":"Required. The set of orientations to test with. Use the TestEnvironmentDiscoveryService to get supported options.","items":{"type":"string"},"type":"array"}},"type":"object"},"AndroidModel":{"description":"A description of an Android device tests may be run on.","properties":{"brand":{"description":"The company that this device is branded with. Example: \"Google\", \"Samsung\".","type":"string"},"codename":{"description":"The name of the industrial design. This corresponds to android.os.Build.DEVICE.","type":"string"},"form":{"description":"Whether this device is virtual or physical.","enum":["DEVICE_FORM_UNSPECIFIED","VIRTUAL","PHYSICAL","EMULATOR"],"type":"string"},"formFactor":{"description":"Whether this device is a phone, tablet, wearable, etc.","enum":["DEVICE_FORM_FACTOR_UNSPECIFIED","PHONE","TABLET","WEARABLE"],"type":"string"},"id":{"description":"The unique opaque id for this model. Use this for invoking the TestExecutionService.","type":"string"},"lowFpsVideoRecording":{"description":"True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.","type":"boolean"},"manufacturer":{"description":"The manufacturer of this device.","type":"string"},"name":{"description":"The human-readable marketing name for this device model. Examples: \"Nexus 5\", \"Galaxy S5\".","type":"string"},"perVersionInfo":{"description":"Version-specific information of an Android model.","items":{"$ref":"#/components/schemas/PerAndroidVersionInfo"},"type":"array"},"screenDensity":{"description":"Screen density in DPI. This corresponds to ro.sf.lcd_density","format":"int32","type":"integer"},"screenX":{"description":"Screen size in the horizontal (X) dimension measured in pixels.","format":"int32","type":"integer"},"screenY":{"description":"Screen size in the vertical (Y) dimension measured in pixels.","format":"int32","type":"integer"},"supportedAbis":{"description":"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 \"version_id:\" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.","items":{"type":"string"},"type":"array"},"supportedVersionIds":{"description":"The set of Android versions this device supports.","items":{"type":"string"},"type":"array"},"tags":{"description":"Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".","items":{"type":"string"},"type":"array"},"thumbnailUrl":{"description":"URL of a thumbnail image (photo) of the device.","type":"string"}},"type":"object"},"AndroidRoboTest":{"description":"A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.","properties":{"appApk":{"$ref":"#/components/schemas/FileReference","description":"The APK for the application under test."},"appBundle":{"$ref":"#/components/schemas/AppBundle","description":"A multi-apk app bundle for the application under test."},"appInitialActivity":{"description":"The initial activity that should be used to start the app.","type":"string"},"appPackageId":{"description":"The java package for the application under test. The default value is determined by examining the application's manifest.","type":"string"},"maxDepth":{"deprecated":true,"description":"The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50.","format":"int32","type":"integer"},"maxSteps":{"deprecated":true,"description":"The max number of steps Robo can execute. Default is no limit.","format":"int32","type":"integer"},"roboDirectives":{"description":"A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.","items":{"$ref":"#/components/schemas/RoboDirective"},"type":"array"},"roboMode":{"description":"The mode in which Robo should run. Most clients should allow the server to populate this field automatically.","enum":["ROBO_MODE_UNSPECIFIED","ROBO_VERSION_1","ROBO_VERSION_2"],"type":"string"},"roboScript":{"$ref":"#/components/schemas/FileReference","description":"A JSON file with a sequence of actions Robo should perform as a prologue for the crawl."},"startingIntents":{"description":"The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly).","items":{"$ref":"#/components/schemas/RoboStartingIntent"},"type":"array"}},"type":"object"},"AndroidRuntimeConfiguration":{"description":"Android configuration that can be selected at the time a test is run.","properties":{"locales":{"description":"The set of available locales.","items":{"$ref":"#/components/schemas/Locale"},"type":"array"},"orientations":{"description":"The set of available orientations.","items":{"$ref":"#/components/schemas/Orientation"},"type":"array"}},"type":"object"},"AndroidTestLoop":{"description":"A test of an Android Application with a Test Loop. The intent \\ will be implicitly added, since Games is the only user of this api, for the time being.","properties":{"appApk":{"$ref":"#/components/schemas/FileReference","description":"The APK for the application under test."},"appBundle":{"$ref":"#/components/schemas/AppBundle","description":"A multi-apk app bundle for the application under test."},"appPackageId":{"description":"The java package for the application under test. The default is determined by examining the application's manifest.","type":"string"},"scenarioLabels":{"description":"The list of scenario labels that should be run during the test. The scenario labels should map to labels defined in the application's manifest. For example, player_experience and com.google.test.loops.player_experience add all of the loops labeled in the manifest with the com.google.test.loops.player_experience name to the execution. Scenarios can also be specified in the scenarios field.","items":{"type":"string"},"type":"array"},"scenarios":{"description":"The list of scenarios that should be run during the test. The default is all test loops, derived from the application's manifest.","items":{"format":"int32","type":"integer"},"type":"array"}},"type":"object"},"AndroidVersion":{"description":"A version of the Android OS.","properties":{"apiLevel":{"description":"The API level for this Android version. Examples: 18, 19.","format":"int32","type":"integer"},"codeName":{"description":"The code name for this Android version. Examples: \"JellyBean\", \"KitKat\".","type":"string"},"distribution":{"$ref":"#/components/schemas/Distribution","description":"Market share for this version."},"id":{"description":"An opaque id for this Android version. Use this id to invoke the TestExecutionService.","type":"string"},"releaseDate":{"$ref":"#/components/schemas/Date","description":"The date this Android version became available in the market."},"tags":{"description":"Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".","items":{"type":"string"},"type":"array"},"versionString":{"description":"A string representing this version of the Android OS. Examples: \"4.3\", \"4.4\".","type":"string"}},"type":"object"},"Apk":{"description":"An Android package file to install.","properties":{"location":{"$ref":"#/components/schemas/FileReference","description":"The path to an APK to be installed on the device before the test begins."},"packageName":{"description":"The java package for the APK to be installed. Value is determined by examining the application's manifest.","type":"string"}},"type":"object"},"ApkDetail":{"description":"Android application details based on application manifest and archive contents.","properties":{"apkManifest":{"$ref":"#/components/schemas/ApkManifest"}},"type":"object"},"ApkManifest":{"description":"An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html","properties":{"applicationLabel":{"description":"User-readable name for the application.","type":"string"},"intentFilters":{"items":{"$ref":"#/components/schemas/IntentFilter"},"type":"array"},"maxSdkVersion":{"description":"Maximum API level on which the application is designed to run.","format":"int32","type":"integer"},"metadata":{"description":"Meta-data tags defined in the manifest.","items":{"$ref":"#/components/schemas/Metadata"},"type":"array"},"minSdkVersion":{"description":"Minimum API level required for the application to run.","format":"int32","type":"integer"},"packageName":{"description":"Full Java-style package name for this application, e.g. \"com.example.foo\".","type":"string"},"services":{"description":"Services contained in the tag.","items":{"$ref":"#/components/schemas/Service"},"type":"array"},"targetSdkVersion":{"description":"Specifies the API Level on which the application is designed to run.","format":"int32","type":"integer"},"usesFeature":{"description":"Feature usage tags defined in the manifest.","items":{"$ref":"#/components/schemas/UsesFeature"},"type":"array"},"usesPermission":{"description":"Permissions declared to be used by the application","items":{"type":"string"},"type":"array"},"versionCode":{"description":"Version number used internally by the app.","format":"int64","type":"string"},"versionName":{"description":"Version number shown to users.","type":"string"}},"type":"object"},"AppBundle":{"description":"An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. See https://developer.android.com/guide/app-bundle/build for guidance on building App Bundles.","properties":{"bundleLocation":{"$ref":"#/components/schemas/FileReference","description":".aab file representing the app bundle under test."}},"type":"object"},"CancelDeviceSessionRequest":{"description":"The request object for cancelling a Device Session.","properties":{},"type":"object"},"CancelTestMatrixResponse":{"description":"Response containing the current state of the specified test matrix.","properties":{"testState":{"description":"The current rolled-up state of the test matrix. If this state is already final, then the cancelation request will have no effect.","enum":["TEST_STATE_UNSPECIFIED","VALIDATING","PENDING","RUNNING","FINISHED","ERROR","UNSUPPORTED_ENVIRONMENT","INCOMPATIBLE_ENVIRONMENT","INCOMPATIBLE_ARCHITECTURE","CANCELLED","INVALID"],"type":"string"}},"type":"object"},"ClientInfo":{"description":"Information about the client which invoked the test.","properties":{"clientInfoDetails":{"description":"The list of detailed information about client.","items":{"$ref":"#/components/schemas/ClientInfoDetail"},"type":"array"},"name":{"description":"Required. Client name, such as gcloud.","type":"string"}},"type":"object"},"ClientInfoDetail":{"description":"Key-value pair of detailed information about the client which invoked the test. Examples: {'Version', '1.0'}, {'Release Track', 'BETA'}.","properties":{"key":{"description":"Required. The key of detailed client information.","type":"string"},"value":{"description":"Required. The value of detailed client information.","type":"string"}},"type":"object"},"Date":{"description":"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, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp","properties":{"day":{"description":"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't significant.","format":"int32","type":"integer"},"month":{"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","format":"int32","type":"integer"},"year":{"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","format":"int32","type":"integer"}},"type":"object"},"DeviceFile":{"description":"A single device file description.","properties":{"obbFile":{"$ref":"#/components/schemas/ObbFile","description":"A reference to an opaque binary blob file."},"regularFile":{"$ref":"#/components/schemas/RegularFile","description":"A reference to a regular file."}},"type":"object"},"DeviceIpBlock":{"description":"A single device IP block","properties":{"addedDate":{"$ref":"#/components/schemas/Date","description":"The date this block was added to Firebase Test Lab"},"block":{"description":"An IP address block in CIDR notation eg: 34.68.194.64/29","type":"string"},"form":{"description":"Whether this block is used by physical or virtual devices","enum":["DEVICE_FORM_UNSPECIFIED","VIRTUAL","PHYSICAL","EMULATOR"],"type":"string"}},"type":"object"},"DeviceIpBlockCatalog":{"description":"List of IP blocks used by the Firebase Test Lab","properties":{"ipBlocks":{"description":"The device IP blocks used by Firebase Test Lab","items":{"$ref":"#/components/schemas/DeviceIpBlock"},"type":"array"}},"type":"object"},"DeviceSession":{"description":"Protobuf message describing the device message, used from several RPCs.","properties":{"activeStartTime":{"description":"Output only. The timestamp that the session first became ACTIVE.","format":"google-datetime","readOnly":true,"type":"string"},"androidDevice":{"$ref":"#/components/schemas/AndroidDevice","description":"Required. The requested device"},"createTime":{"description":"Output only. The time that the Session was created.","format":"google-datetime","readOnly":true,"type":"string"},"displayName":{"description":"Output only. The title of the DeviceSession to be presented in the UI.","readOnly":true,"type":"string"},"expireTime":{"description":"Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.","format":"google-datetime","type":"string"},"inactivityTimeout":{"description":"Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.","format":"google-duration","readOnly":true,"type":"string"},"name":{"description":"Optional. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"","type":"string"},"state":{"description":"Output only. Current state of the DeviceSession.","enum":["SESSION_STATE_UNSPECIFIED","REQUESTED","PENDING","ACTIVE","EXPIRED","FINISHED","UNAVAILABLE","ERROR"],"readOnly":true,"type":"string"},"stateHistories":{"description":"Output only. The historical state transitions of the session_state message including the current session state.","items":{"$ref":"#/components/schemas/SessionStateEvent"},"readOnly":true,"type":"array"},"ttl":{"description":"Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes.","format":"google-duration","type":"string"}},"type":"object"},"DirectAccessVersionInfo":{"description":"Denotes whether Direct Access is supported, and by which client versions. DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer.android.com/studio/preview/android-device-streaming","properties":{"directAccessSupported":{"description":"Whether direct access is supported at all. Clients are expected to filter down the device list to only android models and versions which support Direct Access when that is the user intent.","type":"boolean"},"minimumAndroidStudioVersion":{"description":"Output only. Indicates client-device compatibility, where a device is known to work only with certain workarounds implemented in the Android Studio client. Expected format \"major.minor.micro.patch\", e.g. \"5921.22.2211.8881706\".","type":"string"}},"type":"object"},"Distribution":{"description":"Data about the relative number of devices running a given configuration of the Android platform.","properties":{"marketShare":{"description":"Output only. The estimated fraction (0-1) of the total market with this configuration.","format":"double","type":"number"},"measurementTime":{"description":"Output only. The time this distribution was measured.","format":"google-datetime","type":"string"}},"type":"object"},"Empty":{"description":"A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }","properties":{},"type":"object"},"Environment":{"description":"The environment in which the test is run.","properties":{"androidDevice":{"$ref":"#/components/schemas/AndroidDevice","description":"An Android device which must be used with an Android test."},"iosDevice":{"$ref":"#/components/schemas/IosDevice","description":"An iOS device which must be used with an iOS test."}},"type":"object"},"EnvironmentMatrix":{"description":"The matrix of environments in which the test is to be executed.","properties":{"androidDeviceList":{"$ref":"#/components/schemas/AndroidDeviceList","description":"A list of Android devices; the test will be run only on the specified devices."},"androidMatrix":{"$ref":"#/components/schemas/AndroidMatrix","description":"A matrix of Android devices."},"iosDeviceList":{"$ref":"#/components/schemas/IosDeviceList","description":"A list of iOS devices."}},"type":"object"},"EnvironmentVariable":{"description":"A key-value pair passed as an environment variable to the test.","properties":{"key":{"description":"Key for the environment variable.","type":"string"},"value":{"description":"Value for the environment variable.","type":"string"}},"type":"object"},"FileReference":{"description":"A reference to a file, used for user inputs.","properties":{"gcsPath":{"description":"A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)","type":"string"}},"type":"object"},"GetApkDetailsResponse":{"description":"Response containing the details of the specified Android application.","properties":{"apkDetail":{"$ref":"#/components/schemas/ApkDetail","description":"Details of the Android App."}},"type":"object"},"GoogleAuto":{"description":"Enables automatic Google account login. If set, the service automatically generates a Google test account and adds it to the device, before executing the test. Note that test accounts might be reused. Many applications show their full set of functionalities when an account is present on the device. Logging into the device with these generated accounts allows testing more functionalities.","properties":{},"type":"object"},"GoogleCloudStorage":{"description":"A storage location within Google cloud storage (GCS).","properties":{"gcsPath":{"description":"Required. The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path.","type":"string"}},"type":"object"},"IntentFilter":{"description":"The section of an tag. https://developer.android.com/guide/topics/manifest/intent-filter-element.html","properties":{"actionNames":{"description":"The android:name value of the tag.","items":{"type":"string"},"type":"array"},"categoryNames":{"description":"The android:name value of the tag.","items":{"type":"string"},"type":"array"},"mimeType":{"description":"The android:mimeType value of the tag.","type":"string"}},"type":"object"},"IosDevice":{"description":"A single iOS device.","properties":{"iosModelId":{"description":"Required. The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"iosVersionId":{"description":"Required. The id of the iOS major software version to be used. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"locale":{"description":"Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"},"orientation":{"description":"Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options.","type":"string"}},"type":"object"},"IosDeviceCatalog":{"description":"The currently supported iOS devices.","properties":{"models":{"description":"The set of supported iOS device models.","items":{"$ref":"#/components/schemas/IosModel"},"type":"array"},"runtimeConfiguration":{"$ref":"#/components/schemas/IosRuntimeConfiguration","description":"The set of supported runtime configurations."},"versions":{"description":"The set of supported iOS software versions.","items":{"$ref":"#/components/schemas/IosVersion"},"type":"array"},"xcodeVersions":{"description":"The set of supported Xcode versions.","items":{"$ref":"#/components/schemas/XcodeVersion"},"type":"array"}},"type":"object"},"IosDeviceFile":{"description":"A file or directory to install on the device before the test starts.","properties":{"bundleId":{"description":"The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device.","type":"string"},"content":{"$ref":"#/components/schemas/FileReference","description":"The source file"},"devicePath":{"description":"Location of the file on the device, inside the app's sandboxed filesystem","type":"string"}},"type":"object"},"IosDeviceList":{"description":"A list of iOS device configurations in which the test is to be executed.","properties":{"iosDevices":{"description":"Required. A list of iOS devices.","items":{"$ref":"#/components/schemas/IosDevice"},"type":"array"}},"type":"object"},"IosModel":{"description":"A description of an iOS device tests may be run on.","properties":{"deviceCapabilities":{"description":"Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html","items":{"type":"string"},"type":"array"},"formFactor":{"description":"Whether this device is a phone, tablet, wearable, etc.","enum":["DEVICE_FORM_FACTOR_UNSPECIFIED","PHONE","TABLET","WEARABLE"],"type":"string"},"id":{"description":"The unique opaque id for this model. Use this for invoking the TestExecutionService.","type":"string"},"name":{"description":"The human-readable name for this device model. Examples: \"iPhone 4s\", \"iPad Mini 2\".","type":"string"},"perVersionInfo":{"description":"Version-specific information of an iOS model.","items":{"$ref":"#/components/schemas/PerIosVersionInfo"},"type":"array"},"screenDensity":{"description":"Screen density in DPI.","format":"int32","type":"integer"},"screenX":{"description":"Screen size in the horizontal (X) dimension measured in pixels.","format":"int32","type":"integer"},"screenY":{"description":"Screen size in the vertical (Y) dimension measured in pixels.","format":"int32","type":"integer"},"supportedVersionIds":{"description":"The set of iOS major software versions this device supports.","items":{"type":"string"},"type":"array"},"tags":{"description":"Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".","items":{"type":"string"},"type":"array"}},"type":"object"},"IosRoboTest":{"description":"A test that explores an iOS application on an iOS device.","properties":{"appBundleId":{"description":"The bundle ID for the app-under-test. This is determined by examining the application's \"Info.plist\" file.","type":"string"},"appIpa":{"$ref":"#/components/schemas/FileReference","description":"Required. The ipa stored at this file should be used to run the test."},"roboScript":{"$ref":"#/components/schemas/FileReference","description":"An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts."}},"type":"object"},"IosRuntimeConfiguration":{"description":"iOS configuration that can be selected at the time a test is run.","properties":{"locales":{"description":"The set of available locales.","items":{"$ref":"#/components/schemas/Locale"},"type":"array"},"orientations":{"description":"The set of available orientations.","items":{"$ref":"#/components/schemas/Orientation"},"type":"array"}},"type":"object"},"IosTestLoop":{"description":"A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially.","properties":{"appBundleId":{"description":"Output only. The bundle id for the application under test.","type":"string"},"appIpa":{"$ref":"#/components/schemas/FileReference","description":"Required. The .ipa of the application to test."},"scenarios":{"description":"The list of scenarios that should be run during the test. Defaults to the single scenario 0 if unspecified.","items":{"format":"int32","type":"integer"},"type":"array"}},"type":"object"},"IosTestSetup":{"description":"A description of how to set up an iOS device prior to running the test.","properties":{"additionalIpas":{"description":"iOS apps to install in addition to those being directly tested.","items":{"$ref":"#/components/schemas/FileReference"},"type":"array"},"networkProfile":{"description":"The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.","type":"string"},"pullDirectories":{"description":"List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (such as /private/var/mobile/Media) or within an accessible directory inside the app's filesystem (such as /Documents) by specifying the bundle ID.","items":{"$ref":"#/components/schemas/IosDeviceFile"},"type":"array"},"pushFiles":{"description":"List of files to push to the device before start