google_api_apps_activity v0.11.1 GoogleApi.AppsActivity.V1.Model.User View Source

A representation of a user.

Attributes

  • isDeleted (type: boolean(), default: nil) - A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted.
  • isMe (type: boolean(), default: nil) - Whether the user is the authenticated user.
  • name (type: String.t, default: nil) - The displayable name of the user.
  • permissionId (type: String.t, default: nil) - The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource.
  • photo (type: GoogleApi.AppsActivity.V1.Model.Photo.t, default: nil) - The profile photo of the user. Not present if the user has no profile photo.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AppsActivity.V1.Model.User{
  isDeleted: boolean(),
  isMe: boolean(),
  name: String.t(),
  permissionId: String.t(),
  photo: GoogleApi.AppsActivity.V1.Model.Photo.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.