User
Information about an end user.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field
type
. The type of user, such as known, unknown, and deleted.
type
can be only one of the following:
|
||
knownUser
|
A known user. |
|
deletedUser
|
A user whose account has since been deleted. |
|
unknownUser
|
A user about whom nothing is currently known. |
KnownUser
A known user.
JSON representation | |
---|---|
{ "personName": string, "isCurrentUser": boolean } |
Fields | |
---|---|
personName
|
The identifier for this user that can be used with the People API to get more information. The format is "people/ACCOUNT_ID". See https://developers.google.com/people/ . |
isCurrentUser
|
True if this is the user making the request. |
DeletedUser
A user whose account has since been deleted.
UnknownUser
A user about whom nothing is currently known.