Cloud Bigtable V2 Client - Class RestoreInfo (2.4.0)

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
Name Description
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
Type Description
int

setSourceType

The type of the restore source.

Parameter
Name Description
var int
Returns
Type Description
$this

getBackupInfo

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

Returns
Type Description
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
Name Description
var Google\Cloud\Bigtable\Admin\V2\BackupInfo
Returns
Type Description
$this

getSourceInfo

Returns
Type Description
string