AppRecoveryAction
JSON 表示法 |
{
"appRecoveryId": string,
"status": enum (RecoveryStatus ),
"targeting": {
object (Targeting )
},
"createTime": string,
"deployTime": string,
"cancelTime": string,
"lastUpdateTime": string,
// Union field recovery_action_data can be only one of the following:
"remoteInAppUpdateData": {
object (RemoteInAppUpdateData )
}
// End of list of possible types for union field recovery_action_data .
} |
字段 |
appRecoveryId |
string (int64 format)
与应用恢复操作对应的 ID。
|
status |
enum (RecoveryStatus )
恢复操作的状态。
|
targeting |
object (Targeting )
指定恢复操作的定位条件,如地区、Android SDK 版本、应用版本等。
|
createTime |
string (Timestamp format)
开发者创建应用恢复操作的时间戳。始终在恢复操作创建之后设置。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
deployTime |
string (Timestamp format)
为用户部署应用恢复操作的时间戳。仅在已部署恢复操作的情况下才会设置。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
cancelTime |
string (Timestamp format)
开发者取消应用恢复操作的时间戳。仅在已取消恢复操作的情况下才会设置。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
lastUpdateTime |
string (Timestamp format)
开发者上次更新恢复操作的时间戳。如果操作被取消,则对应取消时间。始终在恢复操作创建之后设置。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
联合字段 recovery_action_data 。与恢复操作相关的数据。recovery_action_data 只能是下列其中一项: |
remoteInAppUpdateData |
object (RemoteInAppUpdateData )
有关远程应用内更新操作的数据,例如已恢复的用户群、可恢复的用户群等。仅当恢复操作类型为“远程应用内更新”时才会设置。
|
RemoteInAppUpdateData
与远程应用内更新操作相关的数据,例如已恢复的用户数量、受影响的用户数量等。
RemoteInAppUpdateDataPerBundle
JSON 表示法 |
{
"versionCode": string,
"recoveredDeviceCount": string,
"totalDeviceCount": string
} |
字段 |
versionCode |
string (int64 format)
与目标软件包对应的版本代码。
|
recoveredDeviceCount |
string (int64 format)
已恢复的设备总数。
|
totalDeviceCount |
string (int64 format)
受与应用软件包相关联的相应恢复操作影响的设备总数。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-17。
[null,null,["最后更新时间 (UTC):2024-12-17。"],[[["AppRecoveryAction provides information about an app's recovery action, including its status, targeting criteria, and timestamps for creation, deployment, cancellation, and last update."],["It can include RemoteInAppUpdateData, which details the recovered user base and affected user base for a Remote In-App Update action."],["RemoteInAppUpdateData contains data at the bundle level, such as version code, recovered device count, and total affected device count."]]],["App recovery actions, identified by an `appRecoveryId`, have a `status`, `targeting` criteria, and timestamps for `createTime`, `deployTime`, `cancelTime`, and `lastUpdateTime`. Actions can have a `remoteInAppUpdateData` field, detailing bundle-level recovery via `remoteAppUpdateDataPerBundle`, including the `versionCode`, `recoveredDeviceCount`, and `totalDeviceCount`. `RemoteInAppUpdateData` aggregates recovery data for in app updates.\n"]]