Skip to content

Commit 0b6c4ef

Browse files
1 parent c536755 commit 0b6c4ef

File tree

5 files changed

+56
-25
lines changed

5 files changed

+56
-25
lines changed

clients/google-api-services-classroom/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-classroom</artifactId>
25-
<version>v1-rev20241119-2.0.0</version>
25+
<version>v1-rev20241208-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-classroom:v1-rev20241119-2.0.0'
38+
implementation 'com.google.apis:google-api-services-classroom:v1-rev20241208-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-classroom/v1/2.0.0/com/google/api/services/classroom/Classroom.java

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5295,7 +5295,10 @@ public Patch set(String parameterName, Object value) {
52955295
/**
52965296
* Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated.
52975297
* Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has
5298-
* started. This request must be made by the Google Cloud console of the [OAuth client
5298+
* started. The requesting user and course owner must have rubrics creation capabilities. For
5299+
* details, see [licensing
5300+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements).
5301+
* This request must be made by the Google Cloud console of the [OAuth client
52995302
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item.
53005303
* This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer
53015304
* project didn't create the corresponding course work, if the user isn't permitted to make the
@@ -5328,7 +5331,10 @@ public class UpdateRubric extends ClassroomRequest<com.google.api.services.class
53285331
/**
53295332
* Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated.
53305333
* Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has
5331-
* started. This request must be made by the Google Cloud console of the [OAuth client
5334+
* started. The requesting user and course owner must have rubrics creation capabilities. For
5335+
* details, see [licensing
5336+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-
5337+
* requirements). This request must be made by the Google Cloud console of the [OAuth client
53325338
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work
53335339
* item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting
53345340
* developer project didn't create the corresponding course work, if the user isn't permitted to
@@ -7080,16 +7086,18 @@ public Rubrics rubrics() {
70807086
public class Rubrics {
70817087

70827088
/**
7083-
* Creates a rubric. This request must be made by the Google Cloud console of the [OAuth client
7084-
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item.
7089+
* Creates a rubric. The requesting user and course owner must have rubrics creation capabilities.
7090+
* For details, see [licensing
7091+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements).
70857092
* For further details, see [Rubrics structure and known
7086-
* limitations](/classroom/rubrics/limitations). This method returns the following error codes: *
7087-
* `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in
7088-
* the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. *
7089-
* `INVALID_ARGUMENT` if the request is malformed and for the following request error: *
7090-
* `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or
7091-
* the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the
7092-
* following request error: * `AttachmentNotVisible`
7093+
* limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud
7094+
* console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create
7095+
* the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED`
7096+
* if the requesting user isn't permitted to create rubrics for course work in the requested course.
7097+
* * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is
7098+
* malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if
7099+
* the requested course or course work don't exist or the user doesn't have access to the course or
7100+
* course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible`
70937101
*
70947102
* Create a request for the method "rubrics.create".
70957103
*
@@ -7112,10 +7120,13 @@ public class Create extends ClassroomRequest<com.google.api.services.classroom.m
71127120
private static final String REST_PATH = "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics";
71137121

71147122
/**
7115-
* Creates a rubric. This request must be made by the Google Cloud console of the [OAuth client
7116-
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work
7117-
* item. For further details, see [Rubrics structure and known
7118-
* limitations](/classroom/rubrics/limitations). This method returns the following error codes: *
7123+
* Creates a rubric. The requesting user and course owner must have rubrics creation capabilities.
7124+
* For details, see [licensing
7125+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-
7126+
* requirements). For further details, see [Rubrics structure and known
7127+
* limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud
7128+
* console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
7129+
* create the parent course work item. This method returns the following error codes: *
71197130
* `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in
71207131
* the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. *
71217132
* `INVALID_ARGUMENT` if the request is malformed and for the following request error: *
@@ -7235,7 +7246,10 @@ public Create set(String parameterName, Object value) {
72357246
}
72367247
}
72377248
/**
7238-
* Deletes a rubric. This request must be made by the Google Cloud console of the [OAuth client
7249+
* Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities.
7250+
* For details, see [licensing
7251+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements).
7252+
* This request must be made by the Google Cloud console of the [OAuth client
72397253
* ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric.
72407254
* This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer
72417255
* project didn't create the corresponding rubric, or if the requesting user isn't permitted to
@@ -7264,7 +7278,10 @@ public class Delete extends ClassroomRequest<com.google.api.services.classroom.m
72647278
private static final String REST_PATH = "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}";
72657279

72667280
/**
7267-
* Deletes a rubric. This request must be made by the Google Cloud console of the [OAuth client
7281+
* Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities.
7282+
* For details, see [licensing
7283+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-
7284+
* requirements). This request must be made by the Google Cloud console of the [OAuth client
72687285
* ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric.
72697286
* This method returns the following error codes: * `PERMISSION_DENIED` if the requesting
72707287
* developer project didn't create the corresponding rubric, or if the requesting user isn't
@@ -7771,7 +7788,10 @@ public List set(String parameterName, Object value) {
77717788
/**
77727789
* Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated.
77737790
* Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has
7774-
* started. This request must be made by the Google Cloud console of the [OAuth client
7791+
* started. The requesting user and course owner must have rubrics creation capabilities. For
7792+
* details, see [licensing
7793+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements).
7794+
* This request must be made by the Google Cloud console of the [OAuth client
77757795
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item.
77767796
* This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer
77777797
* project didn't create the corresponding course work, if the user isn't permitted to make the
@@ -7805,7 +7825,10 @@ public class Patch extends ClassroomRequest<com.google.api.services.classroom.mo
78057825
/**
78067826
* Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated.
78077827
* Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has
7808-
* started. This request must be made by the Google Cloud console of the [OAuth client
7828+
* started. The requesting user and course owner must have rubrics creation capabilities. For
7829+
* details, see [licensing
7830+
* requirements](https://developers.google.com/classroom/rubrics/limitations#license-
7831+
* requirements). This request must be made by the Google Cloud console of the [OAuth client
78097832
* ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work
78107833
* item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting
78117834
* developer project didn't create the corresponding course work, if the user isn't permitted to

clients/google-api-services-classroom/v1/2.0.0/com/google/api/services/classroom/ClassroomScopes.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
*/
2424
public class ClassroomScopes {
2525

26+
/** See and update its own attachments to posts in Google Classroom. */
27+
public static final String CLASSROOM_ADDONS_STUDENT = "https://www.googleapis.com/auth/classroom.addons.student";
28+
29+
/** See, create, and update its own attachments to posts in classes you teach in Google Classroom. */
30+
public static final String CLASSROOM_ADDONS_TEACHER = "https://www.googleapis.com/auth/classroom.addons.teacher";
31+
2632
/** View and manage announcements in Google Classroom. */
2733
public static final String CLASSROOM_ANNOUNCEMENTS = "https://www.googleapis.com/auth/classroom.announcements";
2834

@@ -96,6 +102,8 @@ public class ClassroomScopes {
96102
*/
97103
public static java.util.Set<String> all() {
98104
java.util.Set<String> set = new java.util.HashSet<String>();
105+
set.add(CLASSROOM_ADDONS_STUDENT);
106+
set.add(CLASSROOM_ADDONS_TEACHER);
99107
set.add(CLASSROOM_ANNOUNCEMENTS);
100108
set.add(CLASSROOM_ANNOUNCEMENTS_READONLY);
101109
set.add(CLASSROOM_COURSES);

clients/google-api-services-classroom/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-classroom</artifactId>
11-
<version>v1-rev20241119-2.0.0</version>
12-
<name>Google Classroom API v1-rev20241119-2.0.0</name>
11+
<version>v1-rev20241208-2.0.0</version>
12+
<name>Google Classroom API v1-rev20241208-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-classroom/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-classroom</artifactId>
25-
<version>v1-rev20241119-2.0.0</version>
25+
<version>v1-rev20241208-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-classroom:v1-rev20241119-2.0.0'
38+
implementation 'com.google.apis:google-api-services-classroom:v1-rev20241208-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)