Cloud Bigtable V2 Client - Class RestoreInfo (2.3.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ source_typeint

The type of the restore source.

↳ backup_infoGoogle\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
varint
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
varGoogle\Cloud\Bigtable\Admin\V2\BackupInfo
Returns
TypeDescription
$this

getSourceInfo

Returns
TypeDescription
string