@@ -1346,18 +1346,21 @@ def patch_course_course_work(course_id, id, course_work_object = nil, update_mas
13461346
13471347 # Updates a rubric. See google.classroom.v1.Rubric for details of which fields
13481348 # can be updated. Rubric update capabilities are [limited](/classroom/rubrics/
1349- # limitations) once grading has started. This request must be made by the Google
1350- # Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/
1351- # 6158849) used to create the parent course work item. This method returns the
1352- # following error codes: * `PERMISSION_DENIED` if the requesting developer
1353- # project didn't create the corresponding course work, if the user isn't
1354- # permitted to make the requested modification to the rubric, or for access
1355- # errors. This error code is also returned if grading has already started on the
1356- # rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following
1357- # request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested
1358- # course, course work, or rubric doesn't exist or if the user doesn't have
1359- # access to the corresponding course work. * `INTERNAL` if grading has already
1360- # started on the rubric.
1349+ # limitations) once grading has started. The requesting user and course owner
1350+ # must have rubrics creation capabilities. For details, see [licensing
1351+ # requirements](https://developers.google.com/classroom/rubrics/limitations#
1352+ # license-requirements). This request must be made by the Google Cloud console
1353+ # of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used
1354+ # to create the parent course work item. This method returns the following error
1355+ # codes: * `PERMISSION_DENIED` if the requesting developer project didn't create
1356+ # the corresponding course work, if the user isn't permitted to make the
1357+ # requested modification to the rubric, or for access errors. This error code is
1358+ # also returned if grading has already started on the rubric. * `
1359+ # INVALID_ARGUMENT` if the request is malformed and for the following request
1360+ # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course,
1361+ # course work, or rubric doesn't exist or if the user doesn't have access to the
1362+ # corresponding course work. * `INTERNAL` if grading has already started on the
1363+ # rubric.
13611364 # @param [String] course_id
13621365 # Required. Identifier of the course.
13631366 # @param [String] course_work_id
@@ -1766,18 +1769,20 @@ def patch_course_course_work_add_on_attachment_student_submission(course_id, ite
17661769 execute_or_queue_command ( command , &block )
17671770 end
17681771
1769- # Creates a rubric. This request must be made by the Google Cloud console of the
1770- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1771- # create the parent course work item. For further details, see [Rubrics
1772- # structure and known limitations](/classroom/rubrics/limitations). This method
1773- # returns the following error codes: * `PERMISSION_DENIED` if the requesting
1774- # user isn't permitted to create rubrics for course work in the requested course.
1775- # * `INTERNAL` if the request has insufficient OAuth scopes. * `
1776- # INVALID_ARGUMENT` if the request is malformed and for the following request
1777- # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course
1778- # or course work don't exist or the user doesn't have access to the course or
1779- # course work. * `FAILED_PRECONDITION` for the following request error: * `
1780- # AttachmentNotVisible`
1772+ # Creates a rubric. The requesting user and course owner must have rubrics
1773+ # creation capabilities. For details, see [licensing requirements](https://
1774+ # developers.google.com/classroom/rubrics/limitations#license-requirements). For
1775+ # further details, see [Rubrics structure and known limitations](/classroom/
1776+ # rubrics/limitations). This request must be made by the Google Cloud console of
1777+ # the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1778+ # create the parent course work item. This method returns the following error
1779+ # codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create
1780+ # rubrics for course work in the requested course. * `INTERNAL` if the request
1781+ # has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is
1782+ # malformed and for the following request error: * `RubricCriteriaInvalidFormat`
1783+ # * `NOT_FOUND` if the requested course or course work don't exist or the user
1784+ # doesn't have access to the course or course work. * `FAILED_PRECONDITION` for
1785+ # the following request error: * `AttachmentNotVisible`
17811786 # @param [String] course_id
17821787 # Required. Identifier of the course.
17831788 # @param [String] course_work_id
@@ -1813,10 +1818,13 @@ def create_course_course_work_rubric(course_id, course_work_id, rubric_object =
18131818 execute_or_queue_command ( command , &block )
18141819 end
18151820
1816- # Deletes a rubric. This request must be made by the Google Cloud console of the
1817- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1818- # create the corresponding rubric. This method returns the following error codes:
1819- # * `PERMISSION_DENIED` if the requesting developer project didn't create the
1821+ # Deletes a rubric. The requesting user and course owner must have rubrics
1822+ # creation capabilities. For details, see [licensing requirements](https://
1823+ # developers.google.com/classroom/rubrics/limitations#license-requirements).
1824+ # This request must be made by the Google Cloud console of the [OAuth client ID](
1825+ # https://support.google.com/cloud/answer/6158849) used to create the
1826+ # corresponding rubric. This method returns the following error codes: * `
1827+ # PERMISSION_DENIED` if the requesting developer project didn't create the
18201828 # corresponding rubric, or if the requesting user isn't permitted to delete the
18211829 # requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or
18221830 # the user does not have access to the course, course work, or rubric. * `
@@ -1943,18 +1951,21 @@ def list_course_course_work_rubrics(course_id, course_work_id, page_size: nil, p
19431951
19441952 # Updates a rubric. See google.classroom.v1.Rubric for details of which fields
19451953 # can be updated. Rubric update capabilities are [limited](/classroom/rubrics/
1946- # limitations) once grading has started. This request must be made by the Google
1947- # Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/
1948- # 6158849) used to create the parent course work item. This method returns the
1949- # following error codes: * `PERMISSION_DENIED` if the requesting developer
1950- # project didn't create the corresponding course work, if the user isn't
1951- # permitted to make the requested modification to the rubric, or for access
1952- # errors. This error code is also returned if grading has already started on the
1953- # rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following
1954- # request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested
1955- # course, course work, or rubric doesn't exist or if the user doesn't have
1956- # access to the corresponding course work. * `INTERNAL` if grading has already
1957- # started on the rubric.
1954+ # limitations) once grading has started. The requesting user and course owner
1955+ # must have rubrics creation capabilities. For details, see [licensing
1956+ # requirements](https://developers.google.com/classroom/rubrics/limitations#
1957+ # license-requirements). This request must be made by the Google Cloud console
1958+ # of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used
1959+ # to create the parent course work item. This method returns the following error
1960+ # codes: * `PERMISSION_DENIED` if the requesting developer project didn't create
1961+ # the corresponding course work, if the user isn't permitted to make the
1962+ # requested modification to the rubric, or for access errors. This error code is
1963+ # also returned if grading has already started on the rubric. * `
1964+ # INVALID_ARGUMENT` if the request is malformed and for the following request
1965+ # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course,
1966+ # course work, or rubric doesn't exist or if the user doesn't have access to the
1967+ # corresponding course work. * `INTERNAL` if grading has already started on the
1968+ # rubric.
19581969 # @param [String] course_id
19591970 # Required. Identifier of the course.
19601971 # @param [String] course_work_id
0 commit comments