|
176 | 176 | "courses": {
|
177 | 177 | "methods": {
|
178 | 178 | "create": {
|
179 |
| - "description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserCannotOwnCourse * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.", |
| 179 | + "description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserCannotOwnCourse * UserGroupsMembershipLimitReached * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.", |
180 | 180 | "flatPath": "v1/courses",
|
181 | 181 | "httpMethod": "POST",
|
182 | 182 | "id": "classroom.courses.create",
|
|
328 | 328 | ]
|
329 | 329 | },
|
330 | 330 | "patch": {
|
331 |
| - "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner", |
| 331 | + "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * CourseTitleCannotContainUrl", |
332 | 332 | "flatPath": "v1/courses/{id}",
|
333 | 333 | "httpMethod": "PATCH",
|
334 | 334 | "id": "classroom.courses.patch",
|
|
361 | 361 | ]
|
362 | 362 | },
|
363 | 363 | "update": {
|
364 |
| - "description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable", |
| 364 | + "description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl", |
365 | 365 | "flatPath": "v1/courses/{id}",
|
366 | 366 | "httpMethod": "PUT",
|
367 | 367 | "id": "classroom.courses.update",
|
|
4107 | 4107 | }
|
4108 | 4108 | }
|
4109 | 4109 | },
|
4110 |
| - "revision": "20250526", |
| 4110 | + "revision": "20250810", |
4111 | 4111 | "rootUrl": "https://classroom.googleapis.com/",
|
4112 | 4112 | "schemas": {
|
4113 | 4113 | "AddOnAttachment": {
|
|
0 commit comments