Cloud Bigtable V2 Client - Class RestoreInfo (1.29.2)

Reference documentation and code samples for the Cloud Bigtable V2 Client class RestoreInfo.

Information about a table restore.

Generated from protobuf message google.bigtable.admin.v2.RestoreInfo

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_type int

The type of the restore source.

↳ backup_info Google\Cloud\Bigtable\Admin\V2\BackupInfo

Information about the backup used to restore the table. The backup may no longer exist.

getSourceType

The type of the restore source.

Returns
TypeDescription
int

setSourceType

The type of the restore source.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBackupInfo

Information about the backup used to restore the table. The backup may no longer exist.

Returns
TypeDescription
Google\Cloud\Bigtable\Admin\V2\BackupInfo|null

hasBackupInfo

setBackupInfo

Information about the backup used to restore the table. The backup may no longer exist.

Parameter
NameDescription
var Google\Cloud\Bigtable\Admin\V2\BackupInfo
Returns
TypeDescription
$this

getSourceInfo

Returns
TypeDescription
string