Class Announcement
Announcement created by a teacher for students of the course
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Classroom.v1.Data
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class Announcement : IDirectResponseSchema
Properties
AlternateLink
Absolute link to this announcement 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 announcement. If unspecified, the default value is ALL_STUDENTS.
Declaration
[JsonProperty("assigneeMode")]
public virtual string AssigneeMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 announcement 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 announcement.
Read-only.
Declaration
[JsonProperty("creatorUserId")]
public virtual string CreatorUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 announcement, 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 announcement. 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 able to see the announcement.
Declaration
[JsonProperty("individualStudentsOptions")]
public virtual IndividualStudentsOptions IndividualStudentsOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| IndividualStudentsOptions |
Materials
Additional materials.
Announcements 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> |
ScheduledTime
Optional timestamp when this announcement is scheduled to be published.
Declaration
[JsonProperty("scheduledTime")]
public virtual object ScheduledTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
State
Status of this announcement. If unspecified, the default state is DRAFT.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Text
Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UpdateTime
Timestamp of the most recent change to this announcement.
Read-only.
Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |