Google_UserinfoV2MeServiceResource
The "me" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /google-api/src/contrib/Google_Oauth2Service.php
- class Google_UserinfoV2MeServiceResource extends Google_ServiceResource {
- /**
- * (me.get)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Userinfo
- */
- public function get($optParams = array()) {
- $params = array();
- $params = array_merge($params, $optParams);
- $data = $this->__call('get', array($params));
- if ($this->useObjects()) {
- return new Google_Userinfo($data);
- } else {
- return $data;
- }
- }
- }