Method: nodes.nodes.patch
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מתבצע עדכון של node
קיים.
בקשת HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{node.name=nodes/*/nodes/*}
כתובת ה-URL כוללת תחביר gRPC קידוד מחדש.
פרמטרים של נתיב
פרמטרים |
node.name |
string
פלט בלבד. שם המשאב.
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
שדות שיש לעדכן. רשימה מופרדת בפסיקים של שמות שדות מלאים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של Node
.
גוף התגובה
אם התגובה מוצלחת, גוף התגובה מכיל מופע של Node
.
היקפי הרשאה
יש צורך בהיקף OAuth הבא:
https://www.googleapis.com/auth/userinfo.email
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-09-26 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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"]]