title: How to write query result to Google Cloud Storage bucket directly?
body: <pre><code>from google.cloud import bigquery  
  query = """ select * from emp where emp_name=@emp_name""" 
  query_params = [bigquery.ScalarQueryParameter('emp_name', 'STRING', 'name')] 
  job_config = bigquery.QueryJobConfig() 
  job_config.query_parameters = query_params  
  client = bigquery.Client() 
  query_job = client.query(query, job_config=job_config) 
  result = query_job.result()
  </code></pre>
  
  <p>How can I write the result to Google Cloud Storage instead of writing it to the CSV and uploading it to cloud storage bucket?</p>