Method: enterprises.patch
HTTP isteği
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
enterprises/{enterpriseId} biçiminde kuruluşun adı.
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
Güncellenecek alanları belirten alan maskesi. Ayarlanmazsa değiştirilebilir tüm alanlar değiştirilir. Bu, alanların tam nitelikli adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
İstek içeriği
İstek metni, Enterprise
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Enterprise
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidmanagement
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakı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-02-19 UTC.
[null,null,["Son güncelleme tarihi: 2025-02-19 UTC."],[[["This operation updates an existing enterprise using a PATCH request to the specified URL."],["You can specify fields to be updated using the `updateMask` query parameter or update all modifiable fields by leaving it unset."],["The request body should contain an `Enterprise` object with the desired modifications."],["A successful update will return the updated `Enterprise` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process of updating an enterprise via a `PATCH` request to a specific URL: `https://androidmanagement.googleapis.com/v1/{name=enterprises/*}`. The `name` path parameter specifies the enterprise ID. The `updateMask` query parameter determines which fields to modify. The request body includes the updated `Enterprise` data, and a successful response also returns an `Enterprise` instance. The operation requires `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]