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

CoursesListOptions

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

Additional options for Classroom#coursesList.

interface CoursesListOptions {
courseStates?:
| "COURSE_STATE_UNSPECIFIED"
| "ACTIVE"
| "ARCHIVED"
| "PROVISIONED"
| "DECLINED"
| "SUSPENDED";
pageSize?: number;
pageToken?: string;
studentId?: string;
teacherId?: string;
}

§Properties

§
courseStates?: "COURSE_STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "PROVISIONED" | "DECLINED" | "SUSPENDED"
[src]

Restricts returned courses to those in one of the specified states The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.

§
pageSize?: number
[src]

Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.

§
pageToken?: string
[src]

nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.

§
studentId?: string
[src]

Restricts returned courses to those having a student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal "me", indicating the requesting user

§
teacherId?: string
[src]

Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal "me", indicating the requesting user