Method: apprecovery.deploy
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทำให้การดำเนินการกู้คืนแอปที่สร้างไว้แล้วใช้งานได้โดยมีสถานะการกู้คืน "ฉบับร่าง" โปรดทราบว่าการดำเนินการนี้จะเปิดใช้งานการกู้คืนสำหรับผู้ใช้เป้าหมายทั้งหมดและเปลี่ยนสถานะเป็น "ใช้งานอยู่"
คำขอ HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ ชื่อแพ็กเกจของแอปที่ทำให้การดำเนินการกู้คืนใช้งานได้
|
appRecoveryId |
string (int64 format)
ต้องระบุ รหัสที่สอดคล้องกับการดำเนินการกู้คืนแอปที่จะทำให้ใช้งานได้
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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`"]]