प्रोजेक्ट बनाएं
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Drive Activity API को अनुरोध भेजने से पहले, आपको Google को अपने क्लाइंट के बारे में बताना होगा और एपीआई को ऐक्सेस करने की अनुमति देनी होगी. ऐसा करने के लिए, Google Cloud Console का इस्तेमाल करके एक प्रोजेक्ट बनाएं. यह प्रोजेक्ट, सेटिंग और एपीआई के ऐक्सेस की जानकारी वाले ग्रुप का एक नाम है.
अपना एनवायरमेंट सेट अप करने का तरीका
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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-03-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-03-26 (UTC) को अपडेट किया गया."],[],[],null,["# Create a project\n\nBefore you can send requests to Google Drive Activity API, you must notify Google about\nyour client and allow access to the API. You do this by using the\nGoogle Cloud console to create a project, which is a named collection of settings\nand API access information.\n\nSet up your environment\n-----------------------\n\nTo get started using Drive Activity API, you must create a project in the\nGoogle Cloud console, enable the API, and create credentials.\n\n### Create your project\n\nYou must have a [Google Cloud\nproject](../../../../workspace/guides/create-project).\n\n### Enable the API\n\nBefore using Google APIs, you need to turn them on in a Google Cloud project. You can turn on one or more APIs in a single Google Cloud project.\n\n- In the Google Cloud console, enable the Google Drive Activity API.\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=driveactivity.googleapis.com)\n\n### Create the credentials\n\nYou can create credentials using either an OAuth client ID or a service account.\nFor more information, see [Create access\ncredentials](https://developers.google.com/workspace/guides/create-credentials)."]]