创建新表。
HTTP 请求
POST https://biglake.googleapis.com/v1/{parent=projects/*/locations/*/catalogs/*/databases/*}/tables
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
parent |
必需。将在其中创建此表的父级资源。格式:projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId} |
查询参数
| 参数 | |
|---|---|
tableId |
必需。要用于表的 ID,该 ID 将成为表资源名称的最后一个组成部分。 |
请求正文
请求正文包含一个 Table 实例。
响应正文
如果成功,响应正文将包含一个新创建的 Table 实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/bigqueryhttps://www.googleapis.com/auth/cloud-platform
如需了解详情,请参阅 Authentication Overview。
IAM 权限
需要拥有 parent 资源的以下 IAM 权限:
biglake.tables.create
如需了解详情,请参阅 IAM 文档。