WriteControl
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yazma isteklerinin nasıl yürütüleceği üzerinde kontrol sağlar. Belirtilmediğinde son yazma işlemi kazanır.
JSON gösterimi |
{
// Union field control can be only one of the following:
"requiredRevisionId": string
// End of list of possible types for union field control .
} |
Alanlar |
Birleştirme alanı control . Yazılacak etiketin revizyonunu ve bu revizyon etiketin mevcut revizyonu değilse isteğin nasıl davranması gerektiğini belirler. control yalnızca aşağıdakilerden biri olabilir: |
requiredRevisionId |
string
Yazma isteğinin uygulanacağı etiketin düzeltme kimliği. Bu, etiketin en son düzeltilmiş hali değilse istek işlenmez ve 400 Bad Request (Hatalı İstek) hatası döndürülür.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-05 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]