mcp-google-multi 5.4.1-alpha.2 → 6.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -16
- package/dist/accounts.d.ts +44 -5
- package/dist/accounts.js +267 -25
- package/dist/auth.d.ts +11 -4
- package/dist/auth.js +85 -78
- package/dist/client-config.d.ts +90 -0
- package/dist/client-config.js +282 -0
- package/dist/client.js +10 -4
- package/dist/config-file.d.ts +38 -0
- package/dist/config-file.js +117 -0
- package/dist/discover.js +57 -3
- package/dist/doctor.d.ts +86 -0
- package/dist/doctor.js +384 -0
- package/dist/env-load.d.ts +11 -0
- package/dist/env-load.js +52 -0
- package/dist/executor.d.ts +2 -0
- package/dist/executor.js +2 -1
- package/dist/fanout.js +8 -5
- package/dist/fs-atomic.d.ts +3 -0
- package/dist/fs-atomic.js +123 -0
- package/dist/http-config.d.ts +35 -0
- package/dist/http-config.js +113 -0
- package/dist/http-transport.d.ts +59 -0
- package/dist/http-transport.js +269 -0
- package/dist/identity.d.ts +24 -0
- package/dist/identity.js +19 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +199 -18
- package/dist/master-key.d.ts +53 -0
- package/dist/master-key.js +242 -0
- package/dist/mcp-token.d.ts +81 -0
- package/dist/mcp-token.js +176 -0
- package/dist/migrate-config.d.ts +7 -0
- package/dist/migrate-config.js +103 -0
- package/dist/migrate-tokens.js +4 -3
- package/dist/net-tuning.d.ts +8 -0
- package/dist/net-tuning.js +25 -0
- package/dist/oauth-as.d.ts +52 -0
- package/dist/oauth-as.js +457 -0
- package/dist/oauth-consent.d.ts +28 -0
- package/dist/oauth-consent.js +109 -0
- package/dist/open-url.d.ts +1 -0
- package/dist/open-url.js +30 -0
- package/dist/reauth-hint.d.ts +2 -0
- package/dist/reauth-hint.js +15 -0
- package/dist/registry-transfer.d.ts +41 -0
- package/dist/registry-transfer.js +219 -0
- package/dist/registry.d.ts +27 -1
- package/dist/registry.js +117 -6
- package/dist/scope-catalog.d.ts +19 -0
- package/dist/scope-catalog.js +182 -0
- package/dist/scope-observability.d.ts +78 -0
- package/dist/scope-observability.js +192 -0
- package/dist/services.js +1 -1
- package/dist/setup-prompt.d.ts +9 -0
- package/dist/setup-prompt.js +59 -0
- package/dist/ssrf-guard.d.ts +48 -0
- package/dist/ssrf-guard.js +242 -0
- package/dist/token-store.js +23 -125
- package/dist/tools/_errors.d.ts +8 -2
- package/dist/tools/_errors.js +97 -6
- package/dist/tools/account-wizard.d.ts +33 -0
- package/dist/tools/account-wizard.js +284 -0
- package/dist/tools/accounts-tool.d.ts +8 -5
- package/dist/tools/accounts-tool.js +38 -15
- package/dist/tools/admin.js +2 -2
- package/dist/tools/calendar.js +2 -2
- package/dist/tools/chat.js +2 -2
- package/dist/tools/contacts.d.ts +40 -0
- package/dist/tools/contacts.js +135 -2
- package/dist/tools/docs.d.ts +3 -0
- package/dist/tools/docs.js +60 -9
- package/dist/tools/drive.d.ts +3 -0
- package/dist/tools/drive.js +60 -8
- package/dist/tools/forms.js +4 -2
- package/dist/tools/generated/_shared.d.ts +1 -3
- package/dist/tools/generated/_shared.js +3 -3
- package/dist/tools/generated/admin.js +175 -132
- package/dist/tools/generated/appsmarket.js +6 -2
- package/dist/tools/generated/calendar.js +45 -27
- package/dist/tools/generated/chat.js +81 -47
- package/dist/tools/generated/classroom.js +131 -104
- package/dist/tools/generated/cloudidentity.js +73 -61
- package/dist/tools/generated/cloudsearch.js +59 -49
- package/dist/tools/generated/contacts.js +22 -14
- package/dist/tools/generated/drive.js +51 -35
- package/dist/tools/generated/driveactivity.js +5 -1
- package/dist/tools/generated/drivelabels.js +30 -25
- package/dist/tools/generated/forms.js +7 -3
- package/dist/tools/generated/gmail.js +73 -58
- package/dist/tools/generated/groupsmigration.js +5 -1
- package/dist/tools/generated/groupssettings.js +7 -3
- package/dist/tools/generated/keep.js +12 -7
- package/dist/tools/generated/licensing.js +11 -7
- package/dist/tools/generated/meet.js +20 -13
- package/dist/tools/generated/postmaster.js +8 -4
- package/dist/tools/generated/reseller.js +22 -17
- package/dist/tools/generated/script.js +26 -16
- package/dist/tools/generated/sheets.js +11 -7
- package/dist/tools/generated/tasks.js +6 -2
- package/dist/tools/generated/vault.js +38 -33
- package/dist/tools/generated/workspaceevents.js +12 -7
- package/dist/tools/gmail-mime.d.ts +38 -8
- package/dist/tools/gmail-mime.js +75 -71
- package/dist/tools/gmail.d.ts +31 -0
- package/dist/tools/gmail.js +483 -99
- package/dist/tools/google-api.js +7 -4
- package/dist/tools/meet.js +2 -2
- package/dist/tools/searchconsole.js +2 -2
- package/dist/tools/sheets.js +6 -2
- package/dist/tools/slides.js +4 -2
- package/dist/tools/tasks.js +2 -2
- package/dist/types.d.ts +1 -1
- package/dist/write-control.d.ts +24 -1
- package/dist/write-control.js +26 -1
- package/package.json +26 -7
|
@@ -3,11 +3,38 @@ import { z } from 'zod';
|
|
|
3
3
|
import { coerceArray, coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
5
|
export function registerClassroomGeneratedTools(registry) {
|
|
6
|
+
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
|
+
const S_classroom_v1 = [
|
|
8
|
+
["https://www.googleapis.com/auth/classroom.courses"],
|
|
9
|
+
["https://www.googleapis.com/auth/classroom.courses", "https://www.googleapis.com/auth/classroom.courses.readonly"],
|
|
10
|
+
["https://www.googleapis.com/auth/classroom.addons.teacher"],
|
|
11
|
+
["https://www.googleapis.com/auth/classroom.addons.student", "https://www.googleapis.com/auth/classroom.addons.teacher"],
|
|
12
|
+
["https://www.googleapis.com/auth/classroom.announcements"],
|
|
13
|
+
["https://www.googleapis.com/auth/classroom.announcements", "https://www.googleapis.com/auth/classroom.announcements.readonly"],
|
|
14
|
+
["https://www.googleapis.com/auth/classroom.addons.student", "https://www.googleapis.com/auth/classroom.addons.teacher", "https://www.googleapis.com/auth/classroom.coursework.me", "https://www.googleapis.com/auth/classroom.coursework.me.readonly", "https://www.googleapis.com/auth/classroom.coursework.students", "https://www.googleapis.com/auth/classroom.coursework.students.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"],
|
|
15
|
+
["https://www.googleapis.com/auth/classroom.coursework.students"],
|
|
16
|
+
["https://www.googleapis.com/auth/classroom.coursework.me", "https://www.googleapis.com/auth/classroom.coursework.me.readonly", "https://www.googleapis.com/auth/classroom.coursework.students", "https://www.googleapis.com/auth/classroom.coursework.students.readonly"],
|
|
17
|
+
["https://www.googleapis.com/auth/classroom.coursework.me", "https://www.googleapis.com/auth/classroom.coursework.me.readonly", "https://www.googleapis.com/auth/classroom.coursework.students", "https://www.googleapis.com/auth/classroom.coursework.students.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"],
|
|
18
|
+
["https://www.googleapis.com/auth/classroom.coursework.me", "https://www.googleapis.com/auth/classroom.coursework.students"],
|
|
19
|
+
["https://www.googleapis.com/auth/classroom.coursework.me"],
|
|
20
|
+
["https://www.googleapis.com/auth/classroom.courseworkmaterials"],
|
|
21
|
+
["https://www.googleapis.com/auth/classroom.courseworkmaterials", "https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly"],
|
|
22
|
+
["https://www.googleapis.com/auth/classroom.rosters"],
|
|
23
|
+
["https://www.googleapis.com/auth/classroom.rosters", "https://www.googleapis.com/auth/classroom.rosters.readonly"],
|
|
24
|
+
["https://www.googleapis.com/auth/classroom.profile.emails", "https://www.googleapis.com/auth/classroom.profile.photos", "https://www.googleapis.com/auth/classroom.rosters"],
|
|
25
|
+
["https://www.googleapis.com/auth/classroom.profile.emails", "https://www.googleapis.com/auth/classroom.profile.photos", "https://www.googleapis.com/auth/classroom.rosters", "https://www.googleapis.com/auth/classroom.rosters.readonly"],
|
|
26
|
+
["https://www.googleapis.com/auth/classroom.topics"],
|
|
27
|
+
["https://www.googleapis.com/auth/classroom.topics", "https://www.googleapis.com/auth/classroom.topics.readonly"],
|
|
28
|
+
["https://www.googleapis.com/auth/classroom.push-notifications"],
|
|
29
|
+
["https://www.googleapis.com/auth/classroom.guardianlinks.students"],
|
|
30
|
+
["https://www.googleapis.com/auth/classroom.guardianlinks.students", "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"],
|
|
31
|
+
["https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly", "https://www.googleapis.com/auth/classroom.guardianlinks.students", "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"],
|
|
32
|
+
];
|
|
6
33
|
registerGeneratedTool(registry, {
|
|
7
34
|
name: "classroom_courses_aliases_create",
|
|
8
35
|
cud: "create",
|
|
9
36
|
description: "Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias",
|
|
10
|
-
method: { id: "classroom.courses.aliases.create", httpMethod: "POST", path: "v1/courses/{courseId}/aliases", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
37
|
+
method: { id: "classroom.courses.aliases.create", httpMethod: "POST", path: "v1/courses/{courseId}/aliases", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[0] },
|
|
11
38
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
39
|
hasBody: true,
|
|
13
40
|
shape: {
|
|
@@ -21,7 +48,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
21
48
|
name: "classroom_courses_aliases_delete",
|
|
22
49
|
cud: "delete",
|
|
23
50
|
description: "Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias o",
|
|
24
|
-
method: { id: "classroom.courses.aliases.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/aliases/{alias}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "alias"] },
|
|
51
|
+
method: { id: "classroom.courses.aliases.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/aliases/{alias}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "alias"], scopes: S_classroom_v1[0] },
|
|
25
52
|
params: [{ "field": "alias", "api": "alias", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
26
53
|
hasBody: false,
|
|
27
54
|
shape: {
|
|
@@ -35,7 +62,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
35
62
|
name: "classroom_courses_aliases_list",
|
|
36
63
|
cud: "read",
|
|
37
64
|
description: "Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access t",
|
|
38
|
-
method: { id: "classroom.courses.aliases.list", httpMethod: "GET", path: "v1/courses/{courseId}/aliases", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
65
|
+
method: { id: "classroom.courses.aliases.list", httpMethod: "GET", path: "v1/courses/{courseId}/aliases", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[1] },
|
|
39
66
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
40
67
|
hasBody: false,
|
|
41
68
|
shape: {
|
|
@@ -50,7 +77,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
50
77
|
name: "classroom_courses_announcements_add_on_attachments_create",
|
|
51
78
|
cud: "create",
|
|
52
79
|
description: "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error",
|
|
53
|
-
method: { id: "classroom.courses.announcements.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
80
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[2] },
|
|
54
81
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
55
82
|
hasBody: true,
|
|
56
83
|
shape: {
|
|
@@ -67,7 +94,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
67
94
|
name: "classroom_courses_announcements_add_on_attachments_delete",
|
|
68
95
|
cud: "delete",
|
|
69
96
|
description: "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
70
|
-
method: { id: "classroom.courses.announcements.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
97
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
71
98
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
72
99
|
hasBody: false,
|
|
73
100
|
shape: {
|
|
@@ -83,7 +110,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
83
110
|
name: "classroom_courses_announcements_add_on_attachments_get",
|
|
84
111
|
cud: "read",
|
|
85
112
|
description: "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following erro",
|
|
86
|
-
method: { id: "classroom.courses.announcements.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
113
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[3] },
|
|
87
114
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
88
115
|
hasBody: false,
|
|
89
116
|
shape: {
|
|
@@ -99,7 +126,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
99
126
|
name: "classroom_courses_announcements_add_on_attachments_list",
|
|
100
127
|
cud: "read",
|
|
101
128
|
description: "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachm",
|
|
102
|
-
method: { id: "classroom.courses.announcements.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
129
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
103
130
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
104
131
|
hasBody: false,
|
|
105
132
|
shape: {
|
|
@@ -116,7 +143,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
116
143
|
name: "classroom_courses_announcements_add_on_attachments_patch",
|
|
117
144
|
cud: "update",
|
|
118
145
|
description: "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
119
|
-
method: { id: "classroom.courses.announcements.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
146
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
120
147
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
121
148
|
hasBody: true,
|
|
122
149
|
shape: {
|
|
@@ -134,7 +161,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
134
161
|
name: "classroom_courses_announcements_create",
|
|
135
162
|
cud: "create",
|
|
136
163
|
description: "Creates an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested co",
|
|
137
|
-
method: { id: "classroom.courses.announcements.create", httpMethod: "POST", path: "v1/courses/{courseId}/announcements", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
164
|
+
method: { id: "classroom.courses.announcements.create", httpMethod: "POST", path: "v1/courses/{courseId}/announcements", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[4] },
|
|
138
165
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
139
166
|
hasBody: true,
|
|
140
167
|
shape: {
|
|
@@ -148,7 +175,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
148
175
|
name: "classroom_courses_announcements_delete",
|
|
149
176
|
cud: "delete",
|
|
150
177
|
description: "Deletes an announcement. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) us",
|
|
151
|
-
method: { id: "classroom.courses.announcements.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
178
|
+
method: { id: "classroom.courses.announcements.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[4] },
|
|
152
179
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
153
180
|
hasBody: false,
|
|
154
181
|
shape: {
|
|
@@ -162,7 +189,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
162
189
|
name: "classroom_courses_announcements_get",
|
|
163
190
|
cud: "read",
|
|
164
191
|
description: "Returns an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested co",
|
|
165
|
-
method: { id: "classroom.courses.announcements.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
192
|
+
method: { id: "classroom.courses.announcements.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[5] },
|
|
166
193
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
167
194
|
hasBody: false,
|
|
168
195
|
shape: {
|
|
@@ -176,7 +203,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
176
203
|
name: "classroom_courses_announcements_get_add_on_context",
|
|
177
204
|
cud: "read",
|
|
178
205
|
description: "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call th",
|
|
179
|
-
method: { id: "classroom.courses.announcements.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
206
|
+
method: { id: "classroom.courses.announcements.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
180
207
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "attachmentId", "api": "attachmentId", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
181
208
|
hasBody: false,
|
|
182
209
|
shape: {
|
|
@@ -193,7 +220,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
193
220
|
name: "classroom_courses_announcements_list",
|
|
194
221
|
cud: "read",
|
|
195
222
|
description: "Returns a list of announcements that the requester is permitted to view. Course students may only view `PUBLISHED` announcements. Course teachers and domain adm",
|
|
196
|
-
method: { id: "classroom.courses.announcements.list", httpMethod: "GET", path: "v1/courses/{courseId}/announcements", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
223
|
+
method: { id: "classroom.courses.announcements.list", httpMethod: "GET", path: "v1/courses/{courseId}/announcements", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[5] },
|
|
197
224
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "announcementStates", "api": "announcementStates", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
198
225
|
hasBody: false,
|
|
199
226
|
shape: {
|
|
@@ -210,7 +237,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
210
237
|
name: "classroom_courses_announcements_modify_assignees",
|
|
211
238
|
cud: "update",
|
|
212
239
|
description: "Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement may call this method. This method returns the",
|
|
213
|
-
method: { id: "classroom.courses.announcements.modifyAssignees", httpMethod: "POST", path: "v1/courses/{courseId}/announcements/{id}:modifyAssignees", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
240
|
+
method: { id: "classroom.courses.announcements.modifyAssignees", httpMethod: "POST", path: "v1/courses/{courseId}/announcements/{id}:modifyAssignees", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[4] },
|
|
214
241
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
215
242
|
hasBody: true,
|
|
216
243
|
shape: {
|
|
@@ -225,7 +252,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
225
252
|
name: "classroom_courses_announcements_patch",
|
|
226
253
|
cud: "update",
|
|
227
254
|
description: "Updates one or more fields of an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not",
|
|
228
|
-
method: { id: "classroom.courses.announcements.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
255
|
+
method: { id: "classroom.courses.announcements.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[4] },
|
|
229
256
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
230
257
|
hasBody: true,
|
|
231
258
|
shape: {
|
|
@@ -241,7 +268,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
241
268
|
name: "classroom_courses_course_work_add_on_attachments_create",
|
|
242
269
|
cud: "create",
|
|
243
270
|
description: "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error",
|
|
244
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
271
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[2] },
|
|
245
272
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
246
273
|
hasBody: true,
|
|
247
274
|
shape: {
|
|
@@ -258,7 +285,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
258
285
|
name: "classroom_courses_course_work_add_on_attachments_delete",
|
|
259
286
|
cud: "delete",
|
|
260
287
|
description: "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
261
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
288
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
262
289
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
263
290
|
hasBody: false,
|
|
264
291
|
shape: {
|
|
@@ -274,7 +301,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
274
301
|
name: "classroom_courses_course_work_add_on_attachments_get",
|
|
275
302
|
cud: "read",
|
|
276
303
|
description: "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following erro",
|
|
277
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
304
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[3] },
|
|
278
305
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
279
306
|
hasBody: false,
|
|
280
307
|
shape: {
|
|
@@ -290,7 +317,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
290
317
|
name: "classroom_courses_course_work_add_on_attachments_list",
|
|
291
318
|
cud: "read",
|
|
292
319
|
description: "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachm",
|
|
293
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
320
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
294
321
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
295
322
|
hasBody: false,
|
|
296
323
|
shape: {
|
|
@@ -307,7 +334,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
307
334
|
name: "classroom_courses_course_work_add_on_attachments_patch",
|
|
308
335
|
cud: "update",
|
|
309
336
|
description: "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
310
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
337
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
311
338
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
312
339
|
hasBody: true,
|
|
313
340
|
shape: {
|
|
@@ -325,7 +352,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
325
352
|
name: "classroom_coursework_addon_submissions_get",
|
|
326
353
|
cud: "read",
|
|
327
354
|
description: "Returns a student submission for an add-on attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUME",
|
|
328
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId", "submissionId"] },
|
|
355
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId", "submissionId"], scopes: S_classroom_v1[6] },
|
|
329
356
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "submissionId", "api": "submissionId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
330
357
|
hasBody: false,
|
|
331
358
|
shape: {
|
|
@@ -342,7 +369,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
342
369
|
name: "classroom_coursework_addon_submissions_patch",
|
|
343
370
|
cud: "update",
|
|
344
371
|
description: "Updates data associated with an add-on attachment submission. Requires the add-on to have been the original creator of the attachment and the attachment to have",
|
|
345
|
-
method: { id: "classroom.courses.courseWork.addOnAttachments.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId", "submissionId"] },
|
|
372
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId", "submissionId"], scopes: S_classroom_v1[2] },
|
|
346
373
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "submissionId", "api": "submissionId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
347
374
|
hasBody: true,
|
|
348
375
|
shape: {
|
|
@@ -361,7 +388,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
361
388
|
name: "classroom_courses_course_work_create",
|
|
362
389
|
cud: "create",
|
|
363
390
|
description: "Creates course work. The resulting course work (and corresponding student submissions) are associated with the Developer Console project of the [OAuth client ID",
|
|
364
|
-
method: { id: "classroom.courses.courseWork.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
391
|
+
method: { id: "classroom.courses.courseWork.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[7] },
|
|
365
392
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
366
393
|
hasBody: true,
|
|
367
394
|
shape: {
|
|
@@ -375,7 +402,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
375
402
|
name: "classroom_courses_course_work_delete",
|
|
376
403
|
cud: "delete",
|
|
377
404
|
description: "Deletes a course work. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used",
|
|
378
|
-
method: { id: "classroom.courses.courseWork.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
405
|
+
method: { id: "classroom.courses.courseWork.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[7] },
|
|
379
406
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
380
407
|
hasBody: false,
|
|
381
408
|
shape: {
|
|
@@ -389,7 +416,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
389
416
|
name: "classroom_courses_course_work_get",
|
|
390
417
|
cud: "read",
|
|
391
418
|
description: "Returns course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course",
|
|
392
|
-
method: { id: "classroom.courses.courseWork.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
419
|
+
method: { id: "classroom.courses.courseWork.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[8] },
|
|
393
420
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
394
421
|
hasBody: false,
|
|
395
422
|
shape: {
|
|
@@ -403,7 +430,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
403
430
|
name: "classroom_courses_course_work_get_add_on_context",
|
|
404
431
|
cud: "read",
|
|
405
432
|
description: "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call th",
|
|
406
|
-
method: { id: "classroom.courses.courseWork.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
433
|
+
method: { id: "classroom.courses.courseWork.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
407
434
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "attachmentId", "api": "attachmentId", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
408
435
|
hasBody: false,
|
|
409
436
|
shape: {
|
|
@@ -420,7 +447,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
420
447
|
name: "classroom_courses_course_work_list",
|
|
421
448
|
cud: "read",
|
|
422
449
|
description: "Returns a list of course work that the requester is permitted to view. Course students may only view `PUBLISHED` course work. Course teachers and domain adminis",
|
|
423
|
-
method: { id: "classroom.courses.courseWork.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
450
|
+
method: { id: "classroom.courses.courseWork.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[8] },
|
|
424
451
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkStates", "api": "courseWorkStates", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
425
452
|
hasBody: false,
|
|
426
453
|
shape: {
|
|
@@ -437,7 +464,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
437
464
|
name: "classroom_courses_course_work_modify_assignees",
|
|
438
465
|
cud: "update",
|
|
439
466
|
description: "Modifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the foll",
|
|
440
|
-
method: { id: "classroom.courses.courseWork.modifyAssignees", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{id}:modifyAssignees", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
467
|
+
method: { id: "classroom.courses.courseWork.modifyAssignees", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{id}:modifyAssignees", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[7] },
|
|
441
468
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
442
469
|
hasBody: true,
|
|
443
470
|
shape: {
|
|
@@ -452,7 +479,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
452
479
|
name: "classroom_courses_course_work_patch",
|
|
453
480
|
cud: "update",
|
|
454
481
|
description: "Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request",
|
|
455
|
-
method: { id: "classroom.courses.courseWork.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
482
|
+
method: { id: "classroom.courses.courseWork.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[7] },
|
|
456
483
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
457
484
|
hasBody: true,
|
|
458
485
|
shape: {
|
|
@@ -468,7 +495,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
468
495
|
name: "classroom_courses_course_work_rubrics_create",
|
|
469
496
|
cud: "create",
|
|
470
497
|
description: "Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.goo",
|
|
471
|
-
method: { id: "classroom.courses.courseWork.rubrics.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"] },
|
|
498
|
+
method: { id: "classroom.courses.courseWork.rubrics.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"], scopes: S_classroom_v1[7] },
|
|
472
499
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
473
500
|
hasBody: true,
|
|
474
501
|
shape: {
|
|
@@ -483,7 +510,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
483
510
|
name: "classroom_courses_course_work_rubrics_delete",
|
|
484
511
|
cud: "delete",
|
|
485
512
|
description: "Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.goo",
|
|
486
|
-
method: { id: "classroom.courses.courseWork.rubrics.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
513
|
+
method: { id: "classroom.courses.courseWork.rubrics.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[7] },
|
|
487
514
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
488
515
|
hasBody: false,
|
|
489
516
|
shape: {
|
|
@@ -498,7 +525,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
498
525
|
name: "classroom_courses_course_work_rubrics_get",
|
|
499
526
|
cud: "read",
|
|
500
527
|
description: "Returns a rubric. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `N",
|
|
501
|
-
method: { id: "classroom.courses.courseWork.rubrics.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
528
|
+
method: { id: "classroom.courses.courseWork.rubrics.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[8] },
|
|
502
529
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
503
530
|
hasBody: false,
|
|
504
531
|
shape: {
|
|
@@ -513,7 +540,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
513
540
|
name: "classroom_courses_course_work_rubrics_list",
|
|
514
541
|
cud: "read",
|
|
515
542
|
description: "Returns a list of rubrics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `IN",
|
|
516
|
-
method: { id: "classroom.courses.courseWork.rubrics.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"] },
|
|
543
|
+
method: { id: "classroom.courses.courseWork.rubrics.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"], scopes: S_classroom_v1[8] },
|
|
517
544
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
518
545
|
hasBody: false,
|
|
519
546
|
shape: {
|
|
@@ -529,7 +556,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
529
556
|
name: "classroom_courses_course_work_rubrics_patch",
|
|
530
557
|
cud: "update",
|
|
531
558
|
description: "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitat",
|
|
532
|
-
method: { id: "classroom.courses.courseWork.rubrics.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
559
|
+
method: { id: "classroom.courses.courseWork.rubrics.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[7] },
|
|
533
560
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
534
561
|
hasBody: true,
|
|
535
562
|
shape: {
|
|
@@ -546,7 +573,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
546
573
|
name: "classroom_courses_course_work_student_submissions_get",
|
|
547
574
|
cud: "read",
|
|
548
575
|
description: "Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission o",
|
|
549
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
576
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[9] },
|
|
550
577
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
551
578
|
hasBody: false,
|
|
552
579
|
shape: {
|
|
@@ -561,7 +588,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
561
588
|
name: "classroom_courses_course_work_student_submissions_list",
|
|
562
589
|
cud: "read",
|
|
563
590
|
description: "Returns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request. A hyphen (`-`) may be specified as",
|
|
564
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"] },
|
|
591
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"], scopes: S_classroom_v1[9] },
|
|
565
592
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "late", "api": "late", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "states", "api": "states", "location": "query" }, { "field": "userId", "api": "userId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
566
593
|
hasBody: false,
|
|
567
594
|
shape: {
|
|
@@ -580,7 +607,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
580
607
|
name: "classroom_coursework_submissions_modify_attachments",
|
|
581
608
|
cud: "update",
|
|
582
609
|
description: "Modifies attachments of student submission. Attachments may only be added to student submissions belonging to course work objects with a `workType` of `ASSIGNME",
|
|
583
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.modifyAttachments", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
610
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.modifyAttachments", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[10] },
|
|
584
611
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
585
612
|
hasBody: true,
|
|
586
613
|
shape: {
|
|
@@ -596,7 +623,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
596
623
|
name: "classroom_courses_course_work_student_submissions_patch",
|
|
597
624
|
cud: "update",
|
|
598
625
|
description: "Updates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them",
|
|
599
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
626
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[10] },
|
|
600
627
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
601
628
|
hasBody: true,
|
|
602
629
|
shape: {
|
|
@@ -613,7 +640,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
613
640
|
name: "classroom_courses_course_work_student_submissions_reclaim",
|
|
614
641
|
cud: "create",
|
|
615
642
|
description: "Reclaims a student submission on behalf of the student that owns it. Reclaiming a student submission transfers ownership of attached Drive files to the student",
|
|
616
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.reclaim", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
643
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.reclaim", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[11] },
|
|
617
644
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
618
645
|
hasBody: true,
|
|
619
646
|
shape: {
|
|
@@ -629,7 +656,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
629
656
|
name: "classroom_courses_course_work_student_submissions_return",
|
|
630
657
|
cud: "create",
|
|
631
658
|
description: "Returns a student submission. Returning a student submission transfers ownership of attached Drive files to the student and may also update the submission state",
|
|
632
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.return", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
659
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.return", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[7] },
|
|
633
660
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
634
661
|
hasBody: true,
|
|
635
662
|
shape: {
|
|
@@ -645,7 +672,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
645
672
|
name: "classroom_courses_course_work_student_submissions_turn_in",
|
|
646
673
|
cud: "create",
|
|
647
674
|
description: "Turns in a student submission. Turning in a student submission transfers ownership of attached Drive files to the teacher and may also update the submission sta",
|
|
648
|
-
method: { id: "classroom.courses.courseWork.studentSubmissions.turnIn", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"] },
|
|
675
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.turnIn", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId", "id"], scopes: S_classroom_v1[11] },
|
|
649
676
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
650
677
|
hasBody: true,
|
|
651
678
|
shape: {
|
|
@@ -661,7 +688,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
661
688
|
name: "classroom_courses_course_work_update_rubric",
|
|
662
689
|
cud: "update",
|
|
663
690
|
description: "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitat",
|
|
664
|
-
method: { id: "classroom.courses.courseWork.updateRubric", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubric", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"] },
|
|
691
|
+
method: { id: "classroom.courses.courseWork.updateRubric", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubric", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "courseWorkId"], scopes: S_classroom_v1[7] },
|
|
665
692
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "id", "api": "id", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
666
693
|
hasBody: true,
|
|
667
694
|
shape: {
|
|
@@ -678,7 +705,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
678
705
|
name: "classroom_coursework_materials_addons_create",
|
|
679
706
|
cud: "create",
|
|
680
707
|
description: "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error",
|
|
681
|
-
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
708
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[2] },
|
|
682
709
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
683
710
|
hasBody: true,
|
|
684
711
|
shape: {
|
|
@@ -695,7 +722,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
695
722
|
name: "classroom_coursework_materials_addons_delete",
|
|
696
723
|
cud: "delete",
|
|
697
724
|
description: "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
698
|
-
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
725
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
699
726
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
700
727
|
hasBody: false,
|
|
701
728
|
shape: {
|
|
@@ -711,7 +738,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
711
738
|
name: "classroom_courses_course_work_materials_add_on_attachments_get",
|
|
712
739
|
cud: "read",
|
|
713
740
|
description: "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following erro",
|
|
714
|
-
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
741
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[3] },
|
|
715
742
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
716
743
|
hasBody: false,
|
|
717
744
|
shape: {
|
|
@@ -727,7 +754,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
727
754
|
name: "classroom_courses_course_work_materials_add_on_attachments_list",
|
|
728
755
|
cud: "read",
|
|
729
756
|
description: "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachm",
|
|
730
|
-
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
757
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
731
758
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
732
759
|
hasBody: false,
|
|
733
760
|
shape: {
|
|
@@ -744,7 +771,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
744
771
|
name: "classroom_courses_course_work_materials_add_on_attachments_patch",
|
|
745
772
|
cud: "update",
|
|
746
773
|
description: "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
747
|
-
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"] },
|
|
774
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
748
775
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
749
776
|
hasBody: true,
|
|
750
777
|
shape: {
|
|
@@ -762,7 +789,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
762
789
|
name: "classroom_courses_course_work_materials_create",
|
|
763
790
|
cud: "create",
|
|
764
791
|
description: "Creates a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the reque",
|
|
765
|
-
method: { id: "classroom.courses.courseWorkMaterials.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWorkMaterials", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
792
|
+
method: { id: "classroom.courses.courseWorkMaterials.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWorkMaterials", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[12] },
|
|
766
793
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
767
794
|
hasBody: true,
|
|
768
795
|
shape: {
|
|
@@ -776,7 +803,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
776
803
|
name: "classroom_courses_course_work_materials_delete",
|
|
777
804
|
cud: "delete",
|
|
778
805
|
description: "Deletes a course work material. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158",
|
|
779
|
-
method: { id: "classroom.courses.courseWorkMaterials.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
806
|
+
method: { id: "classroom.courses.courseWorkMaterials.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[12] },
|
|
780
807
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
781
808
|
hasBody: false,
|
|
782
809
|
shape: {
|
|
@@ -790,7 +817,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
790
817
|
name: "classroom_courses_course_work_materials_get",
|
|
791
818
|
cud: "read",
|
|
792
819
|
description: "Returns a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the reque",
|
|
793
|
-
method: { id: "classroom.courses.courseWorkMaterials.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
820
|
+
method: { id: "classroom.courses.courseWorkMaterials.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[13] },
|
|
794
821
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
795
822
|
hasBody: false,
|
|
796
823
|
shape: {
|
|
@@ -804,7 +831,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
804
831
|
name: "classroom_courses_course_work_materials_get_add_on_context",
|
|
805
832
|
cud: "read",
|
|
806
833
|
description: "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call th",
|
|
807
|
-
method: { id: "classroom.courses.courseWorkMaterials.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"] },
|
|
834
|
+
method: { id: "classroom.courses.courseWorkMaterials.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "itemId"], scopes: S_classroom_v1[3] },
|
|
808
835
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "attachmentId", "api": "attachmentId", "location": "query" }, { "field": "postId", "api": "postId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
809
836
|
hasBody: false,
|
|
810
837
|
shape: {
|
|
@@ -821,7 +848,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
821
848
|
name: "classroom_courses_course_work_materials_list",
|
|
822
849
|
cud: "read",
|
|
823
850
|
description: "Returns a list of course work material that the requester is permitted to view. Course students may only view `PUBLISHED` course work material. Course teachers",
|
|
824
|
-
method: { id: "classroom.courses.courseWorkMaterials.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
851
|
+
method: { id: "classroom.courses.courseWorkMaterials.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[13] },
|
|
825
852
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkMaterialStates", "api": "courseWorkMaterialStates", "location": "query" }, { "field": "materialDriveId", "api": "materialDriveId", "location": "query" }, { "field": "materialLink", "api": "materialLink", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
826
853
|
hasBody: false,
|
|
827
854
|
shape: {
|
|
@@ -840,7 +867,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
840
867
|
name: "classroom_courses_course_work_materials_patch",
|
|
841
868
|
cud: "update",
|
|
842
869
|
description: "Updates one or more fields of a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project f",
|
|
843
|
-
method: { id: "classroom.courses.courseWorkMaterials.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
870
|
+
method: { id: "classroom.courses.courseWorkMaterials.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[12] },
|
|
844
871
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
845
872
|
hasBody: true,
|
|
846
873
|
shape: {
|
|
@@ -856,7 +883,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
856
883
|
name: "classroom_courses_create",
|
|
857
884
|
cud: "create",
|
|
858
885
|
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 cours",
|
|
859
|
-
method: { id: "classroom.courses.create", httpMethod: "POST", path: "v1/courses", baseUrl: "https://classroom.googleapis.com/", requiredParams: [] },
|
|
886
|
+
method: { id: "classroom.courses.create", httpMethod: "POST", path: "v1/courses", baseUrl: "https://classroom.googleapis.com/", requiredParams: [], scopes: S_classroom_v1[0] },
|
|
860
887
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
861
888
|
hasBody: true,
|
|
862
889
|
shape: {
|
|
@@ -869,7 +896,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
869
896
|
name: "classroom_courses_delete",
|
|
870
897
|
cud: "delete",
|
|
871
898
|
description: "Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or",
|
|
872
|
-
method: { id: "classroom.courses.delete", httpMethod: "DELETE", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
899
|
+
method: { id: "classroom.courses.delete", httpMethod: "DELETE", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[0] },
|
|
873
900
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
874
901
|
hasBody: false,
|
|
875
902
|
shape: {
|
|
@@ -882,7 +909,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
882
909
|
name: "classroom_courses_get",
|
|
883
910
|
cud: "read",
|
|
884
911
|
description: "Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or",
|
|
885
|
-
method: { id: "classroom.courses.get", httpMethod: "GET", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
912
|
+
method: { id: "classroom.courses.get", httpMethod: "GET", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[1] },
|
|
886
913
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
887
914
|
hasBody: false,
|
|
888
915
|
shape: {
|
|
@@ -895,7 +922,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
895
922
|
name: "classroom_courses_get_grading_period_settings",
|
|
896
923
|
cud: "read",
|
|
897
924
|
description: "Returns the grading period settings in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to",
|
|
898
|
-
method: { id: "classroom.courses.getGradingPeriodSettings", httpMethod: "GET", path: "v1/courses/{courseId}/gradingPeriodSettings", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
925
|
+
method: { id: "classroom.courses.getGradingPeriodSettings", httpMethod: "GET", path: "v1/courses/{courseId}/gradingPeriodSettings", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[1] },
|
|
899
926
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
900
927
|
hasBody: false,
|
|
901
928
|
shape: {
|
|
@@ -908,7 +935,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
908
935
|
name: "classroom_courses_list",
|
|
909
936
|
cud: "read",
|
|
910
937
|
description: "Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation ti",
|
|
911
|
-
method: { id: "classroom.courses.list", httpMethod: "GET", path: "v1/courses", baseUrl: "https://classroom.googleapis.com/", requiredParams: [] },
|
|
938
|
+
method: { id: "classroom.courses.list", httpMethod: "GET", path: "v1/courses", baseUrl: "https://classroom.googleapis.com/", requiredParams: [], scopes: S_classroom_v1[1] },
|
|
912
939
|
params: [{ "field": "courseStates", "api": "courseStates", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "studentId", "api": "studentId", "location": "query" }, { "field": "teacherId", "api": "teacherId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
913
940
|
hasBody: false,
|
|
914
941
|
shape: {
|
|
@@ -925,7 +952,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
925
952
|
name: "classroom_courses_patch",
|
|
926
953
|
cud: "update",
|
|
927
954
|
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 t",
|
|
928
|
-
method: { id: "classroom.courses.patch", httpMethod: "PATCH", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
955
|
+
method: { id: "classroom.courses.patch", httpMethod: "PATCH", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[0] },
|
|
929
956
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
930
957
|
hasBody: true,
|
|
931
958
|
shape: {
|
|
@@ -940,7 +967,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
940
967
|
name: "classroom_courses_posts_add_on_attachments_create",
|
|
941
968
|
cud: "create",
|
|
942
969
|
description: "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error",
|
|
943
|
-
method: { id: "classroom.courses.posts.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"] },
|
|
970
|
+
method: { id: "classroom.courses.posts.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"], scopes: S_classroom_v1[2] },
|
|
944
971
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
945
972
|
hasBody: true,
|
|
946
973
|
shape: {
|
|
@@ -957,7 +984,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
957
984
|
name: "classroom_courses_posts_add_on_attachments_delete",
|
|
958
985
|
cud: "delete",
|
|
959
986
|
description: "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
960
|
-
method: { id: "classroom.courses.posts.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"] },
|
|
987
|
+
method: { id: "classroom.courses.posts.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
961
988
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
962
989
|
hasBody: false,
|
|
963
990
|
shape: {
|
|
@@ -973,7 +1000,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
973
1000
|
name: "classroom_courses_posts_add_on_attachments_get",
|
|
974
1001
|
cud: "read",
|
|
975
1002
|
description: "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following erro",
|
|
976
|
-
method: { id: "classroom.courses.posts.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"] },
|
|
1003
|
+
method: { id: "classroom.courses.posts.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"], scopes: S_classroom_v1[3] },
|
|
977
1004
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
978
1005
|
hasBody: false,
|
|
979
1006
|
shape: {
|
|
@@ -989,7 +1016,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
989
1016
|
name: "classroom_courses_posts_add_on_attachments_list",
|
|
990
1017
|
cud: "read",
|
|
991
1018
|
description: "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachm",
|
|
992
|
-
method: { id: "classroom.courses.posts.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"] },
|
|
1019
|
+
method: { id: "classroom.courses.posts.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"], scopes: S_classroom_v1[3] },
|
|
993
1020
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
994
1021
|
hasBody: false,
|
|
995
1022
|
shape: {
|
|
@@ -1006,7 +1033,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1006
1033
|
name: "classroom_courses_posts_add_on_attachments_patch",
|
|
1007
1034
|
cud: "update",
|
|
1008
1035
|
description: "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISS",
|
|
1009
|
-
method: { id: "classroom.courses.posts.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"] },
|
|
1036
|
+
method: { id: "classroom.courses.posts.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId"], scopes: S_classroom_v1[2] },
|
|
1010
1037
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1011
1038
|
hasBody: true,
|
|
1012
1039
|
shape: {
|
|
@@ -1024,7 +1051,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1024
1051
|
name: "classroom_posts_addon_submissions_get",
|
|
1025
1052
|
cud: "read",
|
|
1026
1053
|
description: "Returns a student submission for an add-on attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUME",
|
|
1027
|
-
method: { id: "classroom.courses.posts.addOnAttachments.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId", "submissionId"] },
|
|
1054
|
+
method: { id: "classroom.courses.posts.addOnAttachments.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId", "submissionId"], scopes: S_classroom_v1[6] },
|
|
1028
1055
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "submissionId", "api": "submissionId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1029
1056
|
hasBody: false,
|
|
1030
1057
|
shape: {
|
|
@@ -1041,7 +1068,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1041
1068
|
name: "classroom_posts_addon_submissions_patch",
|
|
1042
1069
|
cud: "update",
|
|
1043
1070
|
description: "Updates data associated with an add-on attachment submission. Requires the add-on to have been the original creator of the attachment and the attachment to have",
|
|
1044
|
-
method: { id: "classroom.courses.posts.addOnAttachments.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId", "submissionId"] },
|
|
1071
|
+
method: { id: "classroom.courses.posts.addOnAttachments.studentSubmissions.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId", "attachmentId", "submissionId"], scopes: S_classroom_v1[2] },
|
|
1045
1072
|
params: [{ "field": "attachmentId", "api": "attachmentId", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "submissionId", "api": "submissionId", "location": "path" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1046
1073
|
hasBody: true,
|
|
1047
1074
|
shape: {
|
|
@@ -1060,7 +1087,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1060
1087
|
name: "classroom_courses_posts_get_add_on_context",
|
|
1061
1088
|
cud: "read",
|
|
1062
1089
|
description: "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call th",
|
|
1063
|
-
method: { id: "classroom.courses.posts.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"] },
|
|
1090
|
+
method: { id: "classroom.courses.posts.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "postId"], scopes: S_classroom_v1[3] },
|
|
1064
1091
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "postId", "api": "postId", "location": "path" }, { "field": "addOnToken", "api": "addOnToken", "location": "query" }, { "field": "attachmentId", "api": "attachmentId", "location": "query" }, { "field": "itemId", "api": "itemId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1065
1092
|
hasBody: false,
|
|
1066
1093
|
shape: {
|
|
@@ -1077,7 +1104,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1077
1104
|
name: "classroom_courses_student_groups_create",
|
|
1078
1105
|
cud: "create",
|
|
1079
1106
|
description: "Creates a student group for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the",
|
|
1080
|
-
method: { id: "classroom.courses.studentGroups.create", httpMethod: "POST", path: "v1/courses/{courseId}/studentGroups", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1107
|
+
method: { id: "classroom.courses.studentGroups.create", httpMethod: "POST", path: "v1/courses/{courseId}/studentGroups", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[14] },
|
|
1081
1108
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1082
1109
|
hasBody: true,
|
|
1083
1110
|
shape: {
|
|
@@ -1091,7 +1118,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1091
1118
|
name: "classroom_courses_student_groups_delete",
|
|
1092
1119
|
cud: "delete",
|
|
1093
1120
|
description: "Deletes a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested st",
|
|
1094
|
-
method: { id: "classroom.courses.studentGroups.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1121
|
+
method: { id: "classroom.courses.studentGroups.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[14] },
|
|
1095
1122
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1096
1123
|
hasBody: false,
|
|
1097
1124
|
shape: {
|
|
@@ -1105,7 +1132,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1105
1132
|
name: "classroom_courses_student_groups_list",
|
|
1106
1133
|
cud: "read",
|
|
1107
1134
|
description: "Returns a list of groups in a course. This method returns the following error codes: * `NOT_FOUND` if the course does not exist.",
|
|
1108
|
-
method: { id: "classroom.courses.studentGroups.list", httpMethod: "GET", path: "v1/courses/{courseId}/studentGroups", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1135
|
+
method: { id: "classroom.courses.studentGroups.list", httpMethod: "GET", path: "v1/courses/{courseId}/studentGroups", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[15] },
|
|
1109
1136
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1110
1137
|
hasBody: false,
|
|
1111
1138
|
shape: {
|
|
@@ -1120,7 +1147,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1120
1147
|
name: "classroom_courses_student_groups_patch",
|
|
1121
1148
|
cud: "update",
|
|
1122
1149
|
description: "Updates one or more fields in a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to m",
|
|
1123
|
-
method: { id: "classroom.courses.studentGroups.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1150
|
+
method: { id: "classroom.courses.studentGroups.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[14] },
|
|
1124
1151
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1125
1152
|
hasBody: true,
|
|
1126
1153
|
shape: {
|
|
@@ -1136,7 +1163,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1136
1163
|
name: "classroom_courses_student_groups_student_group_members_create",
|
|
1137
1164
|
cud: "create",
|
|
1138
1165
|
description: "Creates a student group member for a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted",
|
|
1139
|
-
method: { id: "classroom.courses.studentGroups.studentGroupMembers.create", httpMethod: "POST", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId"] },
|
|
1166
|
+
method: { id: "classroom.courses.studentGroups.studentGroupMembers.create", httpMethod: "POST", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId"], scopes: S_classroom_v1[14] },
|
|
1140
1167
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "studentGroupId", "api": "studentGroupId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1141
1168
|
hasBody: true,
|
|
1142
1169
|
shape: {
|
|
@@ -1151,7 +1178,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1151
1178
|
name: "classroom_courses_student_groups_student_group_members_delete",
|
|
1152
1179
|
cud: "delete",
|
|
1153
1180
|
description: "Deletes a student group member. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the reque",
|
|
1154
|
-
method: { id: "classroom.courses.studentGroups.studentGroupMembers.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId", "userId"] },
|
|
1181
|
+
method: { id: "classroom.courses.studentGroups.studentGroupMembers.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId", "userId"], scopes: S_classroom_v1[14] },
|
|
1155
1182
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "studentGroupId", "api": "studentGroupId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1156
1183
|
hasBody: false,
|
|
1157
1184
|
shape: {
|
|
@@ -1166,7 +1193,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1166
1193
|
name: "classroom_courses_student_groups_student_group_members_list",
|
|
1167
1194
|
cud: "read",
|
|
1168
1195
|
description: "Returns a list of students in a group. This method returns the following error codes: * `NOT_FOUND` if the course or student group does not exist.",
|
|
1169
|
-
method: { id: "classroom.courses.studentGroups.studentGroupMembers.list", httpMethod: "GET", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId"] },
|
|
1196
|
+
method: { id: "classroom.courses.studentGroups.studentGroupMembers.list", httpMethod: "GET", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "studentGroupId"], scopes: S_classroom_v1[15] },
|
|
1170
1197
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "studentGroupId", "api": "studentGroupId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1171
1198
|
hasBody: false,
|
|
1172
1199
|
shape: {
|
|
@@ -1182,7 +1209,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1182
1209
|
name: "classroom_courses_students_create",
|
|
1183
1210
|
cud: "create",
|
|
1184
1211
|
description: "Adds a user as a student of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-user",
|
|
1185
|
-
method: { id: "classroom.courses.students.create", httpMethod: "POST", path: "v1/courses/{courseId}/students", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1212
|
+
method: { id: "classroom.courses.students.create", httpMethod: "POST", path: "v1/courses/{courseId}/students", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[16] },
|
|
1186
1213
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "enrollmentCode", "api": "enrollmentCode", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1187
1214
|
hasBody: true,
|
|
1188
1215
|
shape: {
|
|
@@ -1197,7 +1224,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1197
1224
|
name: "classroom_courses_students_delete",
|
|
1198
1225
|
cud: "delete",
|
|
1199
1226
|
description: "Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students o",
|
|
1200
|
-
method: { id: "classroom.courses.students.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/students/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"] },
|
|
1227
|
+
method: { id: "classroom.courses.students.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/students/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"], scopes: S_classroom_v1[14] },
|
|
1201
1228
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1202
1229
|
hasBody: false,
|
|
1203
1230
|
shape: {
|
|
@@ -1211,7 +1238,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1211
1238
|
name: "classroom_courses_students_get",
|
|
1212
1239
|
cud: "read",
|
|
1213
1240
|
description: "Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of",
|
|
1214
|
-
method: { id: "classroom.courses.students.get", httpMethod: "GET", path: "v1/courses/{courseId}/students/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"] },
|
|
1241
|
+
method: { id: "classroom.courses.students.get", httpMethod: "GET", path: "v1/courses/{courseId}/students/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"], scopes: S_classroom_v1[17] },
|
|
1215
1242
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1216
1243
|
hasBody: false,
|
|
1217
1244
|
shape: {
|
|
@@ -1225,7 +1252,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1225
1252
|
name: "classroom_courses_students_list",
|
|
1226
1253
|
cud: "read",
|
|
1227
1254
|
description: "Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course do",
|
|
1228
|
-
method: { id: "classroom.courses.students.list", httpMethod: "GET", path: "v1/courses/{courseId}/students", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1255
|
+
method: { id: "classroom.courses.students.list", httpMethod: "GET", path: "v1/courses/{courseId}/students", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[17] },
|
|
1229
1256
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1230
1257
|
hasBody: false,
|
|
1231
1258
|
shape: {
|
|
@@ -1240,7 +1267,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1240
1267
|
name: "classroom_courses_teachers_create",
|
|
1241
1268
|
cud: "create",
|
|
1242
1269
|
description: "Creates a teacher of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) user",
|
|
1243
|
-
method: { id: "classroom.courses.teachers.create", httpMethod: "POST", path: "v1/courses/{courseId}/teachers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1270
|
+
method: { id: "classroom.courses.teachers.create", httpMethod: "POST", path: "v1/courses/{courseId}/teachers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[16] },
|
|
1244
1271
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1245
1272
|
hasBody: true,
|
|
1246
1273
|
shape: {
|
|
@@ -1254,7 +1281,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1254
1281
|
name: "classroom_courses_teachers_delete",
|
|
1255
1282
|
cud: "delete",
|
|
1256
1283
|
description: "Removes the specified teacher from the specified course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not perm",
|
|
1257
|
-
method: { id: "classroom.courses.teachers.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/teachers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"] },
|
|
1284
|
+
method: { id: "classroom.courses.teachers.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/teachers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"], scopes: S_classroom_v1[14] },
|
|
1258
1285
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1259
1286
|
hasBody: false,
|
|
1260
1287
|
shape: {
|
|
@@ -1268,7 +1295,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1268
1295
|
name: "classroom_courses_teachers_get",
|
|
1269
1296
|
cud: "read",
|
|
1270
1297
|
description: "Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of",
|
|
1271
|
-
method: { id: "classroom.courses.teachers.get", httpMethod: "GET", path: "v1/courses/{courseId}/teachers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"] },
|
|
1298
|
+
method: { id: "classroom.courses.teachers.get", httpMethod: "GET", path: "v1/courses/{courseId}/teachers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "userId"], scopes: S_classroom_v1[17] },
|
|
1272
1299
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1273
1300
|
hasBody: false,
|
|
1274
1301
|
shape: {
|
|
@@ -1282,7 +1309,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1282
1309
|
name: "classroom_courses_teachers_list",
|
|
1283
1310
|
cud: "read",
|
|
1284
1311
|
description: "Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course do",
|
|
1285
|
-
method: { id: "classroom.courses.teachers.list", httpMethod: "GET", path: "v1/courses/{courseId}/teachers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1312
|
+
method: { id: "classroom.courses.teachers.list", httpMethod: "GET", path: "v1/courses/{courseId}/teachers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[17] },
|
|
1286
1313
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1287
1314
|
hasBody: false,
|
|
1288
1315
|
shape: {
|
|
@@ -1297,7 +1324,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1297
1324
|
name: "classroom_courses_topics_create",
|
|
1298
1325
|
cud: "create",
|
|
1299
1326
|
description: "Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, cr",
|
|
1300
|
-
method: { id: "classroom.courses.topics.create", httpMethod: "POST", path: "v1/courses/{courseId}/topics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1327
|
+
method: { id: "classroom.courses.topics.create", httpMethod: "POST", path: "v1/courses/{courseId}/topics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[18] },
|
|
1301
1328
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1302
1329
|
hasBody: true,
|
|
1303
1330
|
shape: {
|
|
@@ -1311,7 +1338,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1311
1338
|
name: "classroom_courses_topics_delete",
|
|
1312
1339
|
cud: "delete",
|
|
1313
1340
|
description: "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",
|
|
1314
|
-
method: { id: "classroom.courses.topics.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1341
|
+
method: { id: "classroom.courses.topics.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[18] },
|
|
1315
1342
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1316
1343
|
hasBody: false,
|
|
1317
1344
|
shape: {
|
|
@@ -1325,7 +1352,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1325
1352
|
name: "classroom_courses_topics_get",
|
|
1326
1353
|
cud: "read",
|
|
1327
1354
|
description: "Returns a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or",
|
|
1328
|
-
method: { id: "classroom.courses.topics.get", httpMethod: "GET", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1355
|
+
method: { id: "classroom.courses.topics.get", httpMethod: "GET", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[19] },
|
|
1329
1356
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1330
1357
|
hasBody: false,
|
|
1331
1358
|
shape: {
|
|
@@ -1339,7 +1366,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1339
1366
|
name: "classroom_courses_topics_list",
|
|
1340
1367
|
cud: "read",
|
|
1341
1368
|
description: "Returns the list of topics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user",
|
|
1342
|
-
method: { id: "classroom.courses.topics.list", httpMethod: "GET", path: "v1/courses/{courseId}/topics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1369
|
+
method: { id: "classroom.courses.topics.list", httpMethod: "GET", path: "v1/courses/{courseId}/topics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[19] },
|
|
1343
1370
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1344
1371
|
hasBody: false,
|
|
1345
1372
|
shape: {
|
|
@@ -1354,7 +1381,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1354
1381
|
name: "classroom_courses_topics_patch",
|
|
1355
1382
|
cud: "update",
|
|
1356
1383
|
description: "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 t",
|
|
1357
|
-
method: { id: "classroom.courses.topics.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1384
|
+
method: { id: "classroom.courses.topics.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"], scopes: S_classroom_v1[18] },
|
|
1358
1385
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1359
1386
|
hasBody: true,
|
|
1360
1387
|
shape: {
|
|
@@ -1370,7 +1397,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1370
1397
|
name: "classroom_courses_update",
|
|
1371
1398
|
cud: "update",
|
|
1372
1399
|
description: "Updates a course. Note: Unlike other fields, `levels` is not cleared if omitted from the request. The `UpdateCourse` method only modifies `levels` if it is expl",
|
|
1373
|
-
method: { id: "classroom.courses.update", httpMethod: "PUT", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
1400
|
+
method: { id: "classroom.courses.update", httpMethod: "PUT", path: "v1/courses/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[0] },
|
|
1374
1401
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1375
1402
|
hasBody: true,
|
|
1376
1403
|
shape: {
|
|
@@ -1384,7 +1411,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1384
1411
|
name: "classroom_courses_update_grading_period_settings",
|
|
1385
1412
|
cud: "update",
|
|
1386
1413
|
description: "Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course own",
|
|
1387
|
-
method: { id: "classroom.courses.updateGradingPeriodSettings", httpMethod: "PATCH", path: "v1/courses/{courseId}/gradingPeriodSettings", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"] },
|
|
1414
|
+
method: { id: "classroom.courses.updateGradingPeriodSettings", httpMethod: "PATCH", path: "v1/courses/{courseId}/gradingPeriodSettings", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId"], scopes: S_classroom_v1[0] },
|
|
1388
1415
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1389
1416
|
hasBody: true,
|
|
1390
1417
|
shape: {
|
|
@@ -1399,7 +1426,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1399
1426
|
name: "classroom_invitations_accept",
|
|
1400
1427
|
cud: "create",
|
|
1401
1428
|
description: "Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may a",
|
|
1402
|
-
method: { id: "classroom.invitations.accept", httpMethod: "POST", path: "v1/invitations/{id}:accept", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
1429
|
+
method: { id: "classroom.invitations.accept", httpMethod: "POST", path: "v1/invitations/{id}:accept", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[14] },
|
|
1403
1430
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1404
1431
|
hasBody: false,
|
|
1405
1432
|
shape: {
|
|
@@ -1412,7 +1439,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1412
1439
|
name: "classroom_invitations_create",
|
|
1413
1440
|
cud: "create",
|
|
1414
1441
|
description: "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns th",
|
|
1415
|
-
method: { id: "classroom.invitations.create", httpMethod: "POST", path: "v1/invitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [] },
|
|
1442
|
+
method: { id: "classroom.invitations.create", httpMethod: "POST", path: "v1/invitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [], scopes: S_classroom_v1[14] },
|
|
1416
1443
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
1417
1444
|
hasBody: true,
|
|
1418
1445
|
shape: {
|
|
@@ -1425,7 +1452,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1425
1452
|
name: "classroom_invitations_delete",
|
|
1426
1453
|
cud: "delete",
|
|
1427
1454
|
description: "Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invi",
|
|
1428
|
-
method: { id: "classroom.invitations.delete", httpMethod: "DELETE", path: "v1/invitations/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
1455
|
+
method: { id: "classroom.invitations.delete", httpMethod: "DELETE", path: "v1/invitations/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[14] },
|
|
1429
1456
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1430
1457
|
hasBody: false,
|
|
1431
1458
|
shape: {
|
|
@@ -1438,7 +1465,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1438
1465
|
name: "classroom_invitations_get",
|
|
1439
1466
|
cud: "read",
|
|
1440
1467
|
description: "Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invita",
|
|
1441
|
-
method: { id: "classroom.invitations.get", httpMethod: "GET", path: "v1/invitations/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"] },
|
|
1468
|
+
method: { id: "classroom.invitations.get", httpMethod: "GET", path: "v1/invitations/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id"], scopes: S_classroom_v1[15] },
|
|
1442
1469
|
params: [{ "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1443
1470
|
hasBody: false,
|
|
1444
1471
|
shape: {
|
|
@@ -1451,7 +1478,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1451
1478
|
name: "classroom_invitations_list",
|
|
1452
1479
|
cud: "read",
|
|
1453
1480
|
description: "Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id`",
|
|
1454
|
-
method: { id: "classroom.invitations.list", httpMethod: "GET", path: "v1/invitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [] },
|
|
1481
|
+
method: { id: "classroom.invitations.list", httpMethod: "GET", path: "v1/invitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [], scopes: S_classroom_v1[15] },
|
|
1455
1482
|
params: [{ "field": "courseId", "api": "courseId", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "userId", "api": "userId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1456
1483
|
hasBody: false,
|
|
1457
1484
|
shape: {
|
|
@@ -1467,7 +1494,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1467
1494
|
name: "classroom_registrations_create",
|
|
1468
1495
|
cud: "create",
|
|
1469
1496
|
description: "Creates a `Registration`, causing Classroom to start sending notifications from the provided `feed` to the destination provided in `cloudPubSubTopic`. Returns t",
|
|
1470
|
-
method: { id: "classroom.registrations.create", httpMethod: "POST", path: "v1/registrations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [] },
|
|
1497
|
+
method: { id: "classroom.registrations.create", httpMethod: "POST", path: "v1/registrations", baseUrl: "https://classroom.googleapis.com/", requiredParams: [], scopes: S_classroom_v1[20] },
|
|
1471
1498
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
1472
1499
|
hasBody: true,
|
|
1473
1500
|
shape: {
|
|
@@ -1480,7 +1507,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1480
1507
|
name: "classroom_registrations_delete",
|
|
1481
1508
|
cud: "delete",
|
|
1482
1509
|
description: "Deletes a `Registration`, causing Classroom to stop sending notifications for that `Registration`.",
|
|
1483
|
-
method: { id: "classroom.registrations.delete", httpMethod: "DELETE", path: "v1/registrations/{registrationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["registrationId"] },
|
|
1510
|
+
method: { id: "classroom.registrations.delete", httpMethod: "DELETE", path: "v1/registrations/{registrationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["registrationId"], scopes: S_classroom_v1[20] },
|
|
1484
1511
|
params: [{ "field": "registrationId", "api": "registrationId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1485
1512
|
hasBody: false,
|
|
1486
1513
|
shape: {
|
|
@@ -1493,7 +1520,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1493
1520
|
name: "classroom_user_profiles_get",
|
|
1494
1521
|
cud: "read",
|
|
1495
1522
|
description: "Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile",
|
|
1496
|
-
method: { id: "classroom.userProfiles.get", httpMethod: "GET", path: "v1/userProfiles/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["userId"] },
|
|
1523
|
+
method: { id: "classroom.userProfiles.get", httpMethod: "GET", path: "v1/userProfiles/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["userId"], scopes: S_classroom_v1[17] },
|
|
1497
1524
|
params: [{ "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1498
1525
|
hasBody: false,
|
|
1499
1526
|
shape: {
|
|
@@ -1506,7 +1533,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1506
1533
|
name: "classroom_user_profiles_guardian_invitations_create",
|
|
1507
1534
|
cud: "create",
|
|
1508
1535
|
description: "Creates a guardian invitation, and sends an email to the guardian asking them to confirm that they are the student's guardian. Once the guardian accepts the inv",
|
|
1509
|
-
method: { id: "classroom.userProfiles.guardianInvitations.create", httpMethod: "POST", path: "v1/userProfiles/{studentId}/guardianInvitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"] },
|
|
1536
|
+
method: { id: "classroom.userProfiles.guardianInvitations.create", httpMethod: "POST", path: "v1/userProfiles/{studentId}/guardianInvitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"], scopes: S_classroom_v1[21] },
|
|
1510
1537
|
params: [{ "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1511
1538
|
hasBody: true,
|
|
1512
1539
|
shape: {
|
|
@@ -1520,7 +1547,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1520
1547
|
name: "classroom_user_profiles_guardian_invitations_get",
|
|
1521
1548
|
cud: "read",
|
|
1522
1549
|
description: "Returns a specific guardian invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view gua",
|
|
1523
|
-
method: { id: "classroom.userProfiles.guardianInvitations.get", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"] },
|
|
1550
|
+
method: { id: "classroom.userProfiles.guardianInvitations.get", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"], scopes: S_classroom_v1[22] },
|
|
1524
1551
|
params: [{ "field": "invitationId", "api": "invitationId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1525
1552
|
hasBody: false,
|
|
1526
1553
|
shape: {
|
|
@@ -1534,7 +1561,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1534
1561
|
name: "classroom_user_profiles_guardian_invitations_list",
|
|
1535
1562
|
cud: "read",
|
|
1536
1563
|
description: "Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following err",
|
|
1537
|
-
method: { id: "classroom.userProfiles.guardianInvitations.list", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardianInvitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"] },
|
|
1564
|
+
method: { id: "classroom.userProfiles.guardianInvitations.list", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardianInvitations", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"], scopes: S_classroom_v1[22] },
|
|
1538
1565
|
params: [{ "field": "studentId", "api": "studentId", "location": "path" }, { "field": "invitedEmailAddress", "api": "invitedEmailAddress", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "states", "api": "states", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1539
1566
|
hasBody: false,
|
|
1540
1567
|
shape: {
|
|
@@ -1551,7 +1578,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1551
1578
|
name: "classroom_user_profiles_guardian_invitations_patch",
|
|
1552
1579
|
cud: "update",
|
|
1553
1580
|
description: "Modifies a guardian invitation. Currently, the only valid modification is to change the `state` from `PENDING` to `COMPLETE`. This has the effect of withdrawing",
|
|
1554
|
-
method: { id: "classroom.userProfiles.guardianInvitations.patch", httpMethod: "PATCH", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"] },
|
|
1581
|
+
method: { id: "classroom.userProfiles.guardianInvitations.patch", httpMethod: "PATCH", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"], scopes: S_classroom_v1[21] },
|
|
1555
1582
|
params: [{ "field": "invitationId", "api": "invitationId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1556
1583
|
hasBody: true,
|
|
1557
1584
|
shape: {
|
|
@@ -1567,7 +1594,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1567
1594
|
name: "classroom_user_profiles_guardians_delete",
|
|
1568
1595
|
cud: "delete",
|
|
1569
1596
|
description: "Deletes a guardian. The guardian will no longer receive guardian notifications and the guardian will no longer be accessible via the API. This method returns th",
|
|
1570
|
-
method: { id: "classroom.userProfiles.guardians.delete", httpMethod: "DELETE", path: "v1/userProfiles/{studentId}/guardians/{guardianId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "guardianId"] },
|
|
1597
|
+
method: { id: "classroom.userProfiles.guardians.delete", httpMethod: "DELETE", path: "v1/userProfiles/{studentId}/guardians/{guardianId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "guardianId"], scopes: S_classroom_v1[21] },
|
|
1571
1598
|
params: [{ "field": "guardianId", "api": "guardianId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1572
1599
|
hasBody: false,
|
|
1573
1600
|
shape: {
|
|
@@ -1581,7 +1608,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1581
1608
|
name: "classroom_user_profiles_guardians_get",
|
|
1582
1609
|
cud: "read",
|
|
1583
1610
|
description: "Returns a specific guardian. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible t",
|
|
1584
|
-
method: { id: "classroom.userProfiles.guardians.get", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardians/{guardianId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "guardianId"] },
|
|
1611
|
+
method: { id: "classroom.userProfiles.guardians.get", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardians/{guardianId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "guardianId"], scopes: S_classroom_v1[23] },
|
|
1585
1612
|
params: [{ "field": "guardianId", "api": "guardianId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1586
1613
|
hasBody: false,
|
|
1587
1614
|
shape: {
|
|
@@ -1595,7 +1622,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1595
1622
|
name: "classroom_user_profiles_guardians_list",
|
|
1596
1623
|
cud: "read",
|
|
1597
1624
|
description: "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that th",
|
|
1598
|
-
method: { id: "classroom.userProfiles.guardians.list", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardians", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"] },
|
|
1625
|
+
method: { id: "classroom.userProfiles.guardians.list", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardians", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId"], scopes: S_classroom_v1[23] },
|
|
1599
1626
|
params: [{ "field": "studentId", "api": "studentId", "location": "path" }, { "field": "invitedEmailAddress", "api": "invitedEmailAddress", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1600
1627
|
hasBody: false,
|
|
1601
1628
|
shape: {
|