Skip to content

Commit 551f800

Browse files
committed
Updated Directory.php
1 parent 4b00883 commit 551f800

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

src/Google/Service/Directory.php

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,8 +1958,8 @@ public function get($userKey, $clientId, $optParams = array())
19581958
return $this->call('get', array($params), "Google_Service_Directory_Token");
19591959
}
19601960
/**
1961-
* Returns the set of current, valid verification codes for the specified user.
1962-
* (tokens.listTokens)
1961+
* Returns the set of tokens specified user has issued to 3rd party
1962+
* applications. (tokens.listTokens)
19631963
*
19641964
* @param string $userKey
19651965
* Identifies the user in the API request. The value can be the user's primary email address, alias
@@ -3958,23 +3958,19 @@ public function getKind()
39583958

39593959
class Google_Service_Directory_User extends Google_Collection
39603960
{
3961-
protected $addressesType = 'Google_Service_Directory_UserAddress';
3962-
protected $addressesDataType = 'array';
3961+
public $addresses;
39633962
public $agreedToTerms;
39643963
public $aliases;
39653964
public $changePasswordAtNextLogin;
39663965
public $creationTime;
39673966
public $customerId;
39683967
public $deletionTime;
3969-
protected $emailsType = 'Google_Service_Directory_UserEmail';
3970-
protected $emailsDataType = 'array';
3968+
public $emails;
39713969
public $etag;
3972-
protected $externalIdsType = 'Google_Service_Directory_UserExternalId';
3973-
protected $externalIdsDataType = 'array';
3970+
public $externalIds;
39743971
public $hashFunction;
39753972
public $id;
3976-
protected $imsType = 'Google_Service_Directory_UserIm';
3977-
protected $imsDataType = 'array';
3973+
public $ims;
39783974
public $includeInGlobalAddressList;
39793975
public $ipWhitelisted;
39803976
public $isAdmin;
@@ -3986,14 +3982,11 @@ class Google_Service_Directory_User extends Google_Collection
39863982
protected $nameDataType = '';
39873983
public $nonEditableAliases;
39883984
public $orgUnitPath;
3989-
protected $organizationsType = 'Google_Service_Directory_UserOrganization';
3990-
protected $organizationsDataType = 'array';
3985+
public $organizations;
39913986
public $password;
3992-
protected $phonesType = 'Google_Service_Directory_UserPhone';
3993-
protected $phonesDataType = 'array';
3987+
public $phones;
39943988
public $primaryEmail;
3995-
protected $relationsType = 'Google_Service_Directory_UserRelation';
3996-
protected $relationsDataType = 'array';
3989+
public $relations;
39973990
public $suspended;
39983991
public $suspensionReason;
39993992
public $thumbnailPhotoUrl;

0 commit comments

Comments
 (0)