Class 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.
Implements
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class AndroidInstallPackagesDeviceAction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Installables
Optional. Deprecated: use pre_target_app_installables, target_app and post_target_app_installables
instead. The Android packages to install on the device. The installation will be performed in the order
specified, before the installables of all other fields.
Declaration
[JsonProperty("installables")]
public virtual IList<AndroidInstallable> Installables { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AndroidInstallable> |
PostTargetAppInstallables
Optional. The Android packages to install on the device after target_app (if specified) is installed. The
installation will be performed in the order specified.
Declaration
[JsonProperty("postTargetAppInstallables")]
public virtual IList<AndroidInstallable> PostTargetAppInstallables { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AndroidInstallable> |
PreTargetAppInstallables
Optional. The Android packages to install on the device before target_app (if specified) is installed. The
installation will be performed in the order specified.
Declaration
[JsonProperty("preTargetAppInstallables")]
public virtual IList<AndroidInstallable> PreTargetAppInstallables { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AndroidInstallable> |
TargetApp
Optional. The primary Android package to install, serving as the target package for subsequent actions and
as the installation ordering anchor. Whether this package is treated as the application under test depends
on the job action: - Actions that require an explicit target package (such as performance metrics
collection, or accessibility scans) use this package to identify the application to inspect or drive. -
Actions that discover or manage targets independently (such as Android instrumentation tests, where target
packages are defined in the test runner manifest) treat this field primarily as an installation order anchor
between pre- and post-installables. Optional. If omitted, all packages in pre_target_app_installables and
post_target_app_installables are installed without a designated target package.
Declaration
[JsonProperty("targetApp")]
public virtual AndroidInstallable TargetApp { get; set; }
Property Value
| Type | Description |
|---|---|
| AndroidInstallable |