Method: projects.datasets.create
Creates a new dataset for the specified project.
HTTP request
POST https://mapsplatformdatasets.googleapis.com/v1/{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 2024-05-28 UTC.
[null,null,["Last updated 2024-05-28 UTC."],[[["Creates a new dataset within a specified Google Cloud project."],["Requires a POST request to the designated URL with specific path parameters and request body structure."],["Utilizes OAuth scope `https://www.googleapis.com/auth/cloud-platform` and IAM permission `mapsplatformdatasets.datasets.create` for authorization."],["The response body provides the newly created dataset's details upon successful creation."]]],["This content outlines how to create a new dataset within a specified project. A `POST` HTTP request is sent to a designated URL, including a required `parent` path parameter representing the project. The request body contains the new dataset information. Upon success, the response body returns the created dataset. This process requires authorization via the `cloud-platform` OAuth scope and the `mapsplatformdatasets.datasets.create` IAM permission on the parent project.\n"]]