एक प्रोजेक्ट बनाएं
Google Drive Activity API को अनुरोध भेजने से पहले, आपको Google को अपने क्लाइंट के बारे में सूचना देनी होगी. साथ ही, इस एपीआई को ऐक्सेस करने की अनुमति देनी होगी. इसके लिए, Google Cloud कंसोल का इस्तेमाल करके प्रोजेक्ट बनाया जाता है. यह सेटिंग और एपीआई ऐक्सेस की जानकारी का एक नाम कलेक्शन होता है.
अपना एनवायरमेंट सेट अप करें
Drive Activity API का इस्तेमाल शुरू करने के लिए, आपको
Google Cloud Console में एक प्रोजेक्ट बनाना होगा, इस एपीआई को चालू करना होगा, और क्रेडेंशियल बनाने होंगे.
अपना प्रोजेक्ट बनाएं
आपके पास एक Google Cloud प्रोजेक्ट होना चाहिए.
इस एपीआई को चालू करें
Google API का इस्तेमाल करने से पहले, आपको इन्हें Google Cloud प्रोजेक्ट में चालू करना होगा.
आपके पास किसी एक Google Cloud प्रोजेक्ट में एक या एक से ज़्यादा एपीआई चालू करने का विकल्प होता है.
क्रेडेंशियल बनाना
OAuth क्लाइंट आईडी या सेवा खाते का इस्तेमाल करके क्रेडेंशियल बनाए जा सकते हैं.
ज़्यादा जानकारी के लिए, ऐक्सेस क्रेडेंशियल बनाएं देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-09-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-09-14 (UTC) को अपडेट किया गया."],[[["To use the Google Drive Activity API, you must first create a Google Cloud project and enable the API."],["You need to create credentials, either an OAuth client ID or a service account, to allow access to the API."],["Setting up your environment involves creating a project, enabling the Google Drive Activity API, and creating credentials for API access."]]],["To use the Google Drive Activity API, first create a Google Cloud project through the Google Cloud console. Next, enable the Google Drive Activity API within that project. Finally, create credentials to access the API, choosing between an OAuth client ID or a service account, as detailed in the \"Create access credentials\" documentation. These steps are necessary to allow client access and send requests to the API.\n"]]