Method: apprecovery.deploy
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
復元ステータス DRAFT を使用して作成済みのアプリの復元アクションをデプロイします。この操作を行うと、ターゲットとなっているすべてのユーザーの復元操作が有効になり、ステータスが ACTIVE に変わります。
HTTP リクエスト
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
必須。復元アクションがデプロイされるアプリのパッケージ名。
|
appRecoveryId |
string (int64 format)
必須。デプロイするアプリの復元アクションに対応する ID。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\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`"]]