Cloud Bigtable V2 Client - Class RestoreTableMetadata (2.7.0)

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_infoBackupInfo
↳ 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.

↳ progressOperationProgress

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
BackupInfo|null

hasBackupInfo

setBackupInfo

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

Parameter
NameDescription
varBackupInfo
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
OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the RestoreTable operation.

Parameter
NameDescription
varOperationProgress
Returns
TypeDescription
$this

getSourceInfo

Returns
TypeDescription
string