[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-04-19 UTC."],[[["\u003cp\u003eThis webpage outlines how to create a new database using the BigLake API, specifically using a POST request to a designated URL.\u003c/p\u003e\n"],["\u003cp\u003eThe process requires a \u003ccode\u003eparent\u003c/code\u003e path parameter indicating the project, location, and catalog for the new database.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003edatabaseId\u003c/code\u003e query parameter is necessary to specify the unique ID of the database being created.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies are both instances of the \u003ccode\u003eDatabase\u003c/code\u003e resource type.\u003c/p\u003e\n"],["\u003cp\u003eThe request needs specific authorization scopes or IAM permissions, including \u003ccode\u003ebiglake.databases.create\u003c/code\u003e on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.catalogs.databases.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCreates a new database.\n\n### HTTP request\n\n`POST https://biglake.googleapis.com/v1/{parent=projects/*/locations/*/catalogs/*}/databases`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Database](/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases#Database).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Database](/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases#Database).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `biglake.databases.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]