title: Python and GCP getIamPolicy for a project
body: <p>I am trying to get a list of users and their access for a project.</p>
  
  <p>Http doesn't work as we're behind a firewall and I just get a response <code>not ready error</code>.</p>
  
  <p>I have some code ...</p>
  
  <pre><code>import google.cloud.resource_manager
  
  keyfile="xxxxx.json"
  client = google.cloud.resource_manager.client.Client.from_service_account_json(keyfile)
  
  for project in client.list_projects():
      print("%s, %s" % (project.project_id, project.status))    # Works Fine
      print project.getIamPolicy()
  </code></pre>
  
  <p>The first print statement works but I can't find the correct syntax for <code>getIamPolicy</code> although it does seem to be possible according to documentation.</p>
  
  <p>If any one else have done this, can you supply me with the full syntax?</p>
  
  <p>I wish to do this from within a python script, not using the command line or sub processes.</p>
  
  <p>Thanks,
  Ian</p>