- [JSON representation](https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#SCHEMA_REPRESENTATION)
- [RemoteInAppUpdateData](https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateData)
  - [JSON representation](https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateData.SCHEMA_REPRESENTATION)
- [RemoteInAppUpdateDataPerBundle](https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateDataPerBundle)
  - [JSON representation](https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateDataPerBundle.SCHEMA_REPRESENTATION)

Information about an app recovery action.

| JSON representation |
|---|
| ``` { "appRecoveryId": string, "status": enum (`https://developers.google.com/android-publisher/api-ref/rest/v3/RecoveryStatus`), "targeting": { object (`https://developers.google.com/android-publisher/api-ref/rest/v3/Targeting`) }, "createTime": string, "deployTime": string, "cancelTime": string, "lastUpdateTime": string, // Union field `recovery_action_data` can be only one of the following: "remoteInAppUpdateData": { object (`https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateData`) } // End of list of possible types for union field `recovery_action_data`. } ``` |

| Fields ||
|---|---|
| `appRecoveryId` | `string (https://developers.google.com/discovery/v1/type-format format)` ID corresponding to the app recovery action. |
| `status` | ``enum (`https://developers.google.com/android-publisher/api-ref/rest/v3/RecoveryStatus`)`` The status of the recovery action. |
| `targeting` | ``object (`https://developers.google.com/android-publisher/api-ref/rest/v3/Targeting`)`` Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp of when the app recovery action is created by the developer. It is always set after creation of the recovery action. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `deployTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp of when the app recovery action is deployed to the users. Only set if the recovery action has been deployed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `cancelTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp of when the app recovery action is canceled by the developer. Only set if the recovery action has been canceled. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `lastUpdateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp of when the developer last updated recovery action. In case the action is cancelled, it corresponds to cancellation time. It is always set after creation of the recovery action. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| Union field `recovery_action_data`. Data related to the recovery action. `recovery_action_data` can be only one of the following: ||
| `remoteInAppUpdateData` | ``object (`https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateData`)`` Data about the remote in-app update action such as such as recovered user base, recoverable user base etc. Set only if the recovery action type is Remote In-App Update. |

## RemoteInAppUpdateData

Data related to Remote In-App Update action such as recovered user count, affected user count etc.

| JSON representation |
|---|
| ``` { "remoteAppUpdateDataPerBundle": [ { object (`https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateDataPerBundle`) } ] } ``` |

| Fields ||
|---|---|
| `remoteAppUpdateDataPerBundle[]` | ``object (`https://developers.google.com/android-publisher/api-ref/rest/v3/AppRecoveryAction#RemoteInAppUpdateDataPerBundle`)`` Data related to the recovery action at bundle level. |

## RemoteInAppUpdateDataPerBundle

Data related to the recovery action at bundle level.

| JSON representation |
|---|
| ``` { "versionCode": string, "recoveredDeviceCount": string, "totalDeviceCount": string } ``` |

| Fields ||
|---|---|
| `versionCode` | `string (https://developers.google.com/discovery/v1/type-format format)` Version Code corresponding to the target bundle. |
| `recoveredDeviceCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Total number of devices which have been rescued. |
| `totalDeviceCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Total number of devices affected by this recovery action associated with bundle of the app. |