Method: projects.datasets.create
Stay organized with collections
Save and categorize content based on your preferences.
Create a new dataset for the specified project.
HTTP request
POST https://mapsplatformdatasets.googleapis.com/v1alpha/{parent=projects/*}/datasets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. Parent project that will own the dataset. Format: projects/{$project}
|
Request body
The request body contains an instance of Dataset
.
Response body
If successful, the response body contains a newly created instance of Dataset
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the parent
resource:
mapsplatformdatasets.datasets.create
For more information, see the IAM documentation.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-24 UTC."],[[["Create a new dataset within a specified Google Cloud project using an HTTP POST request."],["The request should include the project ID in the URL and a Dataset object in the request body, adhering to the specified format and authorization protocols."],["Upon successful creation, the response will contain the newly created Dataset object."],["Necessary permissions include `cloud-platform` OAuth scope and `mapsplatformdatasets.datasets.create` IAM permission on the parent project."]]],["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"]]