Thanks for reading and for your great question.
I don’t have a magic solution. I use script to backup and restore configuration, but it’s out of gcloud.
gcloud can manage configuration, but the application credential is out of the configuration (when you don’t use service account key file) and it’s a real missing feature.