How to add just a domain for different subdomains Google console

I had this error when I was trying to test google drive:

enter image description here

So I added the domain to google console, something like this (and it works):
enter image description here

But as you can see there are some differents subdomains to the same domain, is there a way to put just the domain and that takes all subdomains refers to the same domain, like a wildcard somithing like *.domain.com? I think that I must use something else