अनुरोध को डोमेन एडमिन के तौर पर जारी करें. अगर इस नीति को 'सही है' पर सेट किया जाता है, तो अनुरोध करने वाले व्यक्ति को ऐक्सेस तब दिया जाता है, जब वह 'शेयर की गई ड्राइव' के डोमेन का एडमिन हो.
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Drive का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
इनमें से कोई एक OAuth स्कोप ज़रूरी है:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.readonly
कुछ दायरे सीमित हैं. इनका इस्तेमाल करने के लिए, सुरक्षा जांच की ज़रूरत होती है. ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-04 (UTC) को अपडेट किया गया."],[[["Retrieves metadata for a specified shared drive using its unique ID."],["Allows domain administrators to access shared drive data by setting `useDomainAdminAccess` to true."],["Requires authorization with either `https://www.googleapis.com/auth/drive` or `https://www.googleapis.com/auth/drive.readonly` scopes."],["Returns a `Drive` object containing the shared drive's metadata upon successful execution."]]],["This document outlines how to retrieve a shared drive's metadata using its ID. A `GET` request is made to the specified URL, incorporating the `driveId` as a path parameter. Optionally, `useDomainAdminAccess` can be used as a query parameter. The request body must be empty. A successful response returns a Drive resource instance. Authorization requires either `drive` or `drive.readonly` OAuth scopes.\n"]]