/**
  * @param $userId
  *
  * @return GoogleAuthContainer
  */
 public function getAuthContainer($userId)
 {
     $authContainer = parent::getAuthContainer($userId);
     $oauthInfo = ['access_token' => $authContainer->client->getAccessToken()['access_token'], 'client_id' => $authContainer->client->getClientId(), 'client_secret' => $authContainer->client->getClientSecret()];
     $authContainer->service->SetOAuth2Info($oauthInfo);
     return $authContainer;
 }
 /**
  * @param $userId
  *
  * @return GoogleAuthContainer
  */
 public function getAuthContainer($userId)
 {
     $authContainer = parent::getAuthContainer($userId);
     $authContainer->reportingService = new Google_Service_AnalyticsReporting($this->_client);
     return $authContainer;
 }