Method: enterprises.webApps.patch
Permintaan HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/webApps/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Nama aplikasi web dalam bentuk enterprises/{enterpriseId}/webApps/{packageName} .
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Mask kolom yang menunjukkan kolom yang akan diperbarui. Jika tidak ditetapkan, semua kolom yang dapat diubah akan diubah. Ini adalah daftar dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance WebApp
.
Isi respons
Jika berhasil, isi respons memuat instance WebApp
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidmanagement
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-19 UTC.
[null,null,["Terakhir diperbarui pada 2025-02-19 UTC."],[[["Updates a specified web app for an enterprise using a PATCH request to a designated URL."],["The request can specify fields to update using a field mask or update all modifiable fields by default."],["The request and successful response body both contain the web app resource data."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope."]]],["This outlines updating a web app via a PATCH request to a specified URL using gRPC Transcoding syntax. The `name` path parameter identifies the target web app. The `updateMask` query parameter specifies which fields to modify; if omitted, all modifiable fields are updated. The request and response bodies are instances of `WebApp`. The operation requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. A `Try it!` button allows to test the function.\n"]]