blob: 26e98af6ed776aa8b78eee8b85b6b5e233681c33 [file] [edit]
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
}
}
}
},
"basePath": "",
"baseUrl": "https://devicerun.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Device Run",
"description": "The Device Run API allows management, scheduling, and execution of automated sessions and workloads across device catalogs.",
"discoveryVersion": "v1",
"documentationLink": "https://docs.cloud.google.com/developer-device-platform/device-run",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "devicerun:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://devicerun.mtls.googleapis.com/",
"name": "devicerun",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"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.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"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.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
"locations": {
"methods": {
"get": {
"description": "Gets information about a location.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
"httpMethod": "GET",
"id": "devicerun.projects.locations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Resource name for the location.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Location"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.",
"flatPath": "v1/projects/{projectsId}/locations",
"httpMethod": "GET",
"id": "devicerun.projects.locations.list",
"parameterOrder": [
"name"
],
"parameters": {
"extraLocationTypes": {
"description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
"location": "query",
"repeated": true,
"type": "string"
},
"filter": {
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
"name": {
"description": "The resource that owns the locations collection, if applicable.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/locations",
"response": {
"$ref": "ListLocationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"devices": {
"methods": {
"get": {
"description": "Returns information about a specific device.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/devices/{devicesId}",
"httpMethod": "GET",
"id": "devicerun.projects.locations.devices.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/devices/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "CatalogDevice"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all devices.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/devices",
"httpMethod": "GET",
"id": "devicerun.projects.locations.devices.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which devices are returned. An empty filter returns all devices. Filtering is supported over the `Device` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `platform = \"ANDROID\"` * `platform = \"ANDROID\" AND os_version = \"34\"` * `hardware_type = \"PHYSICAL\" AND form_factor = \"PHONE\"` * `android_details.build_type = \"userdebug\"` * `availability.capacity = \"HIGH\"`",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of devices to return. The server may return fewer items than this value.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A page token, received from a previous `ListDevices` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/devices",
"response": {
"$ref": "CatalogListDevicesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "devicerun.projects.locations.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "GoogleLongrunningCancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
"httpMethod": "DELETE",
"id": "devicerun.projects.locations.operations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be deleted.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "devicerun.projects.locations.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "devicerun.projects.locations.operations.list",
"parameterOrder": [
"name"
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name of the operation's parent resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"location": "query",
"type": "string"
},
"returnPartialSuccess": {
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
"location": "query",
"type": "boolean"
}
},
"path": "v1/{+name}/operations",
"response": {
"$ref": "GoogleLongrunningListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"softwareVersions": {
"methods": {
"get": {
"description": "Returns information about a specific software version.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/softwareVersions/{softwareVersionsId}",
"httpMethod": "GET",
"id": "devicerun.projects.locations.softwareVersions.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the software version. Format: `projects/{project}/locations/global/softwareVersions/{software_version}`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/softwareVersions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "CatalogSoftwareVersion"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all software versions.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/softwareVersions",
"httpMethod": "GET",
"id": "devicerun.projects.locations.softwareVersions.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which software versions are returned. An empty filter returns all software versions. Filtering is supported over the `SoftwareVersion` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\"` * `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\" AND is_default = true` * `lifecycle.state = \"ACTIVE\"` * `version = \"1.4.1\"`",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. The maximum number of software versions to return. The server may return fewer items than this value.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListSoftwareVersions` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent of the collection of software versions. Format: `projects/{project}/locations/global`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/softwareVersions",
"response": {
"$ref": "CatalogListSoftwareVersionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20261028",
"rootUrl": "https://devicerun.googleapis.com/",
"schemas": {
"CatalogAndroidDeviceDetails": {
"description": "Android-specific device attributes.",
"id": "CatalogAndroidDeviceDetails",
"properties": {
"buildType": {
"description": "Output only. Mirrors the AOSP `ro.build.type` property, e.g. \"user\", \"userdebug\", \"eng\". Empty if unknown.",
"readOnly": true,
"type": "string"
},
"supportedAbis": {
"description": "Output only. Lists ABIs supported by the device (android.os.Build.SUPPORTED_ABIS), most preferred first, e.g. \"arm64-v8a\".",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"CatalogAndroidxTestOrchestratorDetails": {
"description": "AndroidX Test Orchestrator-specific attributes. Reserved for future orchestrator-only fields.",
"id": "CatalogAndroidxTestOrchestratorDetails",
"properties": {},
"type": "object"
},
"CatalogAutomationSupport": {
"description": "Per-product metadata for the Automation (DeviceRun) product.",
"id": "CatalogAutomationSupport",
"properties": {},
"type": "object"
},
"CatalogDevice": {
"description": "A single routable device configuration in the catalog.",
"id": "CatalogDevice",
"properties": {
"accessDeniedReasons": {
"description": "Output only. Reasons for access denial. This model is accessible/usable if this list is empty, otherwise the model is viewable only.",
"items": {
"enum": [
"ACCESS_DENIED_REASON_UNSPECIFIED",
"EULA_NOT_ACCEPTED"
],
"enumDescriptions": [
"Reason not specified.",
"The device is hosted in a partner lab whose end user license agreement the project has not accepted."
],
"type": "string"
},
"readOnly": true,
"type": "array"
},
"androidDetails": {
"$ref": "CatalogAndroidDeviceDetails",
"description": "Output only. Contains Android-specific attributes (set when platform == ANDROID).",
"readOnly": true
},
"availability": {
"$ref": "CatalogDeviceAvailability",
"description": "Output only. Reports the current fleet availability for this device configuration.",
"readOnly": true
},
"displayName": {
"description": "Output only. Provides a human-readable display name, e.g. \"Pixel 5\".",
"readOnly": true,
"type": "string"
},
"formFactor": {
"description": "Output only. Specifies the form factor of the device.",
"enum": [
"FORM_FACTOR_UNSPECIFIED",
"PHONE",
"TABLET",
"WEARABLE",
"TV"
],
"enumDescriptions": [
"Form factor not specified.",
"Phone.",
"Tablet.",
"Wearable (e.g. watch).",
"TV."
],
"readOnly": true,
"type": "string"
},
"hardwareType": {
"description": "Output only. Indicates whether the device is physical or virtual.",
"enum": [
"HARDWARE_TYPE_UNSPECIFIED",
"PHYSICAL",
"VIRTUAL"
],
"enumDescriptions": [
"Hardware type not specified.",
"Physical hardware device.",
"Virtual device (emulator / simulator)."
],
"readOnly": true,
"type": "string"
},
"iosDetails": {
"$ref": "CatalogIosDeviceDetails",
"description": "Output only. Contains iOS-specific attributes (set when platform == IOS).",
"readOnly": true
},
"labInfo": {
"$ref": "CatalogLabInfo",
"description": "Output only. The lab hosting this device.",
"readOnly": true
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Output only. Additional information. Informational only. May change over the lifecycle of a device.",
"readOnly": true,
"type": "object"
},
"lifecycle": {
"$ref": "CatalogLifecycle",
"description": "Output only. The device lifecycle (maturity stage and removal date).",
"readOnly": true
},
"manufacturer": {
"description": "Output only. Specifies the hardware manufacturer of the device.",
"readOnly": true,
"type": "string"
},
"modelCode": {
"description": "Output only. Provides a human-readable model identifier for this device, independent of OS version. May be empty. Platform-dependent: * Android physical: hardware codename (android.os.Build.DEVICE), e.g. \"shiba\". * Android virtual: AVD model identifier, e.g. \"MediumPhone.arm\". * iOS: model identifier, e.g. \"iphone14pro\".",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Identifier. Identifies the device resource. Format: `projects/{project}/locations/{location}/devices/{device}`. The {device} segment is an opaque, stable string. Clients must not parse it to derive or assume device-specific details.",
"type": "string"
},
"osVersion": {
"description": "Output only. Specifies the OS version, e.g. \"30\" (Android API level) or \"17.4\" (iOS).",
"readOnly": true,
"type": "string"
},
"platform": {
"description": "Output only. Specifies the platform of the device.",
"enum": [
"PLATFORM_UNSPECIFIED",
"ANDROID",
"IOS"
],
"enumDescriptions": [
"Platform not specified.",
"Android.",
"iOS."
],
"readOnly": true,
"type": "string"
},
"primaryScreen": {
"$ref": "CatalogScreenMetrics",
"description": "Output only. Measurements of the primary device screen. Informational only. Unset for devices without a screen (e.g. some wearables).",
"readOnly": true
},
"supportedProducts": {
"description": "Output only. Products/Services supported by this device.",
"items": {
"$ref": "CatalogSupportedProduct"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"CatalogDeviceAvailability": {
"description": "Fleet availability for a device configuration.",
"id": "CatalogDeviceAvailability",
"properties": {
"available": {
"description": "Output only. Specifies the current availability bucket (idle, immediately allocatable devices) for this device configuration. This is a best-effort snapshot, refreshed periodically. It fluctuates depending on traffic as other requests allocate devices.",
"enum": [
"AVAILABILITY_UNSPECIFIED",
"AVAILABILITY_NONE",
"AVAILABILITY_LOW",
"AVAILABILITY_MEDIUM",
"AVAILABILITY_HIGH"
],
"enumDescriptions": [
"The value of availability is unknown or unset.",
"No devices of this configuration are currently idle. A request can still be made, but it will queue until a device frees up. Expect longer wait times, and avoid requesting many devices at once (e.g. high shard counts).",
"A small number of devices are currently idle. Suitable for a few concurrent requests. Larger bursts (e.g. many shards) may queue until devices free up.",
"A moderate number of devices are currently idle. Suitable for a moderate number of concurrent requests. Very large bursts may still queue.",
"Many devices are currently idle. Suitable for a large number of concurrent requests with little to no queueing at the moment of observation."
],
"readOnly": true,
"type": "string"
},
"capacity": {
"description": "Output only. Specifies the current capacity bucket for this device configuration. Represents the total number of online devices (idle or in use).",
"enum": [
"CAPACITY_UNSPECIFIED",
"CAPACITY_NONE",
"CAPACITY_LOW",
"CAPACITY_MEDIUM",
"CAPACITY_HIGH"
],
"enumDescriptions": [
"The value of device capacity is unknown or unset.",
"No online devices of this configuration. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent.",
"Devices that are low in capacity (the lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.",
"Devices that are medium in capacity (the lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).",
"Devices that are high in capacity (the lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment). 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CatalogDeviceStreamingSupport": {
"description": "Per-product metadata for the DeviceStreaming product.",
"id": "CatalogDeviceStreamingSupport",
"properties": {
"minimumAndroidStudioVersion": {
"description": "Output only. Specifies the minimum Android Studio version that supports this device. Optional; only set when the device is known to work only at or above a certain Android Studio version. Expected format \"major.minor.micro.patch\", e.g. \"5921.22.2211.8881706\".",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CatalogIosDeviceDetails": {
"description": "iOS-specific device attributes. Reserved for future iOS-only fields.",
"id": "CatalogIosDeviceDetails",
"properties": {},
"type": "object"
},
"CatalogLabInfo": {
"description": "The lab hosting a device.",
"id": "CatalogLabInfo",
"properties": {
"displayName": {
"description": "Output only. Display name of the lab where the device is hosted. If empty, the device is hosted in a Google owned lab.",
"readOnly": true,
"type": "string"
},
"regionCode": {
"description": "Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. \"US\" for United States, \"KR\" for South Korea. Empty when the hosting region is not published.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CatalogLifecycle": {
"description": "Catalog resource lifecycle: maturity state plus key lifecycle dates.",
"id": "CatalogLifecycle",
"properties": {
"removalDate": {
"$ref": "Date",
"description": "Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.",
"readOnly": true
},
"state": {
"description": "Output only. Specifies the current maturity state of the resource.",
"enum": [
"STATE_UNSPECIFIED",
"PREVIEW",
"ACTIVE",
"DEPRECATED"
],
"enumDescriptions": [
"State not specified.",
"Early access. This resource may have reduced stability and availability.",
"Generally available.",
"Still usable, but scheduled for removal."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CatalogListDevicesResponse": {
"description": "Response including listed devices.",
"id": "CatalogListDevicesResponse",
"properties": {
"devices": {
"description": "The list of devices.",
"items": {
"$ref": "CatalogDevice"
},
"type": "array"
},
"nextPageToken": {
"description": "Token to receive the next page of devices. This will be absent if the end of the response list has been reached.",
"type": "string"
}
},
"type": "object"
},
"CatalogListSoftwareVersionsResponse": {
"description": "Response including listed software versions.",
"id": "CatalogListSoftwareVersionsResponse",
"properties": {
"nextPageToken": {
"description": "Token to receive the next page of software versions. This will be absent if the end of the response list has been reached.",
"type": "string"
},
"softwareVersions": {
"description": "The list of software versions.",
"items": {
"$ref": "CatalogSoftwareVersion"
},
"type": "array"
}
},
"type": "object"
},
"CatalogScreenMetrics": {
"description": "Screen measurements of a device.",
"id": "CatalogScreenMetrics",
"properties": {
"densityDpi": {
"description": "Output only. Pixel density in dots per inch (dpi).",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"heightPx": {
"description": "Output only. Height in pixels.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"widthPx": {
"description": "Output only. Width in pixels.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"CatalogSoftwareVersion": {
"description": "A single software version in the catalog.",
"id": "CatalogSoftwareVersion",
"properties": {
"androidxTestOrchestratorDetails": {
"$ref": "CatalogAndroidxTestOrchestratorDetails",
"description": "Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == ANDROIDX_TEST_ORCHESTRATOR).",
"readOnly": true
},
"displayName": {
"description": "Output only. Provides a human-readable name for this version, e.g. \"AndroidX Test Orchestrator 1.4.1\".",
"readOnly": true,
"type": "string"
},
"isDefault": {
"description": "Output only. Indicates whether the system uses this version when a request does not select one explicitly. Exactly one version per `software_type` is the default, and it may change over time.",
"readOnly": true,
"type": "boolean"
},
"lifecycle": {
"$ref": "CatalogLifecycle",
"description": "Output only. The version lifecycle (maturity stage and removal date).",
"readOnly": true
},
"name": {
"description": "Identifier. Identifies the software version resource. Format: `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The {software_version} segment is an opaque, stable string. Clients must not parse it to derive or assume the version.",
"type": "string"
},
"softwareType": {
"description": "Output only. Specifies which software this is a version of. Filter on this field to narrow the collection to a single kind of software, for example `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\"`.",
"enum": [
"SOFTWARE_TYPE_UNSPECIFIED",
"ANDROIDX_TEST_ORCHESTRATOR",
"XCODE"
],
"enumDescriptions": [
"Software type not specified.",
"AndroidX Test Orchestrator, which runs each Android instrumentation test case in its own process.",
"Apple Xcode, the toolchain that builds and runs iOS XCTests."
],
"readOnly": true,
"type": "string"
},
"version": {
"description": "Output only. Specifies the version identifier, e.g. \"1.4.1\". Unique within a `software_type`.",
"readOnly": true,
"type": "string"
},
"xcodeDetails": {
"$ref": "CatalogXcodeDetails",
"description": "Output only. Contains Xcode-specific attributes (set when software_type == XCODE).",
"readOnly": true
}
},
"type": "object"
},
"CatalogSupportedProduct": {
"description": "Declares that a device supports a given Device Cloud product, with optional per-product metadata. Discriminated by which product-specific message is set; adding a new product = new oneof arm + new per-product message.",
"id": "CatalogSupportedProduct",
"properties": {
"automation": {
"$ref": "CatalogAutomationSupport",
"description": "Output only. Represents Automation, which is DeviceRun-backed automated test execution.",
"readOnly": true
},
"deviceStreaming": {
"$ref": "CatalogDeviceStreamingSupport",
"description": "Output only. Represents DeviceStreaming, which is interactive remote device streaming.",
"readOnly": true
}
},
"type": "object"
},
"CatalogXcodeDetails": {
"description": "Xcode-specific attributes.",
"id": "CatalogXcodeDetails",
"properties": {
"supportedIosVersions": {
"description": "Output only. Lists the iOS versions this Xcode can run tests against, e.g. \"16.6\". This is a property of the toolchain, so it says nothing about whether a device on that iOS version is available; list the `Device` collection to find out.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"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",
"id": "Date",
"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"
},
"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); }",
"id": "Empty",
"properties": {},
"type": "object"
},
"GoogleLongrunningCancelOperationRequest": {
"description": "The request message for Operations.CancelOperation.",
"id": "GoogleLongrunningCancelOperationRequest",
"properties": {},
"type": "object"
},
"GoogleLongrunningListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "GoogleLongrunningListOperationsResponse",
"properties": {
"nextPageToken": {
"description": "The standard List next-page token.",
"type": "string"
},
"operations": {
"description": "A list of operations that matches the specified filter in the request.",
"items": {
"$ref": "GoogleLongrunningOperation"
},
"type": "array"
},
"unreachable": {
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleLongrunningOperation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "GoogleLongrunningOperation",
"properties": {
"done": {
"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
"type": "boolean"
},
"error": {
"$ref": "GoogleRpcStatus",
"description": "The error result of the operation in case of failure or cancellation."
},
"metadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
"type": "object"
},
"name": {
"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"type": "string"
},
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
"type": "object"
},
"GoogleRpcStatus": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "GoogleRpcStatus",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
"type": "object"
},
"ListLocationsResponse": {
"description": "The response message for Locations.ListLocations.",
"id": "ListLocationsResponse",
"properties": {
"locations": {
"description": "A list of locations that matches the specified filter in the request.",
"items": {
"$ref": "Location"
},
"type": "array"
},
"nextPageToken": {
"description": "The standard List next-page token.",
"type": "string"
}
},
"type": "object"
},
"Location": {
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
"type": "object"
},
"locationId": {
"description": "The canonical id for this location. For example: `\"us-east1\"`.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata. For example the available capacity at the given location.",
"type": "object"
},
"name": {
"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Device Run API",
"version": "v1",
"version_module": true
}