class Apprecovery extends Resource (View source)

The "apprecovery" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $apprecovery = $androidpublisherService->apprecovery;

Methods

addTargeting(string $packageName, string $appRecoveryId, AddTargetingRequest $postBody, array $optParams = [])

Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.

cancel(string $packageName, string $appRecoveryId, CancelAppRecoveryRequest $postBody, array $optParams = [])

Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED. (apprecovery.cancel)

create(string $packageName, CreateDraftAppRecoveryRequest $postBody, array $optParams = [])

Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action. (apprecovery.create)

deploy(string $packageName, string $appRecoveryId, DeployAppRecoveryRequest $postBody, array $optParams = [])

Deploy an already created app recovery action with recovery status DRAFT.

listApprecovery(string $packageName, array $optParams = [])

List all app recovery action resources associated with a particular package name and app version. (apprecovery.listApprecovery)

Details

AddTargetingResponse addTargeting(string $packageName, string $appRecoveryId, AddTargetingRequest $postBody, array $optParams = [])

Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.

(apprecovery.addTargeting)

Parameters

string $packageName

Required. Package name of the app for which recovery action is to be updated.

string $appRecoveryId

Required. ID corresponding to the app recovery action.

AddTargetingRequest $postBody
array $optParams

Optional parameters.

Return Value

AddTargetingResponse

Exceptions

Exception

CancelAppRecoveryResponse cancel(string $packageName, string $appRecoveryId, CancelAppRecoveryRequest $postBody, array $optParams = [])

Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED. (apprecovery.cancel)

Parameters

string $packageName

Required. Package name of the app for which recovery action cancellation is requested.

string $appRecoveryId

Required. ID corresponding to the app recovery action.

CancelAppRecoveryRequest $postBody
array $optParams

Optional parameters.

Return Value

CancelAppRecoveryResponse

Exceptions

Exception

AppRecoveryAction create(string $packageName, CreateDraftAppRecoveryRequest $postBody, array $optParams = [])

Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action. (apprecovery.create)

Parameters

string $packageName

Required. Package name of the app on which recovery action is performed.

CreateDraftAppRecoveryRequest $postBody
array $optParams

Optional parameters.

Return Value

AppRecoveryAction

Exceptions

Exception

DeployAppRecoveryResponse deploy(string $packageName, string $appRecoveryId, DeployAppRecoveryRequest $postBody, array $optParams = [])

Deploy an already created app recovery action with recovery status DRAFT.

Note that this action activates the recovery action for all targeted users and changes its status to ACTIVE. (apprecovery.deploy)

Parameters

string $packageName

Required. Package name of the app for which recovery action is deployed.

string $appRecoveryId

Required. ID corresponding to the app recovery action to deploy.

DeployAppRecoveryRequest $postBody
array $optParams

Optional parameters.

Return Value

DeployAppRecoveryResponse

Exceptions

Exception

ListAppRecoveriesResponse listApprecovery(string $packageName, array $optParams = [])

List all app recovery action resources associated with a particular package name and app version. (apprecovery.listApprecovery)

Parameters

string $packageName

Required. Package name of the app for which list of recovery actions is requested.

array $optParams

Optional parameters.

Return Value

ListAppRecoveriesResponse

Exceptions

Exception