User

User

Information about an end user.

JSON representation
{

  // Union field type can be only one of the following:
  "knownUser": {
    object (KnownUser)
  },
  "deletedUser": {
    object (DeletedUser)
  },
  "unknownUser": {
    object (UnknownUser)
  }
  // End of list of possible types for union field type.
}
Fields
Union field type. The type of user, such as known, unknown, and deleted. type can be only one of the following:
knownUser

object (KnownUser)

A known user.

deletedUser

object (DeletedUser)

A user whose account has since been deleted.

unknownUser

object (UnknownUser)

A user about whom nothing is currently known.

KnownUser

A known user.

JSON representation
{
  "personName": string,
  "isCurrentUser": boolean
}
Fields
personName

string

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

boolean

True if this is the user making the request.

DeletedUser

This type has no fields.

A user whose account has since been deleted.

UnknownUser

This type has no fields.

A user about whom nothing is currently known.