AI-generated Key Takeaways
-
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 permissionmapsplatformdatasets.datasets.create
for authorization. -
The response body provides the newly created dataset's details upon successful creation.
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 |
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.