How to define a mesh in colab as the one imported?

You need to split the mesh data into one file for the cells, and one for the facets, see: Extracting mesh regions for gmsh mesh - #16 by dokken
You can load the facet data as described here:
How to extract and use physical labels from GMSH surfaces on FEniCS (2D mesh) - #12 by dokken