Google api Google oauth Google_服务资源类

Google api Google oauth Google_服务资源类,google-api,google-oauth,google-api-php-client,Google Api,Google Oauth,Google Api Php Client,使用google api php客户端,当我使用/google api php客户端/src/contrib/google_Oauth2Service.php时 我得到以下错误: PHP致命错误:在中找不到类“Google_ServiceResource” /var/www/Test1/google-api-php-client/src/contrib/google_-Oauth2Service.php 第25行 然而,当我使用Google_PlusService.php文件时,它的工作效率是1

使用google api php客户端,当我使用/google api php客户端/src/contrib/google_Oauth2Service.php时

我得到以下错误:

PHP致命错误:在中找不到类“Google_ServiceResource” /var/www/Test1/google-api-php-client/src/contrib/google_-Oauth2Service.php 第25行

然而,当我使用Google_PlusService.php文件时,它的工作效率是100%


我遗漏了什么吗?

代码格式化和添加google oauth Tag我想你应该读一下,因为我不知道为什么你想引用google_oauth2service.php@DalmTo链接不起作用