Skip to content

Commit ef72b5f

Browse files
feat(classroom): update the api
#### classroom:v1 The following keys were added: - resources.courses.resources.announcements.methods.getAddOnContext.scopes (Total Keys: 1) - resources.courses.resources.announcements.resources.addOnAttachments.methods.create.scopes (Total Keys: 1) - resources.courses.resources.announcements.resources.addOnAttachments.methods.delete.scopes (Total Keys: 1) - resources.courses.resources.announcements.resources.addOnAttachments.methods.get.scopes (Total Keys: 1) - resources.courses.resources.announcements.resources.addOnAttachments.methods.list.scopes (Total Keys: 1) - resources.courses.resources.announcements.resources.addOnAttachments.methods.patch.scopes (Total Keys: 1) - resources.courses.resources.courseWork.methods.getAddOnContext.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.methods.create.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.methods.delete.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.methods.get.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.methods.list.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.methods.patch.scopes (Total Keys: 1) - resources.courses.resources.courseWork.resources.addOnAttachments.resources.studentSubmissions.methods.patch.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.methods.getAddOnContext.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.resources.addOnAttachments.methods.create.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.resources.addOnAttachments.methods.delete.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.resources.addOnAttachments.methods.get.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.resources.addOnAttachments.methods.list.scopes (Total Keys: 1) - resources.courses.resources.courseWorkMaterials.resources.addOnAttachments.methods.patch.scopes (Total Keys: 1) - resources.courses.resources.posts.methods.getAddOnContext.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.methods.create.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.methods.delete.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.methods.get.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.methods.list.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.methods.patch.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.resources.studentSubmissions.methods.patch.scopes (Total Keys: 1) The following keys were changed: - resources.courses.resources.courseWork.resources.addOnAttachments.resources.studentSubmissions.methods.get.scopes (Total Keys: 1) - resources.courses.resources.posts.resources.addOnAttachments.resources.studentSubmissions.methods.get.scopes (Total Keys: 1)
1 parent b7865bd commit ef72b5f

File tree

2 files changed

+133
-33
lines changed

2 files changed

+133
-33
lines changed

docs/dyn/classroom_v1.courses.topics.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#create">create(courseId, body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.</p>
82+
<p class="firstline">Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course does not exist.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(courseId, id, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not allowed to delete the requested topic or for access errors. * `FAILED_PRECONDITION` if the requested topic has already been deleted. * `NOT_FOUND` if no course or topic exists with the requested ID.</p>
@@ -94,7 +94,7 @@ <h2>Instance Methods</h2>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
9696
<code><a href="#patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or topic does not exist</p>
97+
<p class="firstline">Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or topic does not exist</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="close">close()</code>
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103

104104
<div class="method">
105105
<code class="details" id="create">create(courseId, body=None, x__xgafv=None)</code>
106-
<pre>Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.
106+
<pre>Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course does not exist.
107107

108108
Args:
109109
courseId: string, Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. (required)
@@ -220,7 +220,7 @@ <h3>Method Details</h3>
220220

221221
<div class="method">
222222
<code class="details" id="patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</code>
223-
<pre>Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or topic does not exist
223+
<pre>Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or topic does not exist
224224

225225
Args:
226226
courseId: string, Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. (required)

0 commit comments

Comments
 (0)