Code updated to work with GCE v1 API