In (most?) places throughout the web-based console you can click a little link to show you the REST API equivalent of your resource (whether it&#x27;s an instance, a disk, or a command you&#x27;re about to do).  You might be able to make the job of &quot;exporting your infrastructure&quot; somewhat straightforward from those, though I think I&#x27;d personally just write against the handful of APIs in Go.  All of our newer offerings (meaning GCS, GCE, etc.) have really sane object models that just map directly to a fairly obvious, autogenerated struct in the Go client library.  Here&#x27;s the struct for an Instance:<p><pre><code>  https:&#x2F;&#x2F;godoc.org&#x2F;google.golang.org&#x2F;api&#x2F;compute&#x2F;v1#Instance</code></pre>