Create a new table by restoring from a completed backup. The returned table long-running operation
can be used to track the progress of the operation, and to cancel it. The metadata
field type is RestoreTableMetadata
. The response
type is Table
, if successful.
HTTP request
POST https://bigtableadmin.googleapis.com/v2/{parent=projects/*/instances/*}/tables:restore
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the instance in which to create the restored 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, // Union field |
Fields | |
---|---|
table |
Required. The id of the table to create and restore to. This table must not already exist. The |
Union field source . Required. The source from which to restore. source can be only one of the following: |
|
backup |
Name of the backup from which to restore. Values are of the form Authorization requires the following IAM permission on the specified resource
|
Response body
If successful, the response body contains an instance of Operation
.
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.