Google_Service_PeopleService
extends Google_Service
in package
Service definition for PeopleService (v1).
Provides access to information about profiles and contacts.
For more information about this service, see the API Documentation
Tags
Table of Contents
- CONTACTS = "https://www.googleapis.com/auth/contacts"
- See, edit, download, and permanently delete your contacts.
- CONTACTS_OTHER_READONLY = "https://www.googleapis.com/auth/contacts.other.readonly"
- See and download contact info automatically saved in your "Other contacts".
- CONTACTS_READONLY = "https://www.googleapis.com/auth/contacts.readonly"
- See and download your contacts.
- DIRECTORY_READONLY = "https://www.googleapis.com/auth/directory.readonly"
- See and download your organization's GSuite directory.
- USER_ADDRESSES_READ = "https://www.googleapis.com/auth/user.addresses.read"
- View your street addresses.
- USER_BIRTHDAY_READ = "https://www.googleapis.com/auth/user.birthday.read"
- View your complete date of birth.
- USER_EMAILS_READ = "https://www.googleapis.com/auth/user.emails.read"
- View your email addresses.
- USER_GENDER_READ = "https://www.googleapis.com/auth/user.gender.read"
- See your gender.
- USER_ORGANIZATION_READ = "https://www.googleapis.com/auth/user.organization.read"
- See your education, work history and org info.
- USER_PHONENUMBERS_READ = "https://www.googleapis.com/auth/user.phonenumbers.read"
- View your phone numbers.
- USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"
- View your email address.
- USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile"
- See your personal info, including any personal info you've made publicly available.
- $availableScopes : mixed
- $batchPath : mixed
- $contactGroups : mixed
- $contactGroups_members : mixed
- $otherContacts : mixed
- $people : mixed
- $people_connections : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the PeopleService service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
CONTACTS
See, edit, download, and permanently delete your contacts.
public
mixed
CONTACTS
= "https://www.googleapis.com/auth/contacts"
CONTACTS_OTHER_READONLY
See and download contact info automatically saved in your "Other contacts".
public
mixed
CONTACTS_OTHER_READONLY
= "https://www.googleapis.com/auth/contacts.other.readonly"
CONTACTS_READONLY
See and download your contacts.
public
mixed
CONTACTS_READONLY
= "https://www.googleapis.com/auth/contacts.readonly"
DIRECTORY_READONLY
See and download your organization's GSuite directory.
public
mixed
DIRECTORY_READONLY
= "https://www.googleapis.com/auth/directory.readonly"
USER_ADDRESSES_READ
View your street addresses.
public
mixed
USER_ADDRESSES_READ
= "https://www.googleapis.com/auth/user.addresses.read"
USER_BIRTHDAY_READ
View your complete date of birth.
public
mixed
USER_BIRTHDAY_READ
= "https://www.googleapis.com/auth/user.birthday.read"
USER_EMAILS_READ
View your email addresses.
public
mixed
USER_EMAILS_READ
= "https://www.googleapis.com/auth/user.emails.read"
USER_GENDER_READ
See your gender.
public
mixed
USER_GENDER_READ
= "https://www.googleapis.com/auth/user.gender.read"
USER_ORGANIZATION_READ
See your education, work history and org info.
public
mixed
USER_ORGANIZATION_READ
= "https://www.googleapis.com/auth/user.organization.read"
USER_PHONENUMBERS_READ
View your phone numbers.
public
mixed
USER_PHONENUMBERS_READ
= "https://www.googleapis.com/auth/user.phonenumbers.read"
USERINFO_EMAIL
View your email address.
public
mixed
USERINFO_EMAIL
= "https://www.googleapis.com/auth/userinfo.email"
USERINFO_PROFILE
See your personal info, including any personal info you've made publicly available.
public
mixed
USERINFO_PROFILE
= "https://www.googleapis.com/auth/userinfo.profile"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$contactGroups
public
mixed
$contactGroups
$contactGroups_members
public
mixed
$contactGroups_members
$otherContacts
public
mixed
$otherContacts
$people
public
mixed
$people
$people_connections
public
mixed
$people_connections
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the PeopleService service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client