Class DriveItemsSelectedActionResponseBuilder
ज़्यादा जानकारी वाला दस्तावेज़
requestFileScope(itemId)
इससे पता चलता है कि जवाब में, Drive में मौजूद काम के आइटम के लिए फ़ाइल के स्कोप का अनुरोध किया गया है.
पैरामीटर
नाम | टाइप | ब्यौरा |
itemId | String | Drive में मौजूद उस आइटम का आईडी जिसके लिए फ़ाइल के दायरे का अनुरोध करना है. |
वापसी का टिकट
DriveItemsSelectedActionResponseBuilder
— चेन करने के लिए यह ऑब्जेक्ट.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-03 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-03 (UTC) को अपडेट किया गया."],[[["`DriveItemsSelectedActionResponseBuilder` helps create responses for actions taken on selected Drive items within Google Workspace add-ons."],["It provides methods to build the response and request specific file access scopes, enhancing the add-on's functionality with Drive."],["`build()` finalizes the response, while `requestFileScope()` enables the add-on to request access to a specific Drive item, streamlining user interactions."]]],["The `DriveItemsSelectedActionResponseBuilder` creates `DriveItemsSelectedActionResponse` objects. It offers two primary actions: `build()`, which finalizes and returns the validated response object, and `requestFileScope(itemId)`, which designates a specific Drive item by its ID for which file scope is being requested. The `requestFileScope` method allows chaining, returning the builder object. These are used to specify actions in context to a Drive item.\n"]]