WriteControl
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
היא מאפשרת לשלוט באופן הביצוע של בקשות כתיבה. אם לא מציינים, פעולת הכתיבה האחרונה היא הקובעת.
ייצוג ב-JSON |
{
// Union field control can be only one of the following:
"requiredRevisionId": string
// End of list of possible types for union field control .
} |
שדות |
שדה איחוד control . המאפיין הזה קובע את הגרסה של התווית שצריך לכתוב לה, ואיך הבקשה צריכה להתנהג אם הגרסה הזו היא לא הגרסה הנוכחית של התווית. הערך control יכול להיות רק אחד מהבאים: |
requiredRevisionId |
string
מזהה הגרסה של התווית שהבקשה לכתיבה תחול עליה. אם זו לא הגרסה האחרונה של התווית, הבקשה לא תעובד ותוחזר הודעת השגיאה 400 Bad Request.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-05 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-05 (שעון UTC)."],[],[],null,["# WriteControl\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nProvides control over how write requests are executed. When not specified, the last write wins.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `control` can be only one of the following: \"requiredRevisionId\": string // End of list of possible types for union field `control`. } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `control`. Determines the revision of the label to write to and how the request should behave if that revision isn't the current revision of the label. `control` can be only one of the following: ||\n| `requiredRevisionId` | `string` The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error. |"]]