View Source GoogleApi.Classroom.V1.Model.UserProfile (google_api_classroom v0.21.2)

Global information for a user.

Attributes

  • emailAddress (type: String.t, default: nil) - Email address of the user. Must request https://www.googleapis.com/auth/classroom.profile.emails scope for this field to be populated in a response body. Read-only.
  • id (type: String.t, default: nil) - Identifier of the user. Read-only.
  • name (type: GoogleApi.Classroom.V1.Model.Name.t, default: nil) - Name of the user. Read-only.
  • permissions (type: list(GoogleApi.Classroom.V1.Model.GlobalPermission.t), default: nil) - Global permissions of the user. Read-only.
  • photoUrl (type: String.t, default: nil) - URL of user's profile photo. Must request https://www.googleapis.com/auth/classroom.profile.photos scope for this field to be populated in a response body. Read-only.
  • verifiedTeacher (type: boolean(), default: nil) - Represents whether a Google Workspace for Education user's domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.UserProfile{
  emailAddress: String.t() | nil,
  id: String.t() | nil,
  name: GoogleApi.Classroom.V1.Model.Name.t() | nil,
  permissions: [GoogleApi.Classroom.V1.Model.GlobalPermission.t()] | nil,
  photoUrl: String.t() | nil,
  verifiedTeacher: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.