backupInfo = $backupInfo; } /** * @return BackupInfo */ public function getBackupInfo() { return $this->backupInfo; } /** * Name of the table being created and restored to. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * 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 * OptimizeRestoredTableMetadata. 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. * * @param string $optimizeTableOperationName */ public function setOptimizeTableOperationName($optimizeTableOperationName) { $this->optimizeTableOperationName = $optimizeTableOperationName; } /** * @return string */ public function getOptimizeTableOperationName() { return $this->optimizeTableOperationName; } /** * The progress of the RestoreTable operation. * * @param OperationProgress $progress */ public function setProgress(OperationProgress $progress) { $this->progress = $progress; } /** * @return OperationProgress */ public function getProgress() { return $this->progress; } /** * The type of the restore source. * * Accepted values: RESTORE_SOURCE_TYPE_UNSPECIFIED, BACKUP * * @param self::SOURCE_TYPE_* $sourceType */ public function setSourceType($sourceType) { $this->sourceType = $sourceType; } /** * @return self::SOURCE_TYPE_* */ public function getSourceType() { return $this->sourceType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RestoreTableMetadata::class, 'Google_Service_BigtableAdmin_RestoreTableMetadata');