Method: apprecovery.deploy
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
部署已创建的应用恢复操作,恢复状态为“DRAFT”。请注意,此操作会为所有目标用户激活该恢复操作,并将其状态更改为“ACTIVE”。
HTTP 请求
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy
网址采用 gRPC 转码语法。
路径参数
参数 |
packageName |
string
必需。已部署恢复操作的应用软件包名称。
|
appRecoveryId |
string (int64 format)
必需。与要部署的应用恢复操作对应的 ID。
|
授权范围
需要以下 OAuth 作用域:
https://www.googleapis.com/auth/androidpublisher
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eDeploy an existing app recovery action with DRAFT status, activating it for all targeted users and changing its status to ACTIVE.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as an empty POST request to the specified URL, requiring package name and app recovery ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful deployment, the response body will be empty.\u003c/p\u003e\n"]]],["This document outlines the process for deploying a draft app recovery action via an HTTP POST request. The request targets a specific app and recovery action ID, provided as path parameters: `packageName` and `appRecoveryId`. The URL utilizes gRPC Transcoding. The request body must be empty. A successful deployment, indicated by an empty response body, activates the recovery action for all targeted users, changing its status to ACTIVE. Authorization requires the `androidpublisher` OAuth scope.\n"],null,["# Method: apprecovery.deploy\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeploy 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.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. Package name of the app for which recovery action is deployed. |\n| `appRecoveryId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. ID corresponding to the app recovery action to deploy. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]