code: @Override
      public RestoreSnapshotTaskResult restoreSnapshot(String snapshotId,
                                                       String userEmail)
          throws ContentStoreException {
          RestoreSnapshotTaskParameters taskParams =
              new RestoreSnapshotTaskParameters();
          taskParams.setSnapshotId(snapshotId);
          taskParams.setUserEmail(userEmail);
  
          String taskResult =
              contentStore.performTaskWithNoRetries(SnapshotConstants.RESTORE_SNAPSHOT_TASK_NAME,
                                                    taskParams.serialize());
  
          return RestoreSnapshotTaskResult.deserialize(taskResult);
      }
docs: {@inheritDoc}