Open up API for domain verification
There is an existing set of APIs for automating the Search Console piece of getting a webhook url set up for push notifications. However, you still have to manually go into your GCP project to add the webhook to the Verified Domains under credentials in order to use it in your project. It would be great to be able to automate this piece as well, but there isn't an API we can call. Could one be created or opened up?
Waldek Kozba commented
This is really a missing piece.
Especially that the domain verification can be done via the https://developers.google.com/site-verification API together with https://cloud.google.com/sdk/gcloud/reference/dns/ . It's kinda weird that after such automated IaaC task (eg. with Ansible) one still needs to go to Cloud Console due to manually declare the already verified domain at Verified Domains.