Method: deployments.configs.update
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
config
günceller. Yapılandırmanın adı boş değilse ve mevcut ada eşit değilse INVALID_ARGUMENT
değerini döndürür.
HTTP isteği
PUT https://androidovertheair.googleapis.com/v1/{name=deployments/*/configs/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Göreli kaynak adı. Örneğin: "deployments/deployment_x/configs/config_a"
|
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi |
{
"config": {
object (Config )
},
"versionTag": {
object (VersionTag )
}
} |
Alanlar |
config |
object (Config )
Güncellenecek Config .
|
versionTag |
object (VersionTag )
Zorunlu. Güncellenecek yapılandırma, bu sürümle eşleşmelidir. Başka bir istemci mevcut yapılandırmayı eşzamanlı olarak güncellerse güncelleme işlemi başarısız olur.
|
Yanıt gövdesi
Başarılıysa yanıt metni, Config
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/android_partner_over_the_air
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atı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: 2025-07-26 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: 2025-07-26 UTC."],[],["This document outlines the process to update a configuration (`Config`). It uses a `PUT` request to a specific URL with a resource name in the path. The request body, in JSON format, includes the `Config` object to update and a `VersionTag` for concurrency control. Successful updates return a `Config` instance. An `INVALID_ARGUMENT` error occurs if the config name is non-empty and different from the existing name. Authorization requires the `android_partner_over_the_air` OAuth scope.\n"]]