Cloud Bigtable V2 Client - Class RestoreTableMetadata (1.28.3)

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

Metadata type for the long-running operation returned by RestoreTable.

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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the table being created and restored to.

↳ source_type int

The type of the restore source.

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

If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.

↳ progress Google\Cloud\Bigtable\Admin\V2\OperationProgress

The progress of the RestoreTable operation.

getName

Name of the table being created and restored to.

Returns
TypeDescription
string

setName

Name of the table being created and restored to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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

Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 3;

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

hasBackupInfo

setBackupInfo

Generated from protobuf field .google.bigtable.admin.v2.BackupInfo backup_info = 3;

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

getOptimizeTableOperationName

If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.

Returns
TypeDescription
string

setOptimizeTableOperationName

If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProgress

The progress of the RestoreTable operation.

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

hasProgress

clearProgress

setProgress

The progress of the RestoreTable operation.

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

getSourceInfo

Returns
TypeDescription
string