Method: projects.datasets.create
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Buat set data baru untuk project yang ditentukan.
Permintaan HTTP
POST https://mapsplatformdatasets.googleapis.com/v1alpha/{parent=projects/*}/datasets
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
| Parameter |
parent |
string
Wajib. Project induk yang akan memiliki set data. Format: projects/{$project}
|
Isi permintaan
Isi permintaan memuat instance Dataset.
Isi respons
Jika berhasil, isi respons memuat instance Dataset yang baru dibuat.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/cloud-platform
Izin IAM
Memerlukan izin IAM berikut pada resource parent:
mapsplatformdatasets.datasets.create
Untuk mengetahui informasi selengkapnya, lihat dokumentasi IAM.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-29 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-29 UTC."],[],["A dataset is created within a specified project using a POST request to the provided URL. The request requires a `parent` path parameter indicating the project ID. The request and response bodies are instances of a Dataset. Authorization requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `mapsplatformdatasets.datasets.create` on the parent project. This utilizes gRPC Transcoding syntax for the URL.\n"]]