Cloud Bigtable V2 Client - Class RestoreTableRequest (1.25.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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

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_idstring

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

↳ backupstring

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
varstring
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
varstring
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
varstring
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string