Show / Hide Table of Contents

Class CourseWork

Course work created by a teacher for students of the course.

Inheritance
System.Object
CourseWork
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Classroom.v1.Data
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CourseWork : IDirectResponseSchema

Properties

AlternateLink

Absolute link to this course work in the Classroom web UI. This is only populated if state is PUBLISHED.

Read-only.

Declaration
[JsonProperty("alternateLink")]
public virtual string AlternateLink { get; set; }
Property Value
Type Description
System.String

AssigneeMode

Assignee mode of the coursework. If unspecified, the default value is ALL_STUDENTS.

Declaration
[JsonProperty("assigneeMode")]
public virtual string AssigneeMode { get; set; }
Property Value
Type Description
System.String

Assignment

Assignment details. This is populated only when work_type is ASSIGNMENT.

Read-only.

Declaration
[JsonProperty("assignment")]
public virtual Assignment Assignment { get; set; }
Property Value
Type Description
Assignment

AssociatedWithDeveloper

Whether this course work item is associated with the Developer Console project making the request.

See google.classroom.Work.CreateCourseWork for more details.

Read-only.

Declaration
[JsonProperty("associatedWithDeveloper")]
public virtual bool? AssociatedWithDeveloper { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

CourseId

Identifier of the course.

Read-only.

Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
Type Description
System.String

CreationTime

Timestamp when this course work was created.

Read-only.

Declaration
[JsonProperty("creationTime")]
public virtual object CreationTime { get; set; }
Property Value
Type Description
System.Object

CreatorUserId

Identifier for the user that created the coursework.

Read-only.

Declaration
[JsonProperty("creatorUserId")]
public virtual string CreatorUserId { get; set; }
Property Value
Type Description
System.String

Description

Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

DueDate

Optional date, in UTC, that submissions for this course work are due. This must be specified if due_time is specified.

Declaration
[JsonProperty("dueDate")]
public virtual Date DueDate { get; set; }
Property Value
Type Description
Date

DueTime

Optional time of day, in UTC, that submissions for this course work are due. This must be specified if due_date is specified.

Declaration
[JsonProperty("dueTime")]
public virtual TimeOfDay DueTime { get; set; }
Property Value
Type Description
TimeOfDay

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

Classroom-assigned identifier of this course work, unique per course.

Read-only.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

IndividualStudentsOptions

Identifiers of students with access to the coursework. This field is set only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is INDIVIDUAL_STUDENTS, then only students specified in this field will be assigned the coursework.

Declaration
[JsonProperty("individualStudentsOptions")]
public virtual IndividualStudentsOptions IndividualStudentsOptions { get; set; }
Property Value
Type Description
IndividualStudentsOptions

Materials

Additional materials.

CourseWork must have no more than 20 material items.

Declaration
[JsonProperty("materials")]
public virtual IList<Material> Materials { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Material>

MaxPoints

Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.

Declaration
[JsonProperty("maxPoints")]
public virtual double? MaxPoints { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

MultipleChoiceQuestion

Multiple choice question details. For read operations, this field is populated only when work_type is MULTIPLE_CHOICE_QUESTION. For write operations, this field must be specified when creating course work with a work_type of MULTIPLE_CHOICE_QUESTION, and it must not be set otherwise.

Declaration
[JsonProperty("multipleChoiceQuestion")]
public virtual MultipleChoiceQuestion MultipleChoiceQuestion { get; set; }
Property Value
Type Description
MultipleChoiceQuestion

ScheduledTime

Optional timestamp when this course work is scheduled to be published.

Declaration
[JsonProperty("scheduledTime")]
public virtual object ScheduledTime { get; set; }
Property Value
Type Description
System.Object

State

Status of this course work. If unspecified, the default state is DRAFT.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
System.String

SubmissionModificationMode

Setting to determine when students are allowed to modify submissions. If unspecified, the default value is MODIFIABLE_UNTIL_TURNED_IN.

Declaration
[JsonProperty("submissionModificationMode")]
public virtual string SubmissionModificationMode { get; set; }
Property Value
Type Description
System.String

Title

Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

TopicId

Identifier for the topic that this coursework is associated with. Must match an existing topic in the course.

Declaration
[JsonProperty("topicId")]
public virtual string TopicId { get; set; }
Property Value
Type Description
System.String

UpdateTime

Timestamp of the most recent change to this course work.

Read-only.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

WorkType

Type of this course work.

The type is set when the course work is created and cannot be changed.

Declaration
[JsonProperty("workType")]
public virtual string WorkType { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top