Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UserProfile

import type { UserProfile } from "https://googleapis.deno.dev/v1/classroom:v1.ts";

Global information for a user.

interface UserProfile {
emailAddress?: string;
id?: string;
name?: Name;
permissions?: GlobalPermission[];
photoUrl?: string;
verifiedTeacher?: boolean;
}

§Properties

§
emailAddress?: string
[src]

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?: string
[src]

Identifier of the user. Read-only.

§
name?: Name
[src]

Name of the user. Read-only.

§
permissions?: GlobalPermission[]
[src]

Global permissions of the user. Read-only.

§
photoUrl?: string
[src]

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?: boolean
[src]

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