Documentation

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
author

Google, Inc.

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

$servicePath

public mixed $servicePath

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

Search results