mcp-google-multi 5.2.0-alpha.2 → 5.2.0-alpha.4
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 +2 -2
- package/dist/auth.js +33 -0
- package/dist/discovery-client.js +13 -0
- package/dist/index.js +4 -34
- package/dist/services.d.ts +11 -0
- package/dist/services.js +53 -0
- package/dist/tools/generated/admin.d.ts +2 -0
- package/dist/tools/generated/admin.js +1937 -0
- package/dist/tools/generated/appsmarket.d.ts +2 -0
- package/dist/tools/generated/appsmarket.js +33 -0
- package/dist/tools/generated/calendar.d.ts +2 -0
- package/dist/tools/generated/calendar.js +428 -0
- package/dist/tools/generated/chat.d.ts +2 -0
- package/dist/tools/generated/chat.js +666 -0
- package/dist/tools/generated/classroom.d.ts +2 -0
- package/dist/tools/generated/classroom.js +1610 -0
- package/dist/tools/generated/cloudidentity.d.ts +2 -0
- package/dist/tools/generated/cloudidentity.js +955 -0
- package/dist/tools/generated/cloudsearch.d.ts +2 -0
- package/dist/tools/generated/cloudsearch.js +754 -0
- package/dist/tools/generated/contacts.d.ts +2 -0
- package/dist/tools/generated/contacts.js +215 -0
- package/dist/tools/generated/drive.d.ts +2 -0
- package/dist/tools/generated/drive.js +543 -0
- package/dist/tools/generated/driveactivity.d.ts +2 -0
- package/dist/tools/generated/driveactivity.js +19 -0
- package/dist/tools/generated/drivelabels.d.ts +2 -0
- package/dist/tools/generated/drivelabels.js +389 -0
- package/dist/tools/generated/forms.d.ts +2 -0
- package/dist/tools/generated/forms.js +49 -0
- package/dist/tools/generated/gmail.d.ts +2 -0
- package/dist/tools/generated/gmail.js +835 -0
- package/dist/tools/generated/groupsmigration.d.ts +2 -0
- package/dist/tools/generated/groupsmigration.js +18 -0
- package/dist/tools/generated/groupssettings.d.ts +2 -0
- package/dist/tools/generated/groupssettings.js +47 -0
- package/dist/tools/generated/index.js +50 -0
- package/dist/tools/generated/keep.d.ts +2 -0
- package/dist/tools/generated/keep.js +102 -0
- package/dist/tools/generated/licensing.d.ts +2 -0
- package/dist/tools/generated/licensing.js +116 -0
- package/dist/tools/generated/meet.d.ts +2 -0
- package/dist/tools/generated/meet.js +186 -0
- package/dist/tools/generated/postmaster.d.ts +2 -0
- package/dist/tools/generated/postmaster.js +66 -0
- package/dist/tools/generated/reseller.d.ts +2 -0
- package/dist/tools/generated/reseller.js +249 -0
- package/dist/tools/generated/script.d.ts +2 -0
- package/dist/tools/generated/script.js +249 -0
- package/dist/tools/generated/searchconsole.d.ts +2 -0
- package/dist/tools/generated/searchconsole.js +19 -0
- package/dist/tools/generated/sheets.d.ts +2 -0
- package/dist/tools/generated/sheets.js +105 -0
- package/dist/tools/generated/vault.d.ts +2 -0
- package/dist/tools/generated/vault.js +479 -0
- package/dist/tools/generated/workspaceevents.d.ts +2 -0
- package/dist/tools/generated/workspaceevents.js +223 -0
- package/dist/tools/google-api.js +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
4
|
+
export function registerGroupsmigrationGeneratedTools(registry) {
|
|
5
|
+
registerGeneratedTool(registry, {
|
|
6
|
+
name: "groupsmigration_archive_insert",
|
|
7
|
+
cud: "create",
|
|
8
|
+
description: "Inserts a new mail into the archive of the Google group.",
|
|
9
|
+
method: { id: "groupsmigration.archive.insert", httpMethod: "POST", path: "groups/v1/groups/{groupId}/archive", baseUrl: "https://groupsmigration.googleapis.com/", requiredParams: ["groupId"] },
|
|
10
|
+
params: [{ "field": "groupId", "api": "groupId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
11
|
+
hasBody: false,
|
|
12
|
+
shape: {
|
|
13
|
+
account: accountField(),
|
|
14
|
+
groupId: z.string().describe("The group ID"),
|
|
15
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { coerceJson } from '../_coerce.js';
|
|
4
|
+
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
+
export function registerGroupssettingsGeneratedTools(registry) {
|
|
6
|
+
registerGeneratedTool(registry, {
|
|
7
|
+
name: "groupssettings_groups_get",
|
|
8
|
+
cud: "read",
|
|
9
|
+
description: "Gets one resource by id.",
|
|
10
|
+
method: { id: "groupsSettings.groups.get", httpMethod: "GET", path: "{groupUniqueId}", baseUrl: "https://www.googleapis.com/groups/v1/groups/", requiredParams: ["groupUniqueId"] },
|
|
11
|
+
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
|
+
hasBody: false,
|
|
13
|
+
shape: {
|
|
14
|
+
account: accountField(),
|
|
15
|
+
groupUniqueId: z.string().describe("The group's email address."),
|
|
16
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
registerGeneratedTool(registry, {
|
|
20
|
+
name: "groupssettings_groups_patch",
|
|
21
|
+
cud: "update",
|
|
22
|
+
description: "Updates an existing resource. This method supports patch semantics.",
|
|
23
|
+
method: { id: "groupsSettings.groups.patch", httpMethod: "PATCH", path: "{groupUniqueId}", baseUrl: "https://www.googleapis.com/groups/v1/groups/", requiredParams: ["groupUniqueId"] },
|
|
24
|
+
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
25
|
+
hasBody: true,
|
|
26
|
+
shape: {
|
|
27
|
+
account: accountField(),
|
|
28
|
+
groupUniqueId: z.string().describe("The group's email address."),
|
|
29
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("Groups JSON request body. Top-level fields: allowExternalMembers, allowGoogleCommunication, allowWebPosting, archiveOnly, customFooterText, customReplyTo, customRolesEnabledForSettingsToBeMerged, defaultMessageDenyNotificationText, default_sender, description, email, enableCollaborativeInbox, +51 more."),
|
|
30
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
registerGeneratedTool(registry, {
|
|
34
|
+
name: "groupssettings_groups_update",
|
|
35
|
+
cud: "update",
|
|
36
|
+
description: "Updates an existing resource.",
|
|
37
|
+
method: { id: "groupsSettings.groups.update", httpMethod: "PUT", path: "{groupUniqueId}", baseUrl: "https://www.googleapis.com/groups/v1/groups/", requiredParams: ["groupUniqueId"] },
|
|
38
|
+
params: [{ "field": "groupUniqueId", "api": "groupUniqueId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
39
|
+
hasBody: true,
|
|
40
|
+
shape: {
|
|
41
|
+
account: accountField(),
|
|
42
|
+
groupUniqueId: z.string().describe("The group's email address."),
|
|
43
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("Groups JSON request body. Top-level fields: allowExternalMembers, allowGoogleCommunication, allowWebPosting, archiveOnly, customFooterText, customReplyTo, customRolesEnabledForSettingsToBeMerged, defaultMessageDenyNotificationText, default_sender, description, email, enableCollaborativeInbox, +51 more."),
|
|
44
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -1,4 +1,54 @@
|
|
|
1
|
+
import { registerAdminGeneratedTools } from './admin.js';
|
|
2
|
+
import { registerAppsmarketGeneratedTools } from './appsmarket.js';
|
|
3
|
+
import { registerCalendarGeneratedTools } from './calendar.js';
|
|
4
|
+
import { registerChatGeneratedTools } from './chat.js';
|
|
5
|
+
import { registerClassroomGeneratedTools } from './classroom.js';
|
|
6
|
+
import { registerCloudidentityGeneratedTools } from './cloudidentity.js';
|
|
7
|
+
import { registerCloudsearchGeneratedTools } from './cloudsearch.js';
|
|
8
|
+
import { registerContactsGeneratedTools } from './contacts.js';
|
|
9
|
+
import { registerDriveGeneratedTools } from './drive.js';
|
|
10
|
+
import { registerDriveactivityGeneratedTools } from './driveactivity.js';
|
|
11
|
+
import { registerDrivelabelsGeneratedTools } from './drivelabels.js';
|
|
12
|
+
import { registerFormsGeneratedTools } from './forms.js';
|
|
13
|
+
import { registerGmailGeneratedTools } from './gmail.js';
|
|
14
|
+
import { registerGroupsmigrationGeneratedTools } from './groupsmigration.js';
|
|
15
|
+
import { registerGroupssettingsGeneratedTools } from './groupssettings.js';
|
|
16
|
+
import { registerKeepGeneratedTools } from './keep.js';
|
|
17
|
+
import { registerLicensingGeneratedTools } from './licensing.js';
|
|
18
|
+
import { registerMeetGeneratedTools } from './meet.js';
|
|
19
|
+
import { registerPostmasterGeneratedTools } from './postmaster.js';
|
|
20
|
+
import { registerResellerGeneratedTools } from './reseller.js';
|
|
21
|
+
import { registerScriptGeneratedTools } from './script.js';
|
|
22
|
+
import { registerSearchconsoleGeneratedTools } from './searchconsole.js';
|
|
23
|
+
import { registerSheetsGeneratedTools } from './sheets.js';
|
|
1
24
|
import { registerTasksGeneratedTools } from './tasks.js';
|
|
25
|
+
import { registerVaultGeneratedTools } from './vault.js';
|
|
26
|
+
import { registerWorkspaceeventsGeneratedTools } from './workspaceevents.js';
|
|
2
27
|
export const GENERATED_SERVICES = [
|
|
28
|
+
{ name: "admin", register: registerAdminGeneratedTools },
|
|
29
|
+
{ name: "appsmarket", register: registerAppsmarketGeneratedTools },
|
|
30
|
+
{ name: "calendar", register: registerCalendarGeneratedTools },
|
|
31
|
+
{ name: "chat", register: registerChatGeneratedTools },
|
|
32
|
+
{ name: "classroom", register: registerClassroomGeneratedTools },
|
|
33
|
+
{ name: "cloudidentity", register: registerCloudidentityGeneratedTools },
|
|
34
|
+
{ name: "cloudsearch", register: registerCloudsearchGeneratedTools },
|
|
35
|
+
{ name: "contacts", register: registerContactsGeneratedTools },
|
|
36
|
+
{ name: "drive", register: registerDriveGeneratedTools },
|
|
37
|
+
{ name: "driveactivity", register: registerDriveactivityGeneratedTools },
|
|
38
|
+
{ name: "drivelabels", register: registerDrivelabelsGeneratedTools },
|
|
39
|
+
{ name: "forms", register: registerFormsGeneratedTools },
|
|
40
|
+
{ name: "gmail", register: registerGmailGeneratedTools },
|
|
41
|
+
{ name: "groupsmigration", register: registerGroupsmigrationGeneratedTools },
|
|
42
|
+
{ name: "groupssettings", register: registerGroupssettingsGeneratedTools },
|
|
43
|
+
{ name: "keep", register: registerKeepGeneratedTools },
|
|
44
|
+
{ name: "licensing", register: registerLicensingGeneratedTools },
|
|
45
|
+
{ name: "meet", register: registerMeetGeneratedTools },
|
|
46
|
+
{ name: "postmaster", register: registerPostmasterGeneratedTools },
|
|
47
|
+
{ name: "reseller", register: registerResellerGeneratedTools },
|
|
48
|
+
{ name: "script", register: registerScriptGeneratedTools },
|
|
49
|
+
{ name: "searchconsole", register: registerSearchconsoleGeneratedTools },
|
|
50
|
+
{ name: "sheets", register: registerSheetsGeneratedTools },
|
|
3
51
|
{ name: "tasks", register: registerTasksGeneratedTools },
|
|
52
|
+
{ name: "vault", register: registerVaultGeneratedTools },
|
|
53
|
+
{ name: "workspaceevents", register: registerWorkspaceeventsGeneratedTools },
|
|
4
54
|
];
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { coerceJson } from '../_coerce.js';
|
|
4
|
+
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
+
export function registerKeepGeneratedTools(registry) {
|
|
6
|
+
registerGeneratedTool(registry, {
|
|
7
|
+
name: "keep_media_download",
|
|
8
|
+
cud: "read",
|
|
9
|
+
description: "Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not ava",
|
|
10
|
+
method: { id: "keep.media.download", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://keep.googleapis.com/", requiredParams: ["name"] },
|
|
11
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "mimeType", "api": "mimeType", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
|
+
hasBody: false,
|
|
13
|
+
shape: {
|
|
14
|
+
account: accountField(),
|
|
15
|
+
name: z.string().describe("Required. The name of the attachment."),
|
|
16
|
+
mimeType: z.string().describe("The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise.").optional(),
|
|
17
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
registerGeneratedTool(registry, {
|
|
21
|
+
name: "keep_notes_create",
|
|
22
|
+
cud: "create",
|
|
23
|
+
description: "Creates a new note.",
|
|
24
|
+
method: { id: "keep.notes.create", httpMethod: "POST", path: "v1/notes", baseUrl: "https://keep.googleapis.com/", requiredParams: [] },
|
|
25
|
+
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
26
|
+
hasBody: true,
|
|
27
|
+
shape: {
|
|
28
|
+
account: accountField(),
|
|
29
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("Note JSON request body. Top-level fields: attachments, body, createTime, name, permissions, title, trashTime, trashed, updateTime."),
|
|
30
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
registerGeneratedTool(registry, {
|
|
34
|
+
name: "keep_notes_delete",
|
|
35
|
+
cud: "delete",
|
|
36
|
+
description: "Deletes a note. Caller must have the `OWNER` role on the note to delete. Deleting a note removes the resource immediately and cannot be undone. Any collaborator",
|
|
37
|
+
method: { id: "keep.notes.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://keep.googleapis.com/", requiredParams: ["name"] },
|
|
38
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
39
|
+
hasBody: false,
|
|
40
|
+
shape: {
|
|
41
|
+
account: accountField(),
|
|
42
|
+
name: z.string().describe("Required. Name of the note to delete."),
|
|
43
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
registerGeneratedTool(registry, {
|
|
47
|
+
name: "keep_notes_get",
|
|
48
|
+
cud: "read",
|
|
49
|
+
description: "Gets a note.",
|
|
50
|
+
method: { id: "keep.notes.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://keep.googleapis.com/", requiredParams: ["name"] },
|
|
51
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
52
|
+
hasBody: false,
|
|
53
|
+
shape: {
|
|
54
|
+
account: accountField(),
|
|
55
|
+
name: z.string().describe("Required. Name of the resource."),
|
|
56
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
registerGeneratedTool(registry, {
|
|
60
|
+
name: "keep_notes_list",
|
|
61
|
+
cud: "read",
|
|
62
|
+
description: "Lists notes. Every list call returns a page of results with `page_size` as the upper bound of returned items. A `page_size` of zero allows the server to choose",
|
|
63
|
+
method: { id: "keep.notes.list", httpMethod: "GET", path: "v1/notes", baseUrl: "https://keep.googleapis.com/", requiredParams: [] },
|
|
64
|
+
params: [{ "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
65
|
+
hasBody: false,
|
|
66
|
+
shape: {
|
|
67
|
+
account: accountField(),
|
|
68
|
+
filter: z.string().describe("Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and `trashed`. Filter syntax f").optional(),
|
|
69
|
+
pageSize: z.number().describe("The maximum number of results to return.").optional(),
|
|
70
|
+
pageToken: z.string().describe("The previous page's `next_page_token` field.").optional(),
|
|
71
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
registerGeneratedTool(registry, {
|
|
75
|
+
name: "keep_notes_permissions_batch_create",
|
|
76
|
+
cud: "create",
|
|
77
|
+
description: "Creates one or more permissions on the note. Only permissions with the `WRITER` role may be created. If adding any permission fails, then the entire request fai",
|
|
78
|
+
method: { id: "keep.notes.permissions.batchCreate", httpMethod: "POST", path: "v1/{+parent}/permissions:batchCreate", baseUrl: "https://keep.googleapis.com/", requiredParams: ["parent"] },
|
|
79
|
+
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
80
|
+
hasBody: true,
|
|
81
|
+
shape: {
|
|
82
|
+
account: accountField(),
|
|
83
|
+
parent: z.string().describe("The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or match this field."),
|
|
84
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("BatchCreatePermissionsRequest JSON request body. Top-level fields: requests."),
|
|
85
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
86
|
+
},
|
|
87
|
+
});
|
|
88
|
+
registerGeneratedTool(registry, {
|
|
89
|
+
name: "keep_notes_permissions_batch_delete",
|
|
90
|
+
cud: "delete",
|
|
91
|
+
description: "Deletes one or more permissions on the note. The specified entities will immediately lose access. A permission with the `OWNER` role can't be removed. If removi",
|
|
92
|
+
method: { id: "keep.notes.permissions.batchDelete", httpMethod: "POST", path: "v1/{+parent}/permissions:batchDelete", baseUrl: "https://keep.googleapis.com/", requiredParams: ["parent"] },
|
|
93
|
+
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
94
|
+
hasBody: true,
|
|
95
|
+
shape: {
|
|
96
|
+
account: accountField(),
|
|
97
|
+
parent: z.string().describe("The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match th"),
|
|
98
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("BatchDeletePermissionsRequest JSON request body. Top-level fields: names."),
|
|
99
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { coerceJson } from '../_coerce.js';
|
|
4
|
+
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
+
export function registerLicensingGeneratedTools(registry) {
|
|
6
|
+
registerGeneratedTool(registry, {
|
|
7
|
+
name: "licensing_license_assignments_delete",
|
|
8
|
+
cud: "delete",
|
|
9
|
+
description: "Revoke a license.",
|
|
10
|
+
method: { id: "licensing.licenseAssignments.delete", httpMethod: "DELETE", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["userId", "productId", "skuId"] },
|
|
11
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
|
+
hasBody: false,
|
|
13
|
+
shape: {
|
|
14
|
+
account: accountField(),
|
|
15
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
16
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
17
|
+
userId: z.string().describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
18
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
registerGeneratedTool(registry, {
|
|
22
|
+
name: "licensing_license_assignments_get",
|
|
23
|
+
cud: "read",
|
|
24
|
+
description: "Get a specific user's license by product SKU.",
|
|
25
|
+
method: { id: "licensing.licenseAssignments.get", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["userId", "skuId", "productId"] },
|
|
26
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
27
|
+
hasBody: false,
|
|
28
|
+
shape: {
|
|
29
|
+
account: accountField(),
|
|
30
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
31
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
32
|
+
userId: z.string().describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
33
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
registerGeneratedTool(registry, {
|
|
37
|
+
name: "licensing_license_assignments_insert",
|
|
38
|
+
cud: "create",
|
|
39
|
+
description: "Assign a license.",
|
|
40
|
+
method: { id: "licensing.licenseAssignments.insert", httpMethod: "POST", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "skuId"] },
|
|
41
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
42
|
+
hasBody: true,
|
|
43
|
+
shape: {
|
|
44
|
+
account: accountField(),
|
|
45
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
46
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
47
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("LicenseAssignmentInsert JSON request body. Top-level fields: userId."),
|
|
48
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
registerGeneratedTool(registry, {
|
|
52
|
+
name: "licensing_license_assignments_list_for_product",
|
|
53
|
+
cud: "read",
|
|
54
|
+
description: "List all users assigned licenses for a specific product SKU.",
|
|
55
|
+
method: { id: "licensing.licenseAssignments.listForProduct", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["customerId", "productId"] },
|
|
56
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
57
|
+
hasBody: false,
|
|
58
|
+
shape: {
|
|
59
|
+
account: accountField(),
|
|
60
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
61
|
+
customerId: z.string().describe("The customer's unique ID as defined in the Admin console, such as `C00000000`. If the customer is suspended, the server returns an error."),
|
|
62
|
+
maxResults: z.number().describe("The `maxResults` query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.").optional(),
|
|
63
|
+
pageToken: z.string().describe("Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query st").optional(),
|
|
64
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
registerGeneratedTool(registry, {
|
|
68
|
+
name: "licensing_license_assignments_list_for_product_and_sku",
|
|
69
|
+
cud: "read",
|
|
70
|
+
description: "List all users assigned licenses for a specific product SKU.",
|
|
71
|
+
method: { id: "licensing.licenseAssignments.listForProductAndSku", httpMethod: "GET", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/users", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "customerId", "skuId"] },
|
|
72
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
73
|
+
hasBody: false,
|
|
74
|
+
shape: {
|
|
75
|
+
account: accountField(),
|
|
76
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
77
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
78
|
+
customerId: z.string().describe("The customer's unique ID as defined in the Admin console, such as `C00000000`. If the customer is suspended, the server returns an error."),
|
|
79
|
+
maxResults: z.number().describe("The `maxResults` query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.").optional(),
|
|
80
|
+
pageToken: z.string().describe("Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query st").optional(),
|
|
81
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
registerGeneratedTool(registry, {
|
|
85
|
+
name: "licensing_license_assignments_patch",
|
|
86
|
+
cud: "update",
|
|
87
|
+
description: "Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.",
|
|
88
|
+
method: { id: "licensing.licenseAssignments.patch", httpMethod: "PATCH", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["userId", "skuId", "productId"] },
|
|
89
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
90
|
+
hasBody: true,
|
|
91
|
+
shape: {
|
|
92
|
+
account: accountField(),
|
|
93
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
94
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
95
|
+
userId: z.string().describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
96
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("LicenseAssignment JSON request body. Top-level fields: etags, kind, productId, productName, selfLink, skuId, skuName, userId."),
|
|
97
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
registerGeneratedTool(registry, {
|
|
101
|
+
name: "licensing_license_assignments_update",
|
|
102
|
+
cud: "update",
|
|
103
|
+
description: "Reassign a user's product SKU with a different SKU in the same product.",
|
|
104
|
+
method: { id: "licensing.licenseAssignments.update", httpMethod: "PUT", path: "apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}", baseUrl: "https://licensing.googleapis.com/", requiredParams: ["productId", "skuId", "userId"] },
|
|
105
|
+
params: [{ "field": "productId", "api": "productId", "location": "path" }, { "field": "skuId", "api": "skuId", "location": "path" }, { "field": "userId", "api": "userId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
106
|
+
hasBody: true,
|
|
107
|
+
shape: {
|
|
108
|
+
account: accountField(),
|
|
109
|
+
productId: z.string().describe("A product's unique identifier. For more information about products in this version of the API, see Products and SKUs."),
|
|
110
|
+
skuId: z.string().describe("A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs."),
|
|
111
|
+
userId: z.string().describe("The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a k"),
|
|
112
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("LicenseAssignment JSON request body. Top-level fields: etags, kind, productId, productName, selfLink, skuId, skuName, userId."),
|
|
113
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-tools.ts — do not edit. Regenerate: npm run gen:tools
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { coerceJson } from '../_coerce.js';
|
|
4
|
+
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
+
export function registerMeetGeneratedTools(registry) {
|
|
6
|
+
registerGeneratedTool(registry, {
|
|
7
|
+
name: "meet_conference_records_participants_get",
|
|
8
|
+
cud: "read",
|
|
9
|
+
description: "Gets a participant by participant ID.",
|
|
10
|
+
method: { id: "meet.conferenceRecords.participants.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
11
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
12
|
+
hasBody: false,
|
|
13
|
+
shape: {
|
|
14
|
+
account: accountField(),
|
|
15
|
+
name: z.string().describe("Required. Resource name of the participant."),
|
|
16
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
registerGeneratedTool(registry, {
|
|
20
|
+
name: "meet_conference_records_participants_list",
|
|
21
|
+
cud: "read",
|
|
22
|
+
description: "Lists the participants in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as standard parameters like",
|
|
23
|
+
method: { id: "meet.conferenceRecords.participants.list", httpMethod: "GET", path: "v2/{+parent}/participants", baseUrl: "https://meet.googleapis.com/", requiredParams: ["parent"] },
|
|
24
|
+
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
25
|
+
hasBody: false,
|
|
26
|
+
shape: {
|
|
27
|
+
account: accountField(),
|
|
28
|
+
parent: z.string().describe("Required. Format: `conferenceRecords/{conference_record}`"),
|
|
29
|
+
filter: z.string().describe("Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `earliest_start_time` * `late").optional(),
|
|
30
|
+
pageSize: z.number().describe("Maximum number of participants to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced ").optional(),
|
|
31
|
+
pageToken: z.string().describe("Page token returned from previous List Call.").optional(),
|
|
32
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
registerGeneratedTool(registry, {
|
|
36
|
+
name: "meet_conference_records_participants_participant_sessions_get",
|
|
37
|
+
cud: "read",
|
|
38
|
+
description: "Gets a participant session by participant session ID.",
|
|
39
|
+
method: { id: "meet.conferenceRecords.participants.participantSessions.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
40
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
41
|
+
hasBody: false,
|
|
42
|
+
shape: {
|
|
43
|
+
account: accountField(),
|
|
44
|
+
name: z.string().describe("Required. Resource name of the participant."),
|
|
45
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
registerGeneratedTool(registry, {
|
|
49
|
+
name: "meet_conference_records_participants_participant_sessions_list",
|
|
50
|
+
cud: "read",
|
|
51
|
+
description: "Lists the participant sessions of a participant in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as",
|
|
52
|
+
method: { id: "meet.conferenceRecords.participants.participantSessions.list", httpMethod: "GET", path: "v2/{+parent}/participantSessions", baseUrl: "https://meet.googleapis.com/", requiredParams: ["parent"] },
|
|
53
|
+
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
54
|
+
hasBody: false,
|
|
55
|
+
shape: {
|
|
56
|
+
account: accountField(),
|
|
57
|
+
parent: z.string().describe("Required. Format: `conferenceRecords/{conference_record}/participants/{participant}`"),
|
|
58
|
+
filter: z.string().describe("Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `start_time` * `end_time` For").optional(),
|
|
59
|
+
pageSize: z.number().describe("Optional. Maximum number of participant sessions to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values abov").optional(),
|
|
60
|
+
pageToken: z.string().describe("Optional. Page token returned from previous List Call.").optional(),
|
|
61
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
registerGeneratedTool(registry, {
|
|
65
|
+
name: "meet_conference_records_recordings_get",
|
|
66
|
+
cud: "read",
|
|
67
|
+
description: "Gets a recording by recording ID.",
|
|
68
|
+
method: { id: "meet.conferenceRecords.recordings.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
69
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
70
|
+
hasBody: false,
|
|
71
|
+
shape: {
|
|
72
|
+
account: accountField(),
|
|
73
|
+
name: z.string().describe("Required. Resource name of the recording."),
|
|
74
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
registerGeneratedTool(registry, {
|
|
78
|
+
name: "meet_conference_records_smart_notes_get",
|
|
79
|
+
cud: "read",
|
|
80
|
+
description: "Gets smart notes by smart note ID.",
|
|
81
|
+
method: { id: "meet.conferenceRecords.smartNotes.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
82
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
83
|
+
hasBody: false,
|
|
84
|
+
shape: {
|
|
85
|
+
account: accountField(),
|
|
86
|
+
name: z.string().describe("Required. Resource name of the smart note. Format: conferenceRecords/{conference_record}/smartNotes/{smart_note}"),
|
|
87
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
registerGeneratedTool(registry, {
|
|
91
|
+
name: "meet_conference_records_smart_notes_list",
|
|
92
|
+
cud: "read",
|
|
93
|
+
description: "Lists the set of smart notes from the conference record. By default, ordered by start time and in ascending order.",
|
|
94
|
+
method: { id: "meet.conferenceRecords.smartNotes.list", httpMethod: "GET", path: "v2/{+parent}/smartNotes", baseUrl: "https://meet.googleapis.com/", requiredParams: ["parent"] },
|
|
95
|
+
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
96
|
+
hasBody: false,
|
|
97
|
+
shape: {
|
|
98
|
+
account: accountField(),
|
|
99
|
+
parent: z.string().describe("Required. Format: `conferenceRecords/{conference_record}`"),
|
|
100
|
+
pageSize: z.number().describe("Optional. Maximum number of smart notes to return. The service might return fewer than this value. If unspecified, at most 10 smart notes are returned. The maximum value is 100; values above 100 are c").optional(),
|
|
101
|
+
pageToken: z.string().describe("Optional. Page token returned from previous List Call.").optional(),
|
|
102
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
103
|
+
},
|
|
104
|
+
});
|
|
105
|
+
registerGeneratedTool(registry, {
|
|
106
|
+
name: "meet_conference_records_transcripts_entries_get",
|
|
107
|
+
cud: "read",
|
|
108
|
+
description: "Gets a `TranscriptEntry` resource by entry ID. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Googl",
|
|
109
|
+
method: { id: "meet.conferenceRecords.transcripts.entries.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
110
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
111
|
+
hasBody: false,
|
|
112
|
+
shape: {
|
|
113
|
+
account: accountField(),
|
|
114
|
+
name: z.string().describe("Required. Resource name of the `TranscriptEntry`."),
|
|
115
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
registerGeneratedTool(registry, {
|
|
119
|
+
name: "meet_conference_records_transcripts_get",
|
|
120
|
+
cud: "read",
|
|
121
|
+
description: "Gets a transcript by transcript ID.",
|
|
122
|
+
method: { id: "meet.conferenceRecords.transcripts.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
123
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
124
|
+
hasBody: false,
|
|
125
|
+
shape: {
|
|
126
|
+
account: accountField(),
|
|
127
|
+
name: z.string().describe("Required. Resource name of the transcript."),
|
|
128
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
129
|
+
},
|
|
130
|
+
});
|
|
131
|
+
registerGeneratedTool(registry, {
|
|
132
|
+
name: "meet_spaces_create",
|
|
133
|
+
cud: "create",
|
|
134
|
+
description: "Creates a space.",
|
|
135
|
+
method: { id: "meet.spaces.create", httpMethod: "POST", path: "v2/spaces", baseUrl: "https://meet.googleapis.com/", requiredParams: [] },
|
|
136
|
+
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
137
|
+
hasBody: true,
|
|
138
|
+
shape: {
|
|
139
|
+
account: accountField(),
|
|
140
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("Space JSON request body. Top-level fields: activeConference, config, gatewaySipAccess, meetingCode, meetingUri, name, phoneAccess."),
|
|
141
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
registerGeneratedTool(registry, {
|
|
145
|
+
name: "meet_spaces_end_active_conference",
|
|
146
|
+
cud: "create",
|
|
147
|
+
description: "Ends an active conference (if there's one). For an example, see [End active conference](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#e",
|
|
148
|
+
method: { id: "meet.spaces.endActiveConference", httpMethod: "POST", path: "v2/{+name}:endActiveConference", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
149
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
150
|
+
hasBody: true,
|
|
151
|
+
shape: {
|
|
152
|
+
account: accountField(),
|
|
153
|
+
name: z.string().describe("Required. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z"),
|
|
154
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("EndActiveConferenceRequest JSON request body."),
|
|
155
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
registerGeneratedTool(registry, {
|
|
159
|
+
name: "meet_spaces_get",
|
|
160
|
+
cud: "read",
|
|
161
|
+
description: "Gets details about a meeting space. For an example, see [Get a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#get-meeting",
|
|
162
|
+
method: { id: "meet.spaces.get", httpMethod: "GET", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
163
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
164
|
+
hasBody: false,
|
|
165
|
+
shape: {
|
|
166
|
+
account: accountField(),
|
|
167
|
+
name: z.string().describe("Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. "),
|
|
168
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
registerGeneratedTool(registry, {
|
|
172
|
+
name: "meet_spaces_patch",
|
|
173
|
+
cud: "update",
|
|
174
|
+
description: "Updates details about a meeting space. For an example, see [Update a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#updat",
|
|
175
|
+
method: { id: "meet.spaces.patch", httpMethod: "PATCH", path: "v2/{+name}", baseUrl: "https://meet.googleapis.com/", requiredParams: ["name"] },
|
|
176
|
+
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
177
|
+
hasBody: true,
|
|
178
|
+
shape: {
|
|
179
|
+
account: accountField(),
|
|
180
|
+
name: z.string().describe("Immutable. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5"),
|
|
181
|
+
updateMask: z.string().describe("Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has \"\" as paths), it defaults to update all fields prov").optional(),
|
|
182
|
+
body: coerceJson(z.record(z.string(), z.unknown())).describe("Space JSON request body. Top-level fields: activeConference, config, gatewaySipAccess, meetingCode, meetingUri, name, phoneAccess."),
|
|
183
|
+
fields: z.string().optional().describe('Response field mask.'),
|
|
184
|
+
},
|
|
185
|
+
});
|
|
186
|
+
}
|