Class ApprecoveryResource
The "apprecovery" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class ApprecoveryResource
Constructors
ApprecoveryResource(IClientService)
Constructs a new resource.
Declaration
public ApprecoveryResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AddTargeting(AddTargetingRequest, string, long)
Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.
Declaration
public virtual ApprecoveryResource.AddTargetingRequest AddTargeting(AddTargetingRequest body, string packageName, long appRecoveryId)
Parameters
Type | Name | Description |
---|---|---|
AddTargetingRequest | body | The body of the request. |
string | packageName | Required. Package name of the app for which recovery action is to be updated. |
long | appRecoveryId | Required. ID corresponding to the app recovery action. |
Returns
Type | Description |
---|---|
ApprecoveryResource.AddTargetingRequest |
Cancel(CancelAppRecoveryRequest, string, long)
Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.
Declaration
public virtual ApprecoveryResource.CancelRequest Cancel(CancelAppRecoveryRequest body, string packageName, long appRecoveryId)
Parameters
Type | Name | Description |
---|---|---|
CancelAppRecoveryRequest | body | The body of the request. |
string | packageName | Required. Package name of the app for which recovery action cancellation is requested. |
long | appRecoveryId | Required. ID corresponding to the app recovery action. |
Returns
Type | Description |
---|---|
ApprecoveryResource.CancelRequest |
Create(CreateDraftAppRecoveryRequest, string)
Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action.
Declaration
public virtual ApprecoveryResource.CreateRequest Create(CreateDraftAppRecoveryRequest body, string packageName)
Parameters
Type | Name | Description |
---|---|---|
CreateDraftAppRecoveryRequest | body | The body of the request. |
string | packageName | Required. Package name of the app on which recovery action is performed. |
Returns
Type | Description |
---|---|
ApprecoveryResource.CreateRequest |
Deploy(DeployAppRecoveryRequest, string, long)
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.
Declaration
public virtual ApprecoveryResource.DeployRequest Deploy(DeployAppRecoveryRequest body, string packageName, long appRecoveryId)
Parameters
Type | Name | Description |
---|---|---|
DeployAppRecoveryRequest | body | The body of the request. |
string | packageName | Required. Package name of the app for which recovery action is deployed. |
long | appRecoveryId | Required. ID corresponding to the app recovery action to deploy. |
Returns
Type | Description |
---|---|
ApprecoveryResource.DeployRequest |
List(string)
List all app recovery action resources associated with a particular package name and app version.
Declaration
public virtual ApprecoveryResource.ListRequest List(string packageName)
Parameters
Type | Name | Description |
---|---|---|
string | packageName | Required. Package name of the app for which list of recovery actions is requested. |
Returns
Type | Description |
---|---|
ApprecoveryResource.ListRequest |