Reference documentation and code samples for the Cloud Bigtable V2 Client class RestoreTableRequest.
The request for RestoreTable.
Generated from protobuf message google.bigtable.admin.v2.RestoreTableRequest
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the instance in which to create the restored table. Values are of the form |
↳ table_id |
string
Required. The id of the table to create and restore to. This table must not already exist. The |
↳ backup |
string
Name of the backup from which to restore. Values are of the form |
getParent
Required. The name of the instance in which to create the restored
table. Values are of the form projects/<project>/instances/<instance>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The name of the instance in which to create the restored
table. Values are of the form projects/<project>/instances/<instance>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTableId
Required. The id of the table to create and restore to. This
table must not already exist. The table_id appended to
parent forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTableId
Required. The id of the table to create and restore to. This
table must not already exist. The table_id appended to
parent forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBackup
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasBackup
setBackup
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|