title: Can't set project in Cloud Natural Language API
body: <p>I'm using the api sample as found <a href="https://cloud.google.com/natural-language/docs/sentiment-tutorial" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Running <code>gcloud config list</code> shows my default project as <code>project = multichoice-insights</code></p>
  
  <p>Important extract of the code shows that I get the default credentials:</p>
  
  <pre><code>  credentials = GoogleCredentials.get_application_default().create_scoped(
    ['https://www.googleapis.com/auth/cloud-platform'],
  )
  </code></pre>
  
  <p>However, when I try and use the api, I get the error message:</p>
  
  <pre><code>googleapiclient.errors.HttpError: &lt;HttpError 403 when requesting 
  https://language.googleapis.com/v1beta1/documents:analyzeSentiment?
  alt=json returned "Google Cloud Natural Language API has not been used 
  in project google.com:cloudsdktool before or it is disabled. Enable it 
  by visiting
     https://console.developers.google.com/apis/api/language.googleapis.com/over
  view?project=google.com:cloudsdktool then retry. If you enabled this 
  API recently, wait a few minutes for the action to propagate to our 
  systems and retry."&gt;
  </code></pre>
  
  <p>I think this shows that the project used: <code>project=google.com:cloudsdktool</code></p>
  
  <p>How can I change this to <code>project-name</code>?</p>
  
  <p>I have enabled this api in the console.</p>