Method: nodes.nodes.patch
คำขอ HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{node.name=nodes/*/nodes/*}
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
node.name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากร
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ช่องที่จะอัปเดต ซึ่งเป็นรายการช่องชื่อที่สมบูรณ์ในตัวเองและคั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Node
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Node
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[null,null,["อัปเดตล่าสุด 2022-11-02 UTC"],[[["Updates an existing node using an HTTP PATCH request to the specified URL."],["The request should include path and query parameters, specifying the node's name and fields to update respectively."],["The request body must contain a `Node` object, representing the updated node data."],["Upon successful completion, the response body will also include the updated `Node` object."],["Users need the `https://www.googleapis.com/auth/sasportal` OAuth scope to perform this action."]]],["This document details updating a node via a PATCH request to a specified URL endpoint. The URL utilizes gRPC Transcoding and requires a node name as a path parameter. The `updateMask` query parameter specifies which fields to update, and a `Node` instance is sent in the request body. The process, if successful, returns an updated `Node` instance in the response body. Authorization for this operation requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]