title: google api 'Google_Service_Plus' : cannot access 'people get'
body: <p>I can use google client to get the email, like this : </p>
  
  <pre><code>$this-&gt;client-&gt;setClientId('...');
  $this-&gt;client-&gt;setClientSecret('...');
  $this-&gt;client-&gt;setRedirectUri('...');
  $this-&gt;client-&gt;setScopes('email');
  $this-&gt;client-&gt;addScope('https://www.googleapis.com/auth/plus.login');
  $this-&gt;client-&gt;setDeveloperKey('...');
  $this-&gt;client-&gt;setAccessType = 'offline';
  </code></pre>
  
  <p>...
      public function getEmail()
      {
          $this->setToken($_SESSION['access_token']);
          $this->client->verifyIdToken();
          $payload = $this->client->verifyIdToken()->getAttributes()['payload']['email'];
          echo $payload;</p>
  
  <p>...
  This echoes the email. Good.</p>
  
  <p>Now I want to use Google_Service_Plus 'people->get', like this : </p>
  
  <pre><code>$this-&gt;setToken($_SESSION['access_token']);
  $this-&gt;client-&gt;verifyIdToken();
  $googlePlus = new Google_Service_Plus($this-&gt;client);
  $userProfile = $googlePlus-&gt;people-&gt;get('me');
  </code></pre>
  
  <p>But $userProfile returns this error : </p>
  
  <pre><code>Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error calling GET https://www.googleapis.com/plus/v1/people/me?key=AIzaSyDvOsKSpSKmzVYV6m4tqZ5zHs8GIMdUv9s: (403) Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.' in C:\xampp\htdocs\phpacademy\googleauth\vendor\google\src\Google\Http\REST.php on line 111
  </code></pre>
  
  <p>What am I missing ?</p>