Struct google_classroom1::Course [] [src]

pub struct Course {
    pub update_time: Option<String>,
    pub description: Option<String>,
    pub enrollment_code: Option<String>,
    pub guardians_enabled: Option<bool>,
    pub course_group_email: Option<String>,
    pub course_material_sets: Option<Vec<CourseMaterialSet>>,
    pub course_state: Option<String>,
    pub id: Option<String>,
    pub name: Option<String>,
    pub room: Option<String>,
    pub alternate_link: Option<String>,
    pub section: Option<String>,
    pub creation_time: Option<String>,
    pub teacher_group_email: Option<String>,
    pub teacher_folder: Option<DriveFolder>,
    pub owner_id: Option<String>,
    pub description_heading: Option<String>,
}

Fields

Time of the most recent update to this course. Specifying this field in a course update mask results in an error.

Read-only.

Optional description. For example, "We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.

Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error.

Read-only.

Whether or not guardian notifications are enabled for this course.

Read-only.

The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions.

Read-only.

Sets of materials that appear on the "about" page of this course.

Read-only.

State of the course. If unspecified, the default state is PROVISIONED.

Identifier for this course assigned by Classroom.

When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The id is still assigned by Classroom and cannot be updated after the course is created.

Specifying this field in a course update mask results in an error.

Name of the course. For example, "10th Grade Biology". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.

Optional room location. For example, "301". If set, this field must be a valid UTF-8 string and no longer than 650 characters.

Absolute link to this course in the Classroom web UI.

Read-only.

Section of the course. For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.

Creation time of the course. Specifying this field in a course update mask results in an error.

Read-only.

The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions.

Read-only.

Information about a Drive Folder that is shared with all teachers of the course.

This field will only be set for teachers of the course and domain administrators.

Read-only.

The identifier of the owner of a course.

When specified as a parameter of a create course request, this field is required. 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

This must be set in a create request. Specifying this field in a course update mask results in an INVALID_ARGUMENT error.

Optional heading for the description. For example, "Welcome to 10th Grade Biology." If set, this field must be a valid UTF-8 string and no longer than 3600 characters.

Trait Implementations

impl Default for Course
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for Course
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Course
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for Course
[src]

impl Resource for Course
[src]

impl ResponseResult for Course
[src]