Class DeviceAction
The action to be performed on a device.
Implements
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class DeviceAction : IDirectResponseSchema
Properties
AndroidBugreport
Captures a bugreport from the device unless the test result is pass.
Declaration
[JsonProperty("androidBugreport")]
public virtual AndroidBugreportDeviceAction AndroidBugreport { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidBugreportDeviceAction |
AndroidDumpsys
Captures a dumpsys from the device.
Declaration
[JsonProperty("androidDumpsys")]
public virtual AndroidDumpsysDeviceAction AndroidDumpsys { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidDumpsysDeviceAction |
AndroidInstallPackages
Installs Android packages on the device.
Declaration
[JsonProperty("androidInstallPackages")]
public virtual AndroidInstallPackagesDeviceAction AndroidInstallPackages { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidInstallPackagesDeviceAction |
AndroidLogcat
Collects logcat output from the device.
Declaration
[JsonProperty("androidLogcat")]
public virtual AndroidLogcatDeviceAction AndroidLogcat { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidLogcatDeviceAction |
AndroidMockLocation
Mocks the location of the device.
Declaration
[JsonProperty("androidMockLocation")]
public virtual AndroidMockLocationDeviceAction AndroidMockLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidMockLocationDeviceAction |
AndroidOrientation
Sets the orientation of the device.
Declaration
[JsonProperty("androidOrientation")]
public virtual AndroidOrientationDeviceAction AndroidOrientation { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidOrientationDeviceAction |
AndroidPullFiles
Pulls directories and files from the device at the end of the run.
Declaration
[JsonProperty("androidPullFiles")]
public virtual AndroidPullFilesDeviceAction AndroidPullFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidPullFilesDeviceAction |
AndroidPushFiles
Pushes files to the device at the beginning of the run.
Declaration
[JsonProperty("androidPushFiles")]
public virtual AndroidPushFilesDeviceAction AndroidPushFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidPushFilesDeviceAction |
AndroidRecordVideo
Records a video of the device screen during the run.
Declaration
[JsonProperty("androidRecordVideo")]
public virtual AndroidRecordVideoDeviceAction AndroidRecordVideo { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidRecordVideoDeviceAction |
AndroidSwitchLocale
Switches the locale (language and region) of the device.
Declaration
[JsonProperty("androidSwitchLocale")]
public virtual AndroidSwitchLocaleDeviceAction AndroidSwitchLocale { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidSwitchLocaleDeviceAction |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IosAppPrivacyReport
Collects the exported iOS App Privacy Report during the run.
Declaration
[JsonProperty("iosAppPrivacyReport")]
public virtual IosAppPrivacyReportDeviceAction IosAppPrivacyReport { get; set; }
Property Value
| Type | Description |
|---|---|
| IosAppPrivacyReportDeviceAction |
IosInstallPackages
Installs additional iOS packages on the device.
Declaration
[JsonProperty("iosInstallPackages")]
public virtual IosInstallPackagesDeviceAction IosInstallPackages { get; set; }
Property Value
| Type | Description |
|---|---|
| IosInstallPackagesDeviceAction |
IosPullFiles
Pulls directories and files from the iOS device sandbox at the end of the run.
Declaration
[JsonProperty("iosPullFiles")]
public virtual IosPullFilesDeviceAction IosPullFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| IosPullFilesDeviceAction |
IosPushFiles
Pushes files to the iOS device sandbox at the beginning of the run.
Declaration
[JsonProperty("iosPushFiles")]
public virtual IosPushFilesDeviceAction IosPushFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| IosPushFilesDeviceAction |
IosRecordVideo
Records videos of the iOS device screen, one per UI test case.
Declaration
[JsonProperty("iosRecordVideo")]
public virtual IosRecordVideoDeviceAction IosRecordVideo { get; set; }
Property Value
| Type | Description |
|---|---|
| IosRecordVideoDeviceAction |
IosSwitchLocale
Switches the locale (language and region) of the iOS application.
Declaration
[JsonProperty("iosSwitchLocale")]
public virtual IosSwitchLocaleDeviceAction IosSwitchLocale { get; set; }
Property Value
| Type | Description |
|---|---|
| IosSwitchLocaleDeviceAction |