private function setupGoogleClient()
    {
        $client = new Google_Client();

        $client->setClientId($this->getConfig('oauth2_client_id'));
        $client->setClientSecret($this->getConfig('oauth2_client_secret'));
        $client->setRedirectUri($this->getConfig('oauth2_redirect_uri'));
        $client->setScopes($this->getConfig('services'));
        $client->setAccessType($this->getConfig('access_type'));
        $client->setApprovalPrompt($this->getConfig('approval_prompt'));

        return $client;
    }