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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-23 UTC.