Assuming you are asking if cloudml-magic extension works on Colaboratory?
The answer maybe yes, but a little bit complicated.
Since Colaboratory doesn’t have a persistent disk, you must set up everything from beginning everytime you use it.
You can install cloudml-magic into Colaboratory easily, just run
!pip install cloudmlmagic
However, because the extension uses GCP’s application credential to connect your GCP project, you must copy your credential file into the VM, or run gcloud command to authorize.
I hope Google would implement same function as cloudml-magic into Colaboratory or Datalab.