Namespace Google.Apis.DeviceRun.v1alpha.Data
Classes
AllocationConfig
Allocation config.
AndroidBugreportDeviceAction
Captures a bugreport from the device. The output will be written to a file named bugreport.zip in the
execution output directory.
AndroidDumpsysDeviceAction
Captures dumpsys output from the device. The output will be written to a file named dumpsys.log in the
execution output directory.
AndroidInstallPackagesDeviceAction
Installs Android packages on the device. At least one installable is specified when using this device action. Limits: - A maximum of 20 installables in total are allowed. - A maximum of 100 files are allowed in total across all installables.
AndroidInstallable
An Android Installable represents the file(s) for installing an Android package on a device. This can be an APK, an Android App Bundle (AAB), or an APK Set.
AndroidInstrumentationTest
The configuration of an Android instrumentation test. See https://developer.android.com/training/testing/instrumented-tests for more information on Android instrumentation tests.
AndroidInstrumentationTestSmartSharding
The smart sharding strategy to split the job into multiple shards based on the test methods and their recorded execution time.
AndroidInstrumentationTestUniformSharding
Uniformly shards test cases given a total number of shards. It will be translated to -e numShard and -e shardIndex AndroidJUnitRunner arguments. With uniform sharding enabled, specifying either of these sharding
arguments via environment_variables is invalid. Based on the sharding mechanism AndroidJUnitRunner uses, there
is no guarantee that test cases will be distributed uniformly across all shards.
AndroidLogcatDeviceAction
Collects logcat output from the device. The output will be written to a file named logcat.txt in the execution
output directory.
AndroidMockLocationDeviceAction
Mocks the location of the Android device.
AndroidNativeBinary
The configuration of an Android native binary execution.
AndroidOrientationDeviceAction
Sets the orientation of the device.
AndroidPullFilesDeviceAction
Pulls directories and files from the device at the end of the run. Files will be copied to the '/artifacts' directory, with the absolute path structure preserved. Note that: 1. A clean device is provided for the run. 2. Any existing files in the output directory may be overwritten. 3. Pulling files is best effort. Will skip files if they don't exist on the device.
AndroidPushFilesDeviceAction
Pushes files to the device at the beginning of the run. Files are overwritten if a file with the same path already exists on the device, if device permissions allow.
AndroidPushFilesDeviceActionFileConfig
The configuration of pushing a file to the device.
AndroidRecordVideoDeviceAction
Records a video of the device screen during the run. The video will be written to a file named video.mp4 in
the execution output directory.
AndroidSwitchLocaleDeviceAction
Switches the locale (language and region) of the device.
BatchGetSessionsResponse
Response including the requested sessions.
CancelSessionRequest
Request to cancel a session.
CancelSessionResponse
Response of the cancel session request.
CatalogAndroidDeviceDetails
Android-specific device attributes.
CatalogAndroidxTestOrchestratorDetails
AndroidX Test Orchestrator-specific attributes. Reserved for future orchestrator-only fields.
CatalogAutomationSupport
Per-product metadata for the Automation (DeviceRun) product.
CatalogDevice
A single routable device configuration in the catalog.
CatalogDeviceAvailability
Fleet availability for a device configuration.
CatalogDeviceStreamingSupport
Per-product metadata for the DeviceStreaming product.
CatalogIosDeviceDetails
iOS-specific device attributes. Reserved for future iOS-only fields.
CatalogLabInfo
The lab hosting a device.
CatalogLifecycle
Catalog resource lifecycle: maturity state plus key lifecycle dates.
CatalogListDevicesResponse
Response including listed devices.
CatalogListSoftwareVersionsResponse
Response including listed software versions.
CatalogScreenMetrics
Screen measurements of a device.
CatalogSoftwareVersion
A single software version in the catalog.
CatalogSupportedProduct
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.
CatalogXcodeDetails
Xcode-specific attributes.
Date
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
DeviceAction
The action to be performed on a device.
DeviceConfig
The configuration of a run on a device.
DeviceRequirement
The requirement of a device.
Empty
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); }
ExecutionReport
The runtime information and result report of a single on-device execution attempt.
GcsPath
A path to a file or directory in Google Cloud Storage.
GoogleLongrunningCancelOperationRequest
The request message for Operations.CancelOperation.
GoogleLongrunningListOperationsResponse
The response message for Operations.ListOperations.
GoogleLongrunningOperation
This resource represents a long-running operation that is the result of a network API call.
GoogleRpcStatus
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. 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.
InputFile
Input file.
IosAppPrivacyReportDeviceAction
Collects the exported iOS App Privacy Report during the test run. When enabled, the iOS device records
application activity (such as network access, domain requests, and sensitive resource access like photos,
camera, or location) and exports Apple's official App Privacy Report. The report will be written to a file named
AppActivityReport.ndjson in the execution output directory.
IosInstallPackagesDeviceAction
Installs iOS packages on the device.
IosPullFilesDeviceAction
Pulls directories and files from the iOS device sandbox at the end of the run.
IosPullFilesDeviceActionPathConfig
The configuration of pulling a file or directory from the iOS device.
IosPushFilesDeviceAction
Pushes files to the iOS device sandbox at the beginning of the run.
IosPushFilesDeviceActionFileConfig
The configuration of pushing a file to the iOS device.
IosRecordVideoDeviceAction
Records videos of the iOS device screen, one per UI test case. Each video covers only the execution of its test
case, and will be written to testcases/{test_class}/{test_method}/video.mp4 in the execution output directory.
No video is recorded for unit tests, or on devices running a version earlier than iOS 17.
IosSwitchLocaleDeviceAction
Switches the locale (language and region) of the iOS application.
IosXcTest
The configuration of an iOS XCTest.
IssueSummary
Describes the summary of an issue (error or warning) with structured details.
JobAction
The action to be performed in a job.
JobConfig
The configuration of a job.
JobReport
The runtime information and result report of a job.
JobSettings
Job settings to control the job execution.
LatLng
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
ListLocationsResponse
The response message for Locations.ListLocations.
ListSessionsResponse
Response including listed sessions.
Location
A resource that represents a Google Cloud location.
OperationMetadata
Represents the metadata of the long-running operation.
OutputFile
Output file.
Result
The result of a session/job/execution.
ResultCause
Describes the cause of the non-passed result occurred during the execution.
RetrySettings
Retry settings.
RetrySettingsFlakyTestRetryStrategy
Default retry strategy. It will retry on test failures for up to flaky_test_attempts (including the initial run). It also retries on infra issues for up to 2 attempts (including the initial run). So in total, an execution can run up to flaky_test_attempts * 2 times in the worst case.
Session
A session resource in the AutomationSession API. At a high level, Session describes the configuration of one
or multiple jobs, the state transitions it goes through, and the results.
SessionConfig
SessionConfig is used to create a session.
SessionConfigSessionNotificationConfig
Config to control session notification.
SessionConfigSessionOutputFileDirectoryConfig
Config to control session output file directory.
SessionReport
The runtime information and result report of a session.
Status
The status of a session/job/execution.
Warning
Non-fatal operational anomaly, lint observation, or execution insight.