mcp-google-multi 5.2.2 → 5.3.0-beta.1
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/dist/accounts.js +5 -2
- package/dist/auth.js +10 -0
- package/dist/tools/generated/admin.js +26 -26
- package/dist/tools/generated/appsmarket.js +2 -2
- package/dist/tools/generated/calendar.js +6 -6
- package/dist/tools/generated/chat.js +18 -3
- package/dist/tools/generated/classroom.js +46 -46
- package/dist/tools/generated/cloudsearch.js +2 -1
- package/dist/tools/generated/drive.js +4 -4
- package/dist/tools/generated/forms.js +1 -1
- package/dist/tools/generated/gmail.js +13 -12
- package/dist/tools/generated/licensing.js +6 -6
- package/dist/tools/generated/reseller.js +5 -5
- package/dist/tools/generated/script.js +2 -2
- package/dist/tools/generated/sheets.js +2 -2
- package/dist/tools/generated/vault.js +3 -3
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
21
21
|
name: "classroom_courses_aliases_delete",
|
|
22
22
|
cud: "delete",
|
|
23
23
|
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: ["
|
|
24
|
+
method: { id: "classroom.courses.aliases.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/aliases/{alias}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "alias"] },
|
|
25
25
|
params: [{ "field": "alias", "api": "alias", "location": "path" }, { "field": "courseId", "api": "courseId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
26
26
|
hasBody: false,
|
|
27
27
|
shape: {
|
|
@@ -67,7 +67,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
67
67
|
name: "classroom_courses_announcements_add_on_attachments_delete",
|
|
68
68
|
cud: "delete",
|
|
69
69
|
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: ["
|
|
70
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
71
71
|
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
72
|
hasBody: false,
|
|
73
73
|
shape: {
|
|
@@ -83,7 +83,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
83
83
|
name: "classroom_courses_announcements_add_on_attachments_get",
|
|
84
84
|
cud: "read",
|
|
85
85
|
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: ["
|
|
86
|
+
method: { id: "classroom.courses.announcements.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
87
87
|
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
88
|
hasBody: false,
|
|
89
89
|
shape: {
|
|
@@ -148,7 +148,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
148
148
|
name: "classroom_courses_announcements_delete",
|
|
149
149
|
cud: "delete",
|
|
150
150
|
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: ["
|
|
151
|
+
method: { id: "classroom.courses.announcements.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
152
152
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
153
153
|
hasBody: false,
|
|
154
154
|
shape: {
|
|
@@ -162,7 +162,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
162
162
|
name: "classroom_courses_announcements_get",
|
|
163
163
|
cud: "read",
|
|
164
164
|
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: ["
|
|
165
|
+
method: { id: "classroom.courses.announcements.get", httpMethod: "GET", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
166
166
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
167
167
|
hasBody: false,
|
|
168
168
|
shape: {
|
|
@@ -210,7 +210,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
210
210
|
name: "classroom_courses_announcements_modify_assignees",
|
|
211
211
|
cud: "update",
|
|
212
212
|
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: ["
|
|
213
|
+
method: { id: "classroom.courses.announcements.modifyAssignees", httpMethod: "POST", path: "v1/courses/{courseId}/announcements/{id}:modifyAssignees", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
214
214
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
215
215
|
hasBody: true,
|
|
216
216
|
shape: {
|
|
@@ -225,7 +225,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
225
225
|
name: "classroom_courses_announcements_patch",
|
|
226
226
|
cud: "update",
|
|
227
227
|
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: ["
|
|
228
|
+
method: { id: "classroom.courses.announcements.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/announcements/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id", "courseId"] },
|
|
229
229
|
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
230
|
hasBody: true,
|
|
231
231
|
shape: {
|
|
@@ -258,7 +258,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
258
258
|
name: "classroom_courses_course_work_add_on_attachments_delete",
|
|
259
259
|
cud: "delete",
|
|
260
260
|
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: ["itemId", "
|
|
261
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
262
262
|
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
263
|
hasBody: false,
|
|
264
264
|
shape: {
|
|
@@ -274,7 +274,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
274
274
|
name: "classroom_courses_course_work_add_on_attachments_get",
|
|
275
275
|
cud: "read",
|
|
276
276
|
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: ["
|
|
277
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
278
278
|
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
279
|
hasBody: false,
|
|
280
280
|
shape: {
|
|
@@ -307,7 +307,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
307
307
|
name: "classroom_courses_course_work_add_on_attachments_patch",
|
|
308
308
|
cud: "update",
|
|
309
309
|
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: ["itemId", "
|
|
310
|
+
method: { id: "classroom.courses.courseWork.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
311
311
|
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
312
|
hasBody: true,
|
|
313
313
|
shape: {
|
|
@@ -325,7 +325,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
325
325
|
name: "classroom_coursework_addon_submissions_get",
|
|
326
326
|
cud: "read",
|
|
327
327
|
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: ["
|
|
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"] },
|
|
329
329
|
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
330
|
hasBody: false,
|
|
331
331
|
shape: {
|
|
@@ -342,7 +342,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
342
342
|
name: "classroom_coursework_addon_submissions_patch",
|
|
343
343
|
cud: "update",
|
|
344
344
|
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: ["
|
|
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"] },
|
|
346
346
|
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
347
|
hasBody: true,
|
|
348
348
|
shape: {
|
|
@@ -389,7 +389,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
389
389
|
name: "classroom_courses_course_work_get",
|
|
390
390
|
cud: "read",
|
|
391
391
|
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: ["
|
|
392
|
+
method: { id: "classroom.courses.courseWork.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
393
393
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
394
394
|
hasBody: false,
|
|
395
395
|
shape: {
|
|
@@ -403,7 +403,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
403
403
|
name: "classroom_courses_course_work_get_add_on_context",
|
|
404
404
|
cud: "read",
|
|
405
405
|
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: ["
|
|
406
|
+
method: { id: "classroom.courses.courseWork.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "courseId"] },
|
|
407
407
|
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
408
|
hasBody: false,
|
|
409
409
|
shape: {
|
|
@@ -468,7 +468,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
468
468
|
name: "classroom_courses_course_work_rubrics_create",
|
|
469
469
|
cud: "create",
|
|
470
470
|
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: ["
|
|
471
|
+
method: { id: "classroom.courses.courseWork.rubrics.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseWorkId", "courseId"] },
|
|
472
472
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "courseWorkId", "api": "courseWorkId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
473
473
|
hasBody: true,
|
|
474
474
|
shape: {
|
|
@@ -483,7 +483,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
483
483
|
name: "classroom_courses_course_work_rubrics_delete",
|
|
484
484
|
cud: "delete",
|
|
485
485
|
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: ["
|
|
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", "id", "courseWorkId"] },
|
|
487
487
|
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
488
|
hasBody: false,
|
|
489
489
|
shape: {
|
|
@@ -498,7 +498,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
498
498
|
name: "classroom_courses_course_work_rubrics_get",
|
|
499
499
|
cud: "read",
|
|
500
500
|
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: ["
|
|
501
|
+
method: { id: "classroom.courses.courseWork.rubrics.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id", "courseWorkId", "courseId"] },
|
|
502
502
|
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
503
|
hasBody: false,
|
|
504
504
|
shape: {
|
|
@@ -513,7 +513,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
513
513
|
name: "classroom_courses_course_work_rubrics_list",
|
|
514
514
|
cud: "read",
|
|
515
515
|
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: ["
|
|
516
|
+
method: { id: "classroom.courses.courseWork.rubrics.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseWorkId", "courseId"] },
|
|
517
517
|
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
518
|
hasBody: false,
|
|
519
519
|
shape: {
|
|
@@ -529,7 +529,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
529
529
|
name: "classroom_courses_course_work_rubrics_patch",
|
|
530
530
|
cud: "update",
|
|
531
531
|
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", "
|
|
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", "id", "courseWorkId"] },
|
|
533
533
|
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
534
|
hasBody: true,
|
|
535
535
|
shape: {
|
|
@@ -546,7 +546,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
546
546
|
name: "classroom_courses_course_work_student_submissions_get",
|
|
547
547
|
cud: "read",
|
|
548
548
|
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: ["
|
|
549
|
+
method: { id: "classroom.courses.courseWork.studentSubmissions.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["id", "courseWorkId", "courseId"] },
|
|
550
550
|
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
551
|
hasBody: false,
|
|
552
552
|
shape: {
|
|
@@ -580,7 +580,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
580
580
|
name: "classroom_coursework_submissions_modify_attachments",
|
|
581
581
|
cud: "update",
|
|
582
582
|
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: ["id", "
|
|
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: ["id", "courseWorkId", "courseId"] },
|
|
584
584
|
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
585
|
hasBody: true,
|
|
586
586
|
shape: {
|
|
@@ -613,7 +613,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
613
613
|
name: "classroom_courses_course_work_student_submissions_reclaim",
|
|
614
614
|
cud: "create",
|
|
615
615
|
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: ["
|
|
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: ["courseWorkId", "id", "courseId"] },
|
|
617
617
|
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
618
|
hasBody: true,
|
|
619
619
|
shape: {
|
|
@@ -645,7 +645,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
645
645
|
name: "classroom_courses_course_work_student_submissions_turn_in",
|
|
646
646
|
cud: "create",
|
|
647
647
|
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", "
|
|
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", "id", "courseWorkId"] },
|
|
649
649
|
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
650
|
hasBody: true,
|
|
651
651
|
shape: {
|
|
@@ -678,7 +678,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
678
678
|
name: "classroom_coursework_materials_addons_create",
|
|
679
679
|
cud: "create",
|
|
680
680
|
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: ["
|
|
681
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.create", httpMethod: "POST", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "courseId"] },
|
|
682
682
|
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
683
|
hasBody: true,
|
|
684
684
|
shape: {
|
|
@@ -695,7 +695,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
695
695
|
name: "classroom_coursework_materials_addons_delete",
|
|
696
696
|
cud: "delete",
|
|
697
697
|
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: ["itemId", "
|
|
698
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
699
699
|
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
700
|
hasBody: false,
|
|
701
701
|
shape: {
|
|
@@ -711,7 +711,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
711
711
|
name: "classroom_courses_course_work_materials_add_on_attachments_get",
|
|
712
712
|
cud: "read",
|
|
713
713
|
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: ["
|
|
714
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
715
715
|
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
716
|
hasBody: false,
|
|
717
717
|
shape: {
|
|
@@ -727,7 +727,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
727
727
|
name: "classroom_courses_course_work_materials_add_on_attachments_list",
|
|
728
728
|
cud: "read",
|
|
729
729
|
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: ["
|
|
730
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.list", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "courseId"] },
|
|
731
731
|
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
732
|
hasBody: false,
|
|
733
733
|
shape: {
|
|
@@ -744,7 +744,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
744
744
|
name: "classroom_courses_course_work_materials_add_on_attachments_patch",
|
|
745
745
|
cud: "update",
|
|
746
746
|
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: ["
|
|
747
|
+
method: { id: "classroom.courses.courseWorkMaterials.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "attachmentId", "courseId"] },
|
|
748
748
|
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
749
|
hasBody: true,
|
|
750
750
|
shape: {
|
|
@@ -776,7 +776,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
776
776
|
name: "classroom_courses_course_work_materials_delete",
|
|
777
777
|
cud: "delete",
|
|
778
778
|
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: ["
|
|
779
|
+
method: { id: "classroom.courses.courseWorkMaterials.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/courseWorkMaterials/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
780
780
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
781
781
|
hasBody: false,
|
|
782
782
|
shape: {
|
|
@@ -804,7 +804,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
804
804
|
name: "classroom_courses_course_work_materials_get_add_on_context",
|
|
805
805
|
cud: "read",
|
|
806
806
|
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: ["
|
|
807
|
+
method: { id: "classroom.courses.courseWorkMaterials.getAddOnContext", httpMethod: "GET", path: "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["itemId", "courseId"] },
|
|
808
808
|
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
809
|
hasBody: false,
|
|
810
810
|
shape: {
|
|
@@ -940,7 +940,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
940
940
|
name: "classroom_courses_posts_add_on_attachments_create",
|
|
941
941
|
cud: "create",
|
|
942
942
|
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: ["
|
|
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"] },
|
|
944
944
|
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
945
|
hasBody: true,
|
|
946
946
|
shape: {
|
|
@@ -957,7 +957,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
957
957
|
name: "classroom_courses_posts_add_on_attachments_delete",
|
|
958
958
|
cud: "delete",
|
|
959
959
|
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: ["
|
|
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"] },
|
|
961
961
|
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
962
|
hasBody: false,
|
|
963
963
|
shape: {
|
|
@@ -973,7 +973,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
973
973
|
name: "classroom_courses_posts_add_on_attachments_get",
|
|
974
974
|
cud: "read",
|
|
975
975
|
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: ["
|
|
976
|
+
method: { id: "classroom.courses.posts.addOnAttachments.get", httpMethod: "GET", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["attachmentId", "courseId", "postId"] },
|
|
977
977
|
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
978
|
hasBody: false,
|
|
979
979
|
shape: {
|
|
@@ -989,7 +989,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
989
989
|
name: "classroom_courses_posts_add_on_attachments_list",
|
|
990
990
|
cud: "read",
|
|
991
991
|
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: ["
|
|
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"] },
|
|
993
993
|
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
994
|
hasBody: false,
|
|
995
995
|
shape: {
|
|
@@ -1006,7 +1006,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1006
1006
|
name: "classroom_courses_posts_add_on_attachments_patch",
|
|
1007
1007
|
cud: "update",
|
|
1008
1008
|
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: ["
|
|
1009
|
+
method: { id: "classroom.courses.posts.addOnAttachments.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["postId", "courseId", "attachmentId"] },
|
|
1010
1010
|
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
1011
|
hasBody: true,
|
|
1012
1012
|
shape: {
|
|
@@ -1024,7 +1024,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1024
1024
|
name: "classroom_posts_addon_submissions_get",
|
|
1025
1025
|
cud: "read",
|
|
1026
1026
|
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: ["
|
|
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", "attachmentId", "postId", "submissionId"] },
|
|
1028
1028
|
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
1029
|
hasBody: false,
|
|
1030
1030
|
shape: {
|
|
@@ -1041,7 +1041,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1041
1041
|
name: "classroom_posts_addon_submissions_patch",
|
|
1042
1042
|
cud: "update",
|
|
1043
1043
|
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: ["
|
|
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: ["submissionId", "postId", "attachmentId", "courseId"] },
|
|
1045
1045
|
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
1046
|
hasBody: true,
|
|
1047
1047
|
shape: {
|
|
@@ -1091,7 +1091,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1091
1091
|
name: "classroom_courses_student_groups_delete",
|
|
1092
1092
|
cud: "delete",
|
|
1093
1093
|
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: ["
|
|
1094
|
+
method: { id: "classroom.courses.studentGroups.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1095
1095
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1096
1096
|
hasBody: false,
|
|
1097
1097
|
shape: {
|
|
@@ -1120,7 +1120,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1120
1120
|
name: "classroom_courses_student_groups_patch",
|
|
1121
1121
|
cud: "update",
|
|
1122
1122
|
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: ["
|
|
1123
|
+
method: { id: "classroom.courses.studentGroups.patch", httpMethod: "PATCH", path: "v1/courses/{courseId}/studentGroups/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1124
1124
|
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
1125
|
hasBody: true,
|
|
1126
1126
|
shape: {
|
|
@@ -1166,7 +1166,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1166
1166
|
name: "classroom_courses_student_groups_student_group_members_list",
|
|
1167
1167
|
cud: "read",
|
|
1168
1168
|
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: ["
|
|
1169
|
+
method: { id: "classroom.courses.studentGroups.studentGroupMembers.list", httpMethod: "GET", path: "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentGroupId", "courseId"] },
|
|
1170
1170
|
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
1171
|
hasBody: false,
|
|
1172
1172
|
shape: {
|
|
@@ -1268,7 +1268,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1268
1268
|
name: "classroom_courses_teachers_get",
|
|
1269
1269
|
cud: "read",
|
|
1270
1270
|
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: ["
|
|
1271
|
+
method: { id: "classroom.courses.teachers.get", httpMethod: "GET", path: "v1/courses/{courseId}/teachers/{userId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["userId", "courseId"] },
|
|
1272
1272
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1273
1273
|
hasBody: false,
|
|
1274
1274
|
shape: {
|
|
@@ -1311,7 +1311,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1311
1311
|
name: "classroom_courses_topics_delete",
|
|
1312
1312
|
cud: "delete",
|
|
1313
1313
|
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: ["
|
|
1314
|
+
method: { id: "classroom.courses.topics.delete", httpMethod: "DELETE", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1315
1315
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1316
1316
|
hasBody: false,
|
|
1317
1317
|
shape: {
|
|
@@ -1325,7 +1325,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1325
1325
|
name: "classroom_courses_topics_get",
|
|
1326
1326
|
cud: "read",
|
|
1327
1327
|
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: ["
|
|
1328
|
+
method: { id: "classroom.courses.topics.get", httpMethod: "GET", path: "v1/courses/{courseId}/topics/{id}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["courseId", "id"] },
|
|
1329
1329
|
params: [{ "field": "courseId", "api": "courseId", "location": "path" }, { "field": "id", "api": "id", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1330
1330
|
hasBody: false,
|
|
1331
1331
|
shape: {
|
|
@@ -1520,7 +1520,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1520
1520
|
name: "classroom_user_profiles_guardian_invitations_get",
|
|
1521
1521
|
cud: "read",
|
|
1522
1522
|
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: ["
|
|
1523
|
+
method: { id: "classroom.userProfiles.guardianInvitations.get", httpMethod: "GET", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"] },
|
|
1524
1524
|
params: [{ "field": "invitationId", "api": "invitationId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1525
1525
|
hasBody: false,
|
|
1526
1526
|
shape: {
|
|
@@ -1551,7 +1551,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1551
1551
|
name: "classroom_user_profiles_guardian_invitations_patch",
|
|
1552
1552
|
cud: "update",
|
|
1553
1553
|
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: ["
|
|
1554
|
+
method: { id: "classroom.userProfiles.guardianInvitations.patch", httpMethod: "PATCH", path: "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "invitationId"] },
|
|
1555
1555
|
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
1556
|
hasBody: true,
|
|
1557
1557
|
shape: {
|
|
@@ -1567,7 +1567,7 @@ export function registerClassroomGeneratedTools(registry) {
|
|
|
1567
1567
|
name: "classroom_user_profiles_guardians_delete",
|
|
1568
1568
|
cud: "delete",
|
|
1569
1569
|
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: ["
|
|
1570
|
+
method: { id: "classroom.userProfiles.guardians.delete", httpMethod: "DELETE", path: "v1/userProfiles/{studentId}/guardians/{guardianId}", baseUrl: "https://classroom.googleapis.com/", requiredParams: ["studentId", "guardianId"] },
|
|
1571
1571
|
params: [{ "field": "guardianId", "api": "guardianId", "location": "path" }, { "field": "studentId", "api": "studentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1572
1572
|
hasBody: false,
|
|
1573
1573
|
shape: {
|
|
@@ -347,12 +347,13 @@ export function registerCloudsearchGeneratedTools(registry) {
|
|
|
347
347
|
cud: "read",
|
|
348
348
|
description: "Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can",
|
|
349
349
|
method: { id: "cloudsearch.query.sources.list", httpMethod: "GET", path: "v1/query/sources", baseUrl: "https://cloudsearch.googleapis.com/", requiredParams: [] },
|
|
350
|
-
params: [{ "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "requestOptions.clientDisplayLanguageCode", "api": "requestOptions.clientDisplayLanguageCode", "location": "query" }, { "field": "requestOptions.debugOptions.enableDebugging", "api": "requestOptions.debugOptions.enableDebugging", "location": "query" }, { "field": "requestOptions.languageCode", "api": "requestOptions.languageCode", "location": "query" }, { "field": "requestOptions.searchApplicationId", "api": "requestOptions.searchApplicationId", "location": "query" }, { "field": "requestOptions.timeZone", "api": "requestOptions.timeZone", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
350
|
+
params: [{ "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "requestOptions.clientDisplayLanguageCode", "api": "requestOptions.clientDisplayLanguageCode", "location": "query" }, { "field": "requestOptions.countryCode", "api": "requestOptions.countryCode", "location": "query" }, { "field": "requestOptions.debugOptions.enableDebugging", "api": "requestOptions.debugOptions.enableDebugging", "location": "query" }, { "field": "requestOptions.languageCode", "api": "requestOptions.languageCode", "location": "query" }, { "field": "requestOptions.searchApplicationId", "api": "requestOptions.searchApplicationId", "location": "query" }, { "field": "requestOptions.timeZone", "api": "requestOptions.timeZone", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
351
351
|
hasBody: false,
|
|
352
352
|
shape: {
|
|
353
353
|
account: accountField(),
|
|
354
354
|
pageToken: z.string().describe("Number of sources to return in the response.").optional(),
|
|
355
355
|
"requestOptions.clientDisplayLanguageCode": z.string().describe("The BCP-47 language code, such as \"pt\" or \"en\". It represents the user's preferred Display Language.").optional(),
|
|
356
|
+
"requestOptions.countryCode": z.string().describe("Optional. Specifies the country/region where the query originated, as a lowercase ISO 3166-1 alpha-2 region code (using 'uk' instead of 'gb' for the United Kingdom).").optional(),
|
|
356
357
|
"requestOptions.debugOptions.enableDebugging": coerceBoolean.describe("If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.").optional(),
|
|
357
358
|
"requestOptions.languageCode": z.string().describe("The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language se").optional(),
|
|
358
359
|
"requestOptions.searchApplicationId": z.string().describe("The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).").optional(),
|
|
@@ -51,7 +51,7 @@ export function registerDriveGeneratedTools(registry) {
|
|
|
51
51
|
name: "drive_approvals_comment",
|
|
52
52
|
cud: "create",
|
|
53
53
|
description: "Comments on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This sends a notifica",
|
|
54
|
-
method: { id: "drive.approvals.comment", httpMethod: "POST", path: "files/{fileId}/approvals/{approvalId}:comment", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["
|
|
54
|
+
method: { id: "drive.approvals.comment", httpMethod: "POST", path: "files/{fileId}/approvals/{approvalId}:comment", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["fileId", "approvalId"] },
|
|
55
55
|
params: [{ "field": "approvalId", "api": "approvalId", "location": "path" }, { "field": "fileId", "api": "fileId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
56
56
|
hasBody: true,
|
|
57
57
|
shape: {
|
|
@@ -66,7 +66,7 @@ export function registerDriveGeneratedTools(registry) {
|
|
|
66
66
|
name: "drive_approvals_decline",
|
|
67
67
|
cud: "create",
|
|
68
68
|
description: "Declines an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update t",
|
|
69
|
-
method: { id: "drive.approvals.decline", httpMethod: "POST", path: "files/{fileId}/approvals/{approvalId}:decline", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["
|
|
69
|
+
method: { id: "drive.approvals.decline", httpMethod: "POST", path: "files/{fileId}/approvals/{approvalId}:decline", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["fileId", "approvalId"] },
|
|
70
70
|
params: [{ "field": "approvalId", "api": "approvalId", "location": "path" }, { "field": "fileId", "api": "fileId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
71
71
|
hasBody: true,
|
|
72
72
|
shape: {
|
|
@@ -81,7 +81,7 @@ export function registerDriveGeneratedTools(registry) {
|
|
|
81
81
|
name: "drive_approvals_get",
|
|
82
82
|
cud: "read",
|
|
83
83
|
description: "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
|
|
84
|
-
method: { id: "drive.approvals.get", httpMethod: "GET", path: "files/{fileId}/approvals/{approvalId}", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["
|
|
84
|
+
method: { id: "drive.approvals.get", httpMethod: "GET", path: "files/{fileId}/approvals/{approvalId}", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["fileId", "approvalId"] },
|
|
85
85
|
params: [{ "field": "approvalId", "api": "approvalId", "location": "path" }, { "field": "fileId", "api": "fileId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
86
86
|
hasBody: false,
|
|
87
87
|
shape: {
|
|
@@ -441,7 +441,7 @@ export function registerDriveGeneratedTools(registry) {
|
|
|
441
441
|
name: "drive_replies_get",
|
|
442
442
|
cud: "read",
|
|
443
443
|
description: "Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
|
|
444
|
-
method: { id: "drive.replies.get", httpMethod: "GET", path: "files/{fileId}/comments/{commentId}/replies/{replyId}", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["
|
|
444
|
+
method: { id: "drive.replies.get", httpMethod: "GET", path: "files/{fileId}/comments/{commentId}/replies/{replyId}", baseUrl: "https://www.googleapis.com/drive/v3/", requiredParams: ["commentId", "replyId", "fileId"] },
|
|
445
445
|
params: [{ "field": "commentId", "api": "commentId", "location": "path" }, { "field": "fileId", "api": "fileId", "location": "path" }, { "field": "replyId", "api": "replyId", "location": "path" }, { "field": "includeDeleted", "api": "includeDeleted", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
446
446
|
hasBody: false,
|
|
447
447
|
shape: {
|
|
@@ -21,7 +21,7 @@ export function registerFormsGeneratedTools(registry) {
|
|
|
21
21
|
name: "forms_forms_watches_delete",
|
|
22
22
|
cud: "delete",
|
|
23
23
|
description: "Delete a watch.",
|
|
24
|
-
method: { id: "forms.forms.watches.delete", httpMethod: "DELETE", path: "v1/forms/{formId}/watches/{watchId}", baseUrl: "https://forms.googleapis.com/", requiredParams: ["
|
|
24
|
+
method: { id: "forms.forms.watches.delete", httpMethod: "DELETE", path: "v1/forms/{formId}/watches/{watchId}", baseUrl: "https://forms.googleapis.com/", requiredParams: ["watchId", "formId"] },
|
|
25
25
|
params: [{ "field": "formId", "api": "formId", "location": "path" }, { "field": "watchId", "api": "watchId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
26
26
|
hasBody: false,
|
|
27
27
|
shape: {
|