Cloud Bigtable V2 Client - Class RestoreTableRequest (1.23.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the instance in which to create the restored table. This instance must be in the same project as the source backup. Values are of the form projects/<project>/instances/<instance>.

↳ table_id string

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>.

↳ backup string

Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

getParent

Required. The name of the instance in which to create the restored table. This instance must be in the same project as the source backup.

Values are of the form projects/<project>/instances/<instance>.

Returns
TypeDescription
string

setParent

Required. The name of the instance in which to create the restored table. This instance must be in the same project as the source backup.

Values are of the form projects/<project>/instances/<instance>.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getBackup

Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

Returns
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string