title: Download files from google bucket
body: <p>I'm having issues downloading files on my google bucket
  I followed this <a href="https://support.google.com/googleplay/android-developer/answer/6135870?visit_id=636715859850203138-3634819881&amp;p=financial_export&amp;rd=1#export" rel="nofollow noreferrer">Google tutorial</a>(using a client library &amp; service account)</p>
  
  <p>Here is the python code I use (from google example) :
      import json
      from httplib2 import Http
      from oauth2client.client import SignedJwtAssertionCredentials
      from apiclient.discovery import build</p>
  
  <pre><code>client_email = 'myclientname@myproject.iam.gserviceaccount.com'
  
  json_file = 'resources/Google/myproject-anumber.json' ## &lt;---- JSON provided when i created the service account
  
  cloud_storage_bucket = 'mybucketname'
  
  report_to_download = 'path/to/my/file.zip'
  
  
  private_key = json.loads(open(json_file).read())['private_key']
  
  credentials = SignedJwtAssertionCredentials(client_email, private_key, 
                'https://www.googleapis.com/auth/devstorage.read_only')
  
  storage = build('storage', 'v1', http=credentials.authorize(Http()))
  report = storage.objects().get(bucket = cloud_storage_bucket, object = 
  report_to_download).execute()
  </code></pre>
  
  <p>I thought i would have then to output 'report' to a file, but no, as described here, report is only a dict object :</p>
  
  <p><a href="https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/storage_v1beta2.objectAccessControls.html#get" rel="nofollow noreferrer">https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/storage_v1beta2.objectAccessControls.html#get</a></p>
  
  <p>I tried then to use the selfLink attribute or mediaLink, but with no success. Same for '<a href="https://cloud.google.com/storage/docs/json_api/v1/objects/get" rel="nofollow noreferrer">https://cloud.google.com/storage/docs/json_api/v1/objects/get</a>'
  which returns the ACL aswell</p>
  
  <p>Thank you in advance,</p>