chore: regens API reference docs (#889)
diff --git a/docs/dyn/classroom_v1.courses.announcements.html b/docs/dyn/classroom_v1.courses.announcements.html
index 8b17468..99cc9e3 100644
--- a/docs/dyn/classroom_v1.courses.announcements.html
+++ b/docs/dyn/classroom_v1.courses.announcements.html
@@ -75,7 +75,7 @@
<h1><a href="classroom_v1.html">Google Classroom API</a> . <a href="classroom_v1.courses.html">courses</a> . <a href="classroom_v1.courses.announcements.html">announcements</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#create">create(courseId, body, x__xgafv=None)</a></code></p>
+ <code><a href="#create">create(courseId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates an announcement.</p>
<p class="toc_element">
<code><a href="#delete">delete(courseId, id, x__xgafv=None)</a></code></p>
@@ -90,14 +90,14 @@
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#modifyAssignees">modifyAssignees(courseId, id, body, x__xgafv=None)</a></code></p>
+ <code><a href="#modifyAssignees">modifyAssignees(courseId, id, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Modifies assignee mode and options of an announcement.</p>
<p class="toc_element">
- <code><a href="#patch">patch(courseId, id, body, updateMask=None, x__xgafv=None)</a></code></p>
+ <code><a href="#patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates one or more fields of an announcement.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="create">create(courseId, body, x__xgafv=None)</code>
+ <code class="details" id="create">create(courseId, body=None, x__xgafv=None)</code>
<pre>Creates an announcement.
This method returns the following error codes:
@@ -114,15 +114,15 @@
courseId: string, Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # Announcement created by a teacher for students of the course
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -131,15 +131,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -149,10 +149,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -175,8 +175,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -187,10 +187,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -205,7 +205,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -229,8 +229,8 @@
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -239,15 +239,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -257,10 +257,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -283,8 +283,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -295,10 +295,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -313,7 +313,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -397,8 +397,8 @@
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -407,15 +407,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -425,10 +425,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -451,8 +451,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -463,10 +463,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -481,7 +481,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -546,8 +546,8 @@
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -556,15 +556,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -574,10 +574,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -600,8 +600,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -612,10 +612,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -630,7 +630,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -660,7 +660,7 @@
</div>
<div class="method">
- <code class="details" id="modifyAssignees">modifyAssignees(courseId, id, body, x__xgafv=None)</code>
+ <code class="details" id="modifyAssignees">modifyAssignees(courseId, id, body=None, x__xgafv=None)</code>
<pre>Modifies assignee mode and options of an announcement.
Only a teacher of the course that contains the announcement may
@@ -678,24 +678,24 @@
This identifier can be either the Classroom-assigned identifier or an
alias. (required)
id: string, Identifier of the announcement. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # Request to modify assignee mode and options of an announcement.
- "assigneeMode": "A String", # Mode of the announcement describing whether it will be accessible by all
- # students or specified individual students.
"modifyIndividualStudentsOptions": { # Contains fields to add or remove students from a course work or announcement # Set which students can view or cannot view the announcement.
# Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`.
# where the `assigneeMode` is set to `INDIVIDUAL_STUDENTS`.
- "addStudentIds": [ # Ids of students to be added as having access to this
+ "addStudentIds": [ # IDs of students to be added as having access to this
# coursework/announcement.
"A String",
],
- "removeStudentIds": [ # Ids of students to be removed from having access to this
+ "removeStudentIds": [ # IDs of students to be removed from having access to this
# coursework/announcement.
"A String",
],
},
+ "assigneeMode": "A String", # Mode of the announcement describing whether it is accessible by all
+ # students or specified individual students.
}
x__xgafv: string, V1 error format.
@@ -710,8 +710,8 @@
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -720,15 +720,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -738,10 +738,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -764,8 +764,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -776,10 +776,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -794,7 +794,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -808,7 +808,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(courseId, id, body, updateMask=None, x__xgafv=None)</code>
+ <code class="details" id="patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates one or more fields of an announcement.
This method returns the following error codes:
@@ -825,15 +825,15 @@
This identifier can be either the Classroom-assigned identifier or an
alias. (required)
id: string, Identifier of the announcement. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # Announcement created by a teacher for students of the course
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -842,15 +842,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -860,10 +860,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -886,8 +886,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -898,10 +898,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -916,7 +916,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
@@ -933,7 +933,7 @@
fields are specified. If a field supports empty values, it can be cleared
by specifying it in the update mask and not in the Announcement object. If
a field that does not support empty values is included in the update mask
-and not set in the Announcement object, an `INVALID_ARGUMENT` error will be
+and not set in the Announcement object, an `INVALID_ARGUMENT` error is
returned.
The following fields may be specified by teachers:
@@ -953,8 +953,8 @@
"updateTime": "A String", # Timestamp of the most recent change to this announcement.
#
# Read-only.
- "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
- "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
+ # This is only populated if `state` is `PUBLISHED`.
#
# Read-only.
"courseId": "A String", # Identifier of the course.
@@ -963,15 +963,15 @@
"text": "A String", # Description of this announcement.
# The text must be a valid UTF-8 string containing no more
# than 30,000 characters.
- "alternateLink": "A String", # Absolute link to this announcement in the Classroom web UI.
- # This is only populated if `state` is `PUBLISHED`.
- #
- # Read-only.
+ "scheduledTime": "A String", # Optional timestamp when this announcement is scheduled to be published.
"creationTime": "A String", # Timestamp when this announcement was created.
#
# Read-only.
"assigneeMode": "A String", # Assignee mode of the announcement.
# If unspecified, the default value is `ALL_STUDENTS`.
+ "creatorUserId": "A String", # Identifier for the user that created the announcement.
+ #
+ # Read-only.
"state": "A String", # Status of this announcement.
# If unspecified, the default state is `DRAFT`.
"materials": [ # Additional materials.
@@ -981,10 +981,10 @@
#
# When creating attachments, setting the `form` field is not supported.
"youtubeVideo": { # YouTube video item. # YouTube video material.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
#
# Read-only.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
#
# Read-only.
"id": "A String", # YouTube API resource ID.
@@ -1007,8 +1007,8 @@
},
"shareMode": "A String", # Mechanism by which students access the Drive item.
},
- "link": { # URL item. # Link material. On creation, will be upgraded to a more appropriate type
- # if possible, and this will be reflected in the response.
+ "link": { # URL item. # Link material. On creation, this is upgraded to a more appropriate type
+ # if possible, and this is reflected in the response.
"url": "A String", # URL to link to.
# This must be a valid UTF-8 string containing between 1 and 2024 characters.
"thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
@@ -1019,10 +1019,10 @@
# Read-only.
},
"form": { # Google Forms item. # Google Forms material.
- "formUrl": "A String", # URL of the form.
"thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
+ "formUrl": "A String", # URL of the form.
"responseUrl": "A String", # URL of the form responses document.
# Only set if respsonses have been recorded and only when the
# requesting user is an editor of the form.
@@ -1037,7 +1037,7 @@
"individualStudentsOptions": { # Assignee details about a coursework/announcement. # 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.
+ # specified in this field can see the announcement.
# This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.
"studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.