Method: nodes.nodes.patch
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memperbarui node
yang ada.
Permintaan HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{node.name=nodes/*/nodes/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
node.name |
string
Hanya output. Nama fasilitas.
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Kolom yang akan diperbarui. Daftar yang dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance Node
.
Isi respons
Jika berhasil, isi respons memuat instance Node
.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/userinfo.email
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 2022-09-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2022-09-26 UTC."],[[["This operation updates an existing node using an HTTP PATCH request to a specific URL."],["The request must include path and query parameters, along with a request body containing the updated node data in JSON format."],["A successful response will return the updated node data in the response body."],["Authorization is required using the `https://www.googleapis.com/auth/userinfo.email` scope."]]],["This document details how to update a node using a PATCH request. The request URL follows gRPC Transcoding syntax and includes a `node.name` path parameter. The `updateMask` query parameter specifies which fields to update, using a comma-separated list. The request body contains the updated `Node` data, and a successful response will return an updated `Node` instance. Authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope.\n"]]