Resource: PackageConfig
A package config.
JSON representation |
---|
{
"packageName": string,
"downloadOptions": {
object ( |
Fields | |
---|---|
packageName |
The name of the package. |
downloadOptions |
Download options for package. |
zeroCostApnCapability |
If set, this will be the capability used to select the APN of the cellular network for downloading the update on a metered network. If not, no special APN will be selected for download. Note that Google Play Services must hold the correct system permissions to select this APN, and the carrier generally has to make sure traffic is whitelisted. For this reason, this option is typically coupled with the |
DownloadOptions
The OTA downloadType
. For CUSTOM
type, a customDownloadUrl
must also be provided.
JSON representation |
---|
{
"downloadType": enum ( |
Fields | |
---|---|
downloadType |
Download type to serve the OTA file through Google. |
customDownloadUrl |
Download URL to serve the OTA file through non-Google servers. Must be provided only with |
currentDownloadUrl |
Output only. The current URL that devices use to download the package. This value will match |
DownloadType
The type of download for OTA packages.
Enums | |
---|---|
DOWNLOAD_TYPE_UNSPECIFIED |
Not specified. |
NORMAL |
Through Google servers. |
ZERO_COST |
Through Google's specific VIP for zero-cost OTAs. |
CUSTOM |
Through an external server. customDownloadUrl should be set along with this option. |
Methods |
|
---|---|
|
Lists packages of the config. |