Is there a way to programmatically create a new dialogflow agent programmatically?
I've done gcloud projects create [name]
followed by gcloud services enable dialogflow.googleapis.com
I assumed this would be enough to use the projects.agent.import API but the API is giving an error:
Dialogflow API has not been used in project {REDACTED} before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/dialogflow.googleapis.com/overview?project={REDACTED} then retry.
Is there really no way to spin up a new project without interacting with the dialogflow console?