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.
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
Type
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class RestoreTableMetadata (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/Admin.V2.RestoreTableMetadata)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/Admin.V2.RestoreTableMetadata)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/Admin.V2.RestoreTableMetadata)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/Admin.V2.RestoreTableMetadata)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/Admin.V2.RestoreTableMetadata)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/Admin.V2.RestoreTableMetadata)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/Admin.V2.RestoreTableMetadata)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/Admin.V2.RestoreTableMetadata)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/Admin.V2.RestoreTableMetadata)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/Admin.V2.RestoreTableMetadata)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/Admin.V2.RestoreTableMetadata)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/Admin.V2.RestoreTableMetadata)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/Admin.V2.RestoreTableMetadata)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/Admin.V2.RestoreTableMetadata)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/Admin.V2.RestoreTableMetadata)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/Admin.V2.RestoreTableMetadata)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/Admin.V2.RestoreTableMetadata)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/Admin.V2.RestoreTableMetadata)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/Admin.V2.RestoreTableMetadata)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/Admin.V2.RestoreTableMetadata)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/Admin.V2.RestoreTableMetadata)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/Admin.V2.RestoreTableMetadata)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/Admin.V2.RestoreTableMetadata)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/Admin.V2.RestoreTableMetadata)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/Admin.V2.RestoreTableMetadata)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/Admin.V2.RestoreTableMetadata)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/Admin.V2.RestoreTableMetadata)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/Admin.V2.RestoreTableMetadata)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/Admin.V2.RestoreTableMetadata)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/Admin.V2.RestoreTableMetadata)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/Admin.V2.RestoreTableMetadata) \nReference documentation and code samples for the Cloud Bigtable V2 Client class RestoreTableMetadata.\n\nMetadata type for the long-running operation returned by\n[RestoreTable](/php/docs/reference/cloud-bigtable/latest/Admin.V2.Client.BigtableTableAdminClient#_Google_Cloud_Bigtable_Admin_V2_Client_BigtableTableAdminClient__restoreTable__).\n\nGenerated from protobuf message `google.bigtable.admin.v2.RestoreTableMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ Admin \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nName of the table being created and restored to.\n\n### setName\n\nName of the table being created and restored to.\n\n### getSourceType\n\nThe type of the restore source.\n\n### setSourceType\n\nThe type of the restore source.\n\n### getBackupInfo\n\nGenerated from protobuf field `.google.bigtable.admin.v2.BackupInfo backup_info = 3;`\n\n### hasBackupInfo\n\n### setBackupInfo\n\nGenerated from protobuf field `.google.bigtable.admin.v2.BackupInfo backup_info = 3;`\n\n### getOptimizeTableOperationName\n\nIf exists, the name of the long-running operation that will be used to\ntrack the post-restore optimization process to optimize the performance of\nthe restored table. The metadata type of the long-running operation is\nOptimizeRestoreTableMetadata. The response type is\n[Empty](https://protobuf.dev/reference/php/api-docs/Empty). This long-running operation may be\nautomatically created by the system if applicable after the\nRestoreTable long-running operation completes successfully. This operation\nmay not be created if the table is already optimized or the restore was\nnot successful.\n\n### setOptimizeTableOperationName\n\nIf exists, the name of the long-running operation that will be used to\ntrack the post-restore optimization process to optimize the performance of\nthe restored table. The metadata type of the long-running operation is\nOptimizeRestoreTableMetadata. The response type is\n[Empty](https://protobuf.dev/reference/php/api-docs/Empty). This long-running operation may be\nautomatically created by the system if applicable after the\nRestoreTable long-running operation completes successfully. This operation\nmay not be created if the table is already optimized or the restore was\nnot successful.\n\n### getProgress\n\nThe progress of the\n[RestoreTable](/php/docs/reference/cloud-bigtable/latest/Admin.V2.Client.BigtableTableAdminClient#_Google_Cloud_Bigtable_Admin_V2_Client_BigtableTableAdminClient__restoreTable__)\noperation.\n\n### hasProgress\n\n### clearProgress\n\n### setProgress\n\nThe progress of the\n[RestoreTable](/php/docs/reference/cloud-bigtable/latest/Admin.V2.Client.BigtableTableAdminClient#_Google_Cloud_Bigtable_Admin_V2_Client_BigtableTableAdminClient__restoreTable__)\noperation.\n\n### getSourceInfo"]]