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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]