Cho phép kiểm soát cách thực hiện các yêu cầu ghi. Khi không được chỉ định, lượt ghi sau cùng sẽ được chọn.
Biểu diễn dưới dạng JSON
{// Union field control can be only one of the following:"requiredRevisionId": string// End of list of possible types for union field control.}
Trường
Trường nhóm control. Xác định phiên bản của nhãn cần ghi và cách yêu cầu hoạt động nếu phiên bản đó không phải là phiên bản hiện tại của nhãn. control chỉ có thể là một trong những trạng thái sau:
requiredRevisionId
string
Mã phiên bản của nhãn mà yêu cầu ghi sẽ được áp dụng. Nếu đây không phải là phiên bản mới nhất của nhãn, thì yêu cầu sẽ không được xử lý và sẽ trả về lỗi 400 Yêu cầu không hợp lệ.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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. |"]]