Kurulum İzinleri ve Kimlik Doğrulama
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kullanıcı hesabınızın projede Düzenleyici/Sahip izinlerine sahip olduğundan emin olun
Aşağıdaki komutu uygulayarak etkin hesabınızı kontrol edebilirsiniz:
gcloud auth list
Kullanıcı hesabınız etkin hesap değilse etkin hesabı aşağıdaki komutla değiştirebilirsiniz:
gcloud config set account `ACCOUNT`
Etkin hesap yoksa önce şunu yapmanız gerekir:
gcloud auth login
OAuth 2.0 erişim jetonunu alma
Haritalar Veri Kümeleri hizmetine istek gönderebilmek için son adım, kullanıcı hesabınızla ilişkili OAuth 2.0 jetonunu almaktır.
export TOKEN=$(gcloud auth print-access-token)
Artık Haritalar Veri Kümeleri API'sine istek göndermeye başlayabilirsiniz.
curl -H "X-Goog-User-Project: PROJECT_NUMBER" -H "Authorization: Bearer $TOKEN" https://mapsplatformdatasets.googleapis.com/v1alpha/projects/PROJECT_NUMBER/datasets/
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-05-02 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-05-02 UTC."],[[["Ensure your Google Cloud user account has Editor or Owner permissions for the project to access and manage Maps Datasets."],["Verify your active account using `gcloud auth list` and switch accounts if necessary with `gcloud config set account ACCOUNT`."],["Obtain an OAuth 2.0 access token using `gcloud auth print-access-token` to authenticate requests to the Maps Datasets API."],["Use the access token and project details in API requests to interact with the Maps Datasets service, such as listing datasets via `curl`."]]],[]]