Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
HTTP request
POST https://bigtableadmin.googleapis.com/v2/{parent=projects/*/instances/*}/tables
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The unique name of the instance in which to create the table. Values are of the form Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "tableId": string, "table": { object ( |
Fields | |
---|---|
tableId |
Required. The name by which the new table should be referred to within the parent instance, e.g., |
table |
Required. The Table to create. |
initialSplits[] |
The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions). Given two split keys, Example:
|
Response body
If successful, the response body contains a newly created instance of Table
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigtable.admin
https://www.googleapis.com/auth/bigtable.admin.table
https://www.googleapis.com/auth/cloud-bigtable.admin
https://www.googleapis.com/auth/cloud-bigtable.admin.table
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Split
An initial split point for a newly created table.
JSON representation |
---|
{ "key": string } |
Fields | |
---|---|
key |
row key to use as an initial tablet boundary. A base64-encoded string. |