Class Announcement
Announcement created by a teacher for students of the course
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 |
---|---|
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 |
---|---|
string |
CourseId
Identifier of the course. Read-only.
Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
Type | Description |
---|---|
string |
CreationTime
object representation of CreationTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreationTimeDateTimeOffset instead.")]
public virtual object CreationTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreationTimeDateTimeOffset
DateTimeOffset representation of CreationTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreationTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreationTimeRaw
Timestamp when this announcement was created. Read-only.
Declaration
[JsonProperty("creationTime")]
public virtual string CreationTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
CreatorUserId
Identifier for the user that created the announcement. Read-only.
Declaration
[JsonProperty("creatorUserId")]
public virtual string CreatorUserId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 can 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 |
---|---|
IList<Material> |
ScheduledTime
object representation of ScheduledTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ScheduledTimeDateTimeOffset instead.")]
public virtual object ScheduledTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ScheduledTimeDateTimeOffset
DateTimeOffset representation of ScheduledTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ScheduledTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ScheduledTimeRaw
Optional timestamp when this announcement is scheduled to be published.
Declaration
[JsonProperty("scheduledTime")]
public virtual string ScheduledTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
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 |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Timestamp of the most recent change to this announcement. Read-only.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |