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 যে লেবেলে লেখার অনুরোধ প্রয়োগ করা হবে তার [revisionId][google.apps.drive.labels.v1.Label.revision_id]। যদি এটি লেবেলের সর্বশেষ সংশোধন না হয়, তাহলে অনুরোধটি প্রক্রিয়া করা হবে না এবং একটি 400 খারাপ অনুরোধ ত্রুটি ফিরিয়ে দেবে৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Provides control over how write requests to the label are executed, defaulting to \"last write wins\" if not specified."],["Uses JSON representation to define the write control, focusing on the `control` field."],["Offers the `requiredRevisionId` field within the `control` field to ensure writes are applied to a specific revision of the label, preventing accidental overwrites."],["If `requiredRevisionId` doesn't match the latest revision, the write request will be rejected with a 400 Bad Request error."]]],["The provided content defines how to control write requests for a label, defaulting to a \"last write wins\" approach. It uses a `control` union field, specifically the `requiredRevisionId`, to manage this. The `requiredRevisionId` field is a string representing the label's revision. If a write request targets a non-latest revision ID, the request will fail with a 400 error, ensuring only changes to the current revision are applied.\n"]]