Stay organized with collections Save and categorize content based on your preferences.
Creates a new empty dataset.
HTTP requestPOST https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets
The URL uses gRPC Transcoding syntax.
Path parameters ParametersprojectId
string
Required. Project ID of the new dataset
Query parameters ParametersaccessPolicyVersion
integer
Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected.
This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
Request bodyThe request body contains an instance of Dataset
.
If successful, the response body contains a newly created instance of Dataset
.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
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 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["This webpage details the process of creating a new empty dataset using the BigQuery API, specifically through a POST request to the provided URL."],["The request requires a `projectId` as a path parameter, which specifies the project ID where the new dataset will be created."],["An optional `accessPolicyVersion` query parameter allows for specifying the schema version of the access policy, with version 3 being necessary for datasets with conditional access policy bindings."],["Both the request and response bodies utilize the `Dataset` resource, which defines the structure and properties of a dataset within the BigQuery environment."],["Authorization for this operation necessitates one of two OAuth scopes: either `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform`."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4