Erforderlich. Die übergeordnete Ressource, in der diese Datenbank erstellt wird. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
Abfrageparameter
Parameter
databaseId
string
Erforderlich. Die für die Datenbank zu verwendende ID, die als letzte Komponente des Ressourcennamens der Datenbank verwendet wird.
Anfragetext
Der Anfragetext enthält eine Instanz von Database.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Database.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-05-23 (UTC)."],[[["\u003cp\u003eThis webpage outlines the process for creating a new database using a POST request to the specified URL, adhering to gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter, specifying the project, location, and catalog where the database will reside, along with a \u003ccode\u003edatabaseId\u003c/code\u003e query parameter to identify the database.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the configuration for the database, and upon success, the response body will contain the newly created database's details.\u003c/p\u003e\n"],["\u003cp\u003eCreating a database requires one of the listed OAuth scopes for authorization and the \u003ccode\u003ebiglake.databases.create\u003c/code\u003e IAM permission 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/v1alpha1/{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/v1alpha1/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/v1alpha1/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)."]]