Cloud Bigtable V2 Client - Class RestoreTableMetadata (1.26.2)

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
dataarray

Optional. Data for populating the Message object.

↳ namestring

Name of the table being created and restored to.

↳ source_typeint

The type of the restore source.

↳ backup_infoGoogle\Cloud\Bigtable\Admin\V2\BackupInfo
↳ optimize_table_operation_namestring

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.

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

getSourceType

The type of the restore source.

Returns
TypeDescription
int

setSourceType

The type of the restore source.

Parameter
NameDescription
varint
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
varGoogle\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
varstring
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
varGoogle\Cloud\Bigtable\Admin\V2\OperationProgress
Returns
TypeDescription
$this

getSourceInfo

Returns
TypeDescription
string