संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Maps Datasets API से कोई भी अनुरोध करने के लिए, आपको यह जानकारी शामिल करनी होगी:
आपके Google Cloud प्रोजेक्ट का नंबर या आईडी, अनुरोध के X-Goog-User-Project हेडर में मौजूद होता है. इस वैल्यू से यह तय होता है कि बिलिंग और इस्तेमाल के कोटे का हिसाब लगाने के लिए, किस प्रोजेक्ट का इस्तेमाल किया जाएगा.
अनुरोध के Authorization हेडर में मौजूद OAuth टोकन. Maps Datasets API के साथ OAuth का इस्तेमाल करने के बारे में ज़्यादा जानकारी के लिए, OAuth का इस्तेमाल करना लेख पढ़ें.
अनुरोध किए गए यूआरएल में मौजूद Google Cloud प्रोजेक्ट का नंबर या आईडी. इस वैल्यू से पता चलता है कि डेटासेट किस प्रोजेक्ट में मौजूद है. आम तौर पर, यह प्रोजेक्ट वही होता है जो X-Goog-User-Project हेडर में दिया गया होता है. हालांकि, ऐसा होना ज़रूरी नहीं है.
अनुरोध यूआरएल में मौजूद डेटासेट आईडी. जब भी किसी खास डेटासेट पर कोई कार्रवाई की जाती है, तो अनुरोध यूआरएल के हिस्से के तौर पर डेटासेट का आईडी पास किया जाता है.
हर अनुरोध पर नया टोकन जनरेट करने के लिए, cURL कमांड में Authorization हेडर में सीधे तौर पर gcloud कमांड शामिल की जा सकती है. जैसा कि ऊपर दिए गए उदाहरण में दिखाया गया है.
इसके अलावा, टोकन वाला एनवायरमेंट वैरिएबल सेट किया जा सकता है. इसके बाद, एनवायरमेंट वैरिएबल को अनुरोध के हिस्से के तौर पर पास किया जा सकता है:
[[["समझने में आसान है","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"]],["आखिरी बार 2025-09-12 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAll Maps Datasets API requests require a Google Cloud project number or ID for billing and usage quota, specified in the \u003ccode\u003eX-Goog-User-Project\u003c/code\u003e header or using a service account.\u003c/p\u003e\n"],["\u003cp\u003eAn OAuth token is necessary for authentication and should be included in the \u003ccode\u003eAuthorization\u003c/code\u003e header of each request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL must contain the Google Cloud project number or ID and the dataset ID to specify the location of the dataset.\u003c/p\u003e\n"],["\u003cp\u003eAdditional parameters may be required for certain requests, as detailed in the specific request documentation.\u003c/p\u003e\n"],["\u003cp\u003eYou can obtain your Google Cloud project number or ID from the project's Overview page in the Cloud Console and generate an OAuth token using the \u003ccode\u003egcloud\u003c/code\u003e command.\u003c/p\u003e\n"]]],["To interact with the Maps Datasets API, requests must include: the Google Cloud project number or ID in the `X-Goog-User-Project` header for billing and quota (unless using a service account); an OAuth token in the `Authorization` header; the project number or ID in the URL; and the dataset ID in the URL. The project number and ID can be found on the project's overview page. An OAuth token can be generated using the `gcloud auth application-default print-access-token` command.\n"],null,[]]