Method: apprecovery.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kurtarma durumu TASLAK olan bir uygulama kurtarma işlemi oluşturun. Bu işlemin, kurtarma işlemini yürütmediğini unutmayın.
HTTP isteği
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Kurtarma işleminin gerçekleştirdiği uygulamanın paket adı.
|
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi |
{
"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 .
} |
Alanlar |
targeting |
object (Targeting )
Kurtarma işlemi için bölgeler, Android SDK sürümleri, uygulama sürümleri gibi hedefleme ölçütlerini belirtir.
|
Birleştirme alanı recovery_action . Gerçekleştirilecek uygulama kurtarma işleminin türü. Zorunlu. recovery_action şunlardan yalnızca biri olabilir: |
remoteInAppUpdate |
object (RemoteInAppUpdate )
İşlem türü uzaktan uygulama içi güncellemedir. Bu işlemin sonucunda, test amacıyla indirilebilir bir kurtarma modülü de oluşturulur.
|
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulmuş bir AppRecoveryAction
örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
RemoteInAppUpdate
Uzaktan uygulama içi güncelleme işlemi türünün nesne temsili.
JSON gösterimi |
{
"isRemoteInAppUpdateRequested": boolean
} |
Alanlar |
isRemoteInAppUpdateRequested |
boolean
Zorunlu. Uzaktan Uygulama İçi Güncelleme işlem türü gerekiyorsa true olarak ayarlayın.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-29 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]