title: Can I publish an agent version and manage environments on Dialogflow V2 API?
body: <p>Can I publish an agent version on an environment using the Dialogflow V2 API?
  I can't find any documentation on how to do that.<br>
  The doc about versions and environments only mentions doing this using the console (<a href="https://cloud.google.com/dialogflow/docs/agents-versions" rel="nofollow noreferrer">https://cloud.google.com/dialogflow/docs/agents-versions</a>).<br>
  And the API doc of the agent environments resource only contains a <em>list</em> method (<a href="https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.environments" rel="nofollow noreferrer">https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.environments</a>).<br>
  Does it mean that every change done using the API is automatically reflected in production?<br>
  Or does it mean that every change done by API is staged, and can only go to production by manually accessing the console and publishing the new version?<br>
  Both options seems terrible by the way.</p>