Method: apprecovery.create
복구 상태가 초안인 앱 복구 작업을 만듭니다. 이 작업은 복구 작업을 실행하지 않습니다.
HTTP 요청
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
packageName |
string
필수 항목입니다. 복구 작업이 실행되는 앱의 패키지 이름입니다.
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"targeting": {
object (Targeting )
},
// Union field recovery_action can be only one of the following:
"remoteInAppUpdate": {
object (RemoteInAppUpdate )
}
// End of list of possible types for union field recovery_action .
} |
필드 |
targeting |
object (Targeting )
지역, Android SDK 버전, 앱 버전 등과 같은 복구 작업의 타겟팅 기준을 지정합니다.
|
통합 필드 recovery_action . 수행할 앱 복구 작업의 유형입니다. 필수 항목입니다. recovery_action 은 다음 중 하나여야 합니다. |
remoteInAppUpdate |
object (RemoteInAppUpdate )
작업 유형이 원격 인앱 업데이트입니다. 이 작업의 결과로, 다운로드 가능한 복구 모듈도 테스트 목적으로 생성됩니다.
|
응답 본문
성공한 경우 응답 본문에 새로 생성된 AppRecoveryAction
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/androidpublisher
RemoteInAppUpdate
원격 인앱 업데이트 작업 유형의 객체 표현입니다.
JSON 표현 |
{
"isRemoteInAppUpdateRequested": boolean
} |
필드 |
isRemoteInAppUpdateRequested |
boolean
필수 항목입니다. 원격 인앱 업데이트 작업 유형이 필요한 경우 true로 설정합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["Create a draft app recovery action to address issues within your app, without immediate execution."],["Define targeting criteria such as regions, Android versions, and app versions to control which users receive the recovery action."],["Specify the recovery action type, in this case, a remote in-app update, enabling you to deliver a downloadable recovery module to affected users."],["Utilize the provided HTTP request structure with the necessary path parameters and request body to initiate the draft creation."],["This action requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details creating an app recovery action using a POST request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries`. The request requires the app's package name as a path parameter. The request body must include `targeting` criteria and specify the `recovery_action`, with the only supported type being `remoteInAppUpdate`. This sets the `isRemoteInAppUpdateRequest` field to `true`. Successful requests return an `AppRecoveryAction` instance, and the operation requires the `androidpublisher` OAuth scope.\n"]]