সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
মানচিত্র ডেটাসেট এপিআই-তে যেকোনো অনুরোধ করতে, আপনাকে অবশ্যই অন্তর্ভুক্ত করতে হবে:
অনুরোধের X-Goog-User-Project হেডারে আপনার Google ক্লাউড প্রকল্পের নম্বর বা আইডি। এই মানটি বিলিং এবং ব্যবহারের কোটা গণনার জন্য ব্যবহৃত প্রকল্প নির্ধারণ করে।
অনুরোধের Authorization শিরোনামে একটি OAuth টোকেন। মানচিত্র ডেটাসেট API এর সাথে OAuth ব্যবহার সম্পর্কে আরও তথ্যের জন্য, OAuth ব্যবহার করুন দেখুন।
অনুরোধের URL-এ একটি Google ক্লাউড প্রকল্প নম্বর বা আইডি। এই মানটি ডেটাসেট ধারণকারী প্রকল্প নির্দিষ্ট করে। যদিও এই প্রকল্পটি সাধারণত X-Goog-User-Project শিরোনামে উল্লিখিত প্রকল্পের মতোই, এটি একই হওয়ার প্রয়োজন নেই৷
অনুরোধ URL-এ ডেটাসেট আইডি। যখনই আপনি একটি নির্দিষ্ট ডেটাসেটে একটি ক্রিয়া সম্পাদন করেন, আপনি অনুরোধ URL এর অংশ হিসাবে ডেটাসেটের আইডি পাস করেন৷
আপনি প্রতিটি অনুরোধে একটি নতুন টোকেন তৈরি করতে একটি 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-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["All Maps Datasets API requests require a Google Cloud project number or ID for billing and usage quota, specified in the `X-Goog-User-Project` header or using a service account."],["An OAuth token is necessary for authentication and should be included in the `Authorization` header of each request."],["The request URL must contain the Google Cloud project number or ID and the dataset ID to specify the location of the dataset."],["Additional parameters may be required for certain requests, as detailed in the specific request documentation."],["You 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 `gcloud` command."]]],["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"]]