docs: docs update (#911)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-python-client/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here> 🦕
diff --git a/docs/dyn/classroom_v1.courses.announcements.html b/docs/dyn/classroom_v1.courses.announcements.html
index 99cc9e3..1a0934d 100644
--- a/docs/dyn/classroom_v1.courses.announcements.html
+++ b/docs/dyn/classroom_v1.courses.announcements.html
@@ -84,7 +84,7 @@
<code><a href="#get">get(courseId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Returns an announcement.</p>
<p class="toc_element">
- <code><a href="#list">list(courseId, orderBy=None, pageSize=None, announcementStates=None, pageToken=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(courseId, announcementStates=None, orderBy=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns a list of announcements that the requester is permitted to view.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -118,101 +118,101 @@
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.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}
@@ -226,101 +226,101 @@
An object of the form:
{ # Announcement created by a teacher for students of the course
- "updateTime": "A String", # Timestamp of the most recent change to this announcement.
- #
- # Read-only.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}</pre>
@@ -394,108 +394,108 @@
An object of the form:
{ # Announcement created by a teacher for students of the course
- "updateTime": "A String", # Timestamp of the most recent change to this announcement.
- #
- # Read-only.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(courseId, orderBy=None, pageSize=None, announcementStates=None, pageToken=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(courseId, announcementStates=None, orderBy=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
<pre>Returns a list of announcements that the requester is permitted to view.
Course students may only view `PUBLISHED` announcements. Course teachers
@@ -512,17 +512,13 @@
courseId: string, Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias. (required)
+ announcementStates: string, Restriction on the `state` of announcements returned.
+If this argument is left unspecified, the default value is `PUBLISHED`. (repeated)
orderBy: string, Optional sort ordering for results. A comma-separated list of fields with
an optional sort direction keyword. Supported field is `updateTime`.
Supported direction keywords are `asc` and `desc`.
If not specified, `updateTime desc` is the default behavior.
Examples: `updateTime asc`, `updateTime`
- pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the
-server may assign a maximum.
-
-The server may return fewer than the specified number of results.
- announcementStates: string, Restriction on the `state` of announcements returned.
-If this argument is left unspecified, the default value is `PUBLISHED`. (repeated)
pageToken: string, nextPageToken
value returned from a previous
list call,
@@ -530,6 +526,10 @@
The list request
must be otherwise identical to the one that resulted in this token.
+ pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the
+server may assign a maximum.
+
+The server may return fewer than the specified number of results.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -539,109 +539,109 @@
An object of the form:
{ # Response when listing course work.
- "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further
- # results are available.
- "announcements": [ # Announcement items that match the request.
+ "announcements": [ # Announcement items that match the request.
{ # Announcement created by a teacher for students of the course
- "updateTime": "A String", # Timestamp of the most recent change to this announcement.
- #
- # Read-only.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
},
],
+ "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further
+ # results are available.
}</pre>
</div>
@@ -654,7 +654,7 @@
previous_response: The response from the request for the previous page. (required)
Returns:
- A request object that you can call 'execute()' on to request the next
+ A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
@@ -682,19 +682,19 @@
The object takes the form of:
{ # Request to modify assignee mode and options of an announcement.
- "modifyIndividualStudentsOptions": { # Contains fields to add or remove students from a course work or announcement # Set which students can view or cannot view the announcement.
+ "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
+ "removeStudentIds": [ # IDs of students to be removed from having access to this
# coursework/announcement.
- "A String",
+ "A String",
],
- "removeStudentIds": [ # IDs of students to be removed from having access to this
+ "addStudentIds": [ # IDs of students to be added as having access to this
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "assigneeMode": "A String", # Mode of the announcement describing whether it is accessible by all
+ "assigneeMode": "A String", # Mode of the announcement describing whether it is accessible by all
# students or specified individual students.
}
@@ -707,101 +707,101 @@
An object of the form:
{ # Announcement created by a teacher for students of the course
- "updateTime": "A String", # Timestamp of the most recent change to this announcement.
- #
- # Read-only.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}</pre>
@@ -829,101 +829,101 @@
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.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}
@@ -950,101 +950,101 @@
An object of the form:
{ # Announcement created by a teacher for students of the course
- "updateTime": "A String", # Timestamp of the most recent change to this announcement.
- #
- # Read-only.
- "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.
- #
- # Read-only.
- "text": "A String", # Description of this announcement.
- # The text must be a valid UTF-8 string containing no more
- # than 30,000 characters.
- "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.
+ "materials": [ # Additional materials.
#
# Announcements must have no more than 20 material items.
{ # Material attached to course work.
#
# When creating attachments, setting the `form` field is not supported.
- "youtubeVideo": { # YouTube video item. # YouTube video material.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ "form": { # Google Forms item. # Google Forms material.
+ "title": "A String", # Title of the Form.
#
# Read-only.
- "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Form.
#
# Read-only.
- "id": "A String", # YouTube API resource ID.
- "title": "A String", # Title of the YouTube video.
- #
- # Read-only.
- },
- "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
- "driveFile": { # Representation of a Google Drive file. # Drive file details.
- "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
- #
- # Read-only.
- "alternateLink": "A String", # URL that can be used to access the Drive item.
- #
- # Read-only.
- "id": "A String", # Drive API resource ID.
- "title": "A String", # Title of the Drive item.
- #
- # Read-only.
- },
- "shareMode": "A String", # Mechanism by which students access the Drive item.
- },
- "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.
- #
- # Read-only.
- "title": "A String", # Title of the target of the URL.
- #
- # Read-only.
- },
- "form": { # Google Forms item. # Google Forms material.
- "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.
+ "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.
#
# Read-only.
- "title": "A String", # Title of the Form.
+ "formUrl": "A String", # URL of the form.
+ },
+ "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.
+ "title": "A String", # Title of the target of the URL.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the target URL.
#
# Read-only.
},
+ "youtubeVideo": { # YouTube video item. # YouTube video material.
+ "alternateLink": "A String", # URL that can be used to view the YouTube video.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the YouTube video.
+ #
+ # Read-only.
+ "id": "A String", # YouTube API resource ID.
+ "title": "A String", # Title of the YouTube video.
+ #
+ # Read-only.
+ },
+ "driveFile": { # Drive file that is used as material for course work. # Google Drive file material.
+ "driveFile": { # Representation of a Google Drive file. # Drive file details.
+ "title": "A String", # Title of the Drive item.
+ #
+ # Read-only.
+ "alternateLink": "A String", # URL that can be used to access the Drive item.
+ #
+ # Read-only.
+ "thumbnailUrl": "A String", # URL of a thumbnail image of the Drive item.
+ #
+ # Read-only.
+ "id": "A String", # Drive API resource ID.
+ },
+ "shareMode": "A String", # Mechanism by which students access the Drive item.
+ },
},
],
- "individualStudentsOptions": { # Assignee details about a coursework/announcement. # Identifiers of students with access to the announcement.
+ "updateTime": "A String", # Timestamp of the most recent change to this announcement.
+ #
+ # Read-only.
+ "assigneeMode": "A String", # Assignee mode of the announcement.
+ # If unspecified, the default value is `ALL_STUDENTS`.
+ "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.
+ "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 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
+ "studentIds": [ # Identifiers for the students that have access to the
# coursework/announcement.
- "A String",
+ "A String",
],
},
- "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
+ "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`.
+ "text": "A String", # Description of this announcement.
+ # The text must be a valid UTF-8 string containing no more
+ # than 30,000 characters.
+ "courseId": "A String", # Identifier of the course.
+ #
+ # Read-only.
+ "id": "A String", # Classroom-assigned identifier of this announcement, unique per course.
#
# Read-only.
}</pre>