title: List google cloud compute engine active instance
body: <p>I'm looking to find out all the active resources( like compute engine, gke etc) and the respective zones .
  I tried below python code to print that but its printing all zone information wherever compute engine is available , can please someone guide me what functions are available to do so .</p>
  <pre><code>    compute = googleapiclient.discovery.build('compute', 'v1')
      request = compute.instances().aggregatedList(project=project)
      while request is not None:
          response = request.execute()
          for name, instances_scoped_list in response['items'].items():
              pprint((name, instances_scoped_list))
              request = compute.instances().aggregatedList_next(previous_request=request, previous_response=response)
  </code></pre>