mcp-google-multi 5.4.1-alpha.2 → 6.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +21 -16
  2. package/dist/accounts.d.ts +44 -5
  3. package/dist/accounts.js +267 -25
  4. package/dist/auth.d.ts +11 -4
  5. package/dist/auth.js +85 -78
  6. package/dist/client-config.d.ts +90 -0
  7. package/dist/client-config.js +282 -0
  8. package/dist/client.js +10 -4
  9. package/dist/config-file.d.ts +38 -0
  10. package/dist/config-file.js +117 -0
  11. package/dist/discover.js +57 -3
  12. package/dist/doctor.d.ts +86 -0
  13. package/dist/doctor.js +384 -0
  14. package/dist/env-load.d.ts +11 -0
  15. package/dist/env-load.js +52 -0
  16. package/dist/executor.d.ts +2 -0
  17. package/dist/executor.js +2 -1
  18. package/dist/fanout.js +8 -5
  19. package/dist/fs-atomic.d.ts +3 -0
  20. package/dist/fs-atomic.js +123 -0
  21. package/dist/http-config.d.ts +35 -0
  22. package/dist/http-config.js +113 -0
  23. package/dist/http-transport.d.ts +59 -0
  24. package/dist/http-transport.js +269 -0
  25. package/dist/identity.d.ts +24 -0
  26. package/dist/identity.js +19 -0
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.js +199 -18
  29. package/dist/master-key.d.ts +53 -0
  30. package/dist/master-key.js +242 -0
  31. package/dist/mcp-token.d.ts +81 -0
  32. package/dist/mcp-token.js +176 -0
  33. package/dist/migrate-config.d.ts +7 -0
  34. package/dist/migrate-config.js +103 -0
  35. package/dist/migrate-tokens.js +4 -3
  36. package/dist/net-tuning.d.ts +8 -0
  37. package/dist/net-tuning.js +25 -0
  38. package/dist/oauth-as.d.ts +52 -0
  39. package/dist/oauth-as.js +457 -0
  40. package/dist/oauth-consent.d.ts +28 -0
  41. package/dist/oauth-consent.js +109 -0
  42. package/dist/open-url.d.ts +1 -0
  43. package/dist/open-url.js +30 -0
  44. package/dist/reauth-hint.d.ts +2 -0
  45. package/dist/reauth-hint.js +15 -0
  46. package/dist/registry-transfer.d.ts +41 -0
  47. package/dist/registry-transfer.js +219 -0
  48. package/dist/registry.d.ts +27 -1
  49. package/dist/registry.js +117 -6
  50. package/dist/scope-catalog.d.ts +19 -0
  51. package/dist/scope-catalog.js +182 -0
  52. package/dist/scope-observability.d.ts +78 -0
  53. package/dist/scope-observability.js +192 -0
  54. package/dist/services.js +1 -1
  55. package/dist/setup-prompt.d.ts +9 -0
  56. package/dist/setup-prompt.js +59 -0
  57. package/dist/ssrf-guard.d.ts +48 -0
  58. package/dist/ssrf-guard.js +242 -0
  59. package/dist/token-store.js +23 -125
  60. package/dist/tools/_errors.d.ts +8 -2
  61. package/dist/tools/_errors.js +97 -6
  62. package/dist/tools/account-wizard.d.ts +33 -0
  63. package/dist/tools/account-wizard.js +284 -0
  64. package/dist/tools/accounts-tool.d.ts +8 -5
  65. package/dist/tools/accounts-tool.js +38 -15
  66. package/dist/tools/admin.js +2 -2
  67. package/dist/tools/calendar.js +2 -2
  68. package/dist/tools/chat.js +2 -2
  69. package/dist/tools/contacts.d.ts +40 -0
  70. package/dist/tools/contacts.js +135 -2
  71. package/dist/tools/docs.d.ts +3 -0
  72. package/dist/tools/docs.js +60 -9
  73. package/dist/tools/drive.d.ts +3 -0
  74. package/dist/tools/drive.js +60 -8
  75. package/dist/tools/forms.js +4 -2
  76. package/dist/tools/generated/_shared.d.ts +1 -3
  77. package/dist/tools/generated/_shared.js +3 -3
  78. package/dist/tools/generated/admin.js +175 -132
  79. package/dist/tools/generated/appsmarket.js +6 -2
  80. package/dist/tools/generated/calendar.js +45 -27
  81. package/dist/tools/generated/chat.js +81 -47
  82. package/dist/tools/generated/classroom.js +131 -104
  83. package/dist/tools/generated/cloudidentity.js +73 -61
  84. package/dist/tools/generated/cloudsearch.js +59 -49
  85. package/dist/tools/generated/contacts.js +22 -14
  86. package/dist/tools/generated/drive.js +51 -35
  87. package/dist/tools/generated/driveactivity.js +5 -1
  88. package/dist/tools/generated/drivelabels.js +30 -25
  89. package/dist/tools/generated/forms.js +7 -3
  90. package/dist/tools/generated/gmail.js +73 -58
  91. package/dist/tools/generated/groupsmigration.js +5 -1
  92. package/dist/tools/generated/groupssettings.js +7 -3
  93. package/dist/tools/generated/keep.js +12 -7
  94. package/dist/tools/generated/licensing.js +11 -7
  95. package/dist/tools/generated/meet.js +20 -13
  96. package/dist/tools/generated/postmaster.js +8 -4
  97. package/dist/tools/generated/reseller.js +22 -17
  98. package/dist/tools/generated/script.js +26 -16
  99. package/dist/tools/generated/sheets.js +11 -7
  100. package/dist/tools/generated/tasks.js +6 -2
  101. package/dist/tools/generated/vault.js +38 -33
  102. package/dist/tools/generated/workspaceevents.js +12 -7
  103. package/dist/tools/gmail-mime.d.ts +38 -8
  104. package/dist/tools/gmail-mime.js +75 -71
  105. package/dist/tools/gmail.d.ts +31 -0
  106. package/dist/tools/gmail.js +483 -99
  107. package/dist/tools/google-api.js +7 -4
  108. package/dist/tools/meet.js +2 -2
  109. package/dist/tools/searchconsole.js +2 -2
  110. package/dist/tools/sheets.js +6 -2
  111. package/dist/tools/slides.js +4 -2
  112. package/dist/tools/tasks.js +2 -2
  113. package/dist/types.d.ts +1 -1
  114. package/dist/write-control.d.ts +24 -1
  115. package/dist/write-control.js +26 -1
  116. package/package.json +26 -7
@@ -3,6 +3,18 @@ import { z } from 'zod';
3
3
  import { coerceJson } from '../_coerce.js';
4
4
  import { accountField, registerGeneratedTool } from './_shared.js';
5
5
  export function registerCloudidentityGeneratedTools(registry) {
6
+ // Interned method scope sets (shared across tools; see scope-observability).
7
+ const S_cloudidentity_v1 = [
8
+ ["https://www.googleapis.com/auth/cloud-identity.devices"],
9
+ ["https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly"],
10
+ ["https://www.googleapis.com/auth/cloud-identity.devices.lookup"],
11
+ ["https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform"],
12
+ ["https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform"],
13
+ ["https://www.googleapis.com/auth/cloud-identity.inboundsso", "https://www.googleapis.com/auth/cloud-platform"],
14
+ ["https://www.googleapis.com/auth/cloud-identity.inboundsso", "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", "https://www.googleapis.com/auth/cloud-platform"],
15
+ ["https://www.googleapis.com/auth/cloud-identity.policies"],
16
+ ["https://www.googleapis.com/auth/cloud-identity.policies", "https://www.googleapis.com/auth/cloud-identity.policies.readonly"],
17
+ ];
6
18
  registerGeneratedTool(registry, {
7
19
  name: "cloudidentity_customers_userinvitations_cancel",
8
20
  cud: "create",
@@ -78,7 +90,7 @@ export function registerCloudidentityGeneratedTools(registry) {
78
90
  name: "cloudidentity_devices_cancel_wipe",
79
91
  cud: "create",
80
92
  description: "Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being",
81
- method: { id: "cloudidentity.devices.cancelWipe", httpMethod: "POST", path: "v1/{+name}:cancelWipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
93
+ method: { id: "cloudidentity.devices.cancelWipe", httpMethod: "POST", path: "v1/{+name}:cancelWipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
82
94
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
83
95
  hasBody: true,
84
96
  shape: {
@@ -92,7 +104,7 @@ export function registerCloudidentityGeneratedTools(registry) {
92
104
  name: "cloudidentity_devices_create",
93
105
  cud: "create",
94
106
  description: "Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise",
95
- method: { id: "cloudidentity.devices.create", httpMethod: "POST", path: "v1/devices", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
107
+ method: { id: "cloudidentity.devices.create", httpMethod: "POST", path: "v1/devices", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[0] },
96
108
  params: [{ "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
97
109
  hasBody: true,
98
110
  shape: {
@@ -106,7 +118,7 @@ export function registerCloudidentityGeneratedTools(registry) {
106
118
  name: "cloudidentity_devices_delete",
107
119
  cud: "delete",
108
120
  description: "Deletes the specified device.",
109
- method: { id: "cloudidentity.devices.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
121
+ method: { id: "cloudidentity.devices.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
110
122
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
111
123
  hasBody: false,
112
124
  shape: {
@@ -120,7 +132,7 @@ export function registerCloudidentityGeneratedTools(registry) {
120
132
  name: "cloudidentity_devices_device_users_approve",
121
133
  cud: "create",
122
134
  description: "Approves device to access user data.",
123
- method: { id: "cloudidentity.devices.deviceUsers.approve", httpMethod: "POST", path: "v1/{+name}:approve", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
135
+ method: { id: "cloudidentity.devices.deviceUsers.approve", httpMethod: "POST", path: "v1/{+name}:approve", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
124
136
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
125
137
  hasBody: true,
126
138
  shape: {
@@ -134,7 +146,7 @@ export function registerCloudidentityGeneratedTools(registry) {
134
146
  name: "cloudidentity_devices_device_users_block",
135
147
  cud: "create",
136
148
  description: "Blocks device from accessing user data",
137
- method: { id: "cloudidentity.devices.deviceUsers.block", httpMethod: "POST", path: "v1/{+name}:block", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
149
+ method: { id: "cloudidentity.devices.deviceUsers.block", httpMethod: "POST", path: "v1/{+name}:block", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
138
150
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
139
151
  hasBody: true,
140
152
  shape: {
@@ -148,7 +160,7 @@ export function registerCloudidentityGeneratedTools(registry) {
148
160
  name: "cloudidentity_devices_device_users_cancel_wipe",
149
161
  cud: "create",
150
162
  description: "Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device",
151
- method: { id: "cloudidentity.devices.deviceUsers.cancelWipe", httpMethod: "POST", path: "v1/{+name}:cancelWipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
163
+ method: { id: "cloudidentity.devices.deviceUsers.cancelWipe", httpMethod: "POST", path: "v1/{+name}:cancelWipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
152
164
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
153
165
  hasBody: true,
154
166
  shape: {
@@ -162,7 +174,7 @@ export function registerCloudidentityGeneratedTools(registry) {
162
174
  name: "cloudidentity_devices_device_users_client_states_get",
163
175
  cud: "read",
164
176
  description: "Gets the client state for the device user",
165
- method: { id: "cloudidentity.devices.deviceUsers.clientStates.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
177
+ method: { id: "cloudidentity.devices.deviceUsers.clientStates.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[1] },
166
178
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
167
179
  hasBody: false,
168
180
  shape: {
@@ -176,7 +188,7 @@ export function registerCloudidentityGeneratedTools(registry) {
176
188
  name: "cloudidentity_devices_device_users_client_states_list",
177
189
  cud: "read",
178
190
  description: "Lists the client states for the given search query.",
179
- method: { id: "cloudidentity.devices.deviceUsers.clientStates.list", httpMethod: "GET", path: "v1/{+parent}/clientStates", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
191
+ method: { id: "cloudidentity.devices.deviceUsers.clientStates.list", httpMethod: "GET", path: "v1/{+parent}/clientStates", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[1] },
180
192
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
181
193
  hasBody: false,
182
194
  shape: {
@@ -193,7 +205,7 @@ export function registerCloudidentityGeneratedTools(registry) {
193
205
  name: "cloudidentity_devices_device_users_client_states_patch",
194
206
  cud: "update",
195
207
  description: "Updates the client state for the device user **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enter",
196
- method: { id: "cloudidentity.devices.deviceUsers.clientStates.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
208
+ method: { id: "cloudidentity.devices.deviceUsers.clientStates.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
197
209
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
198
210
  hasBody: true,
199
211
  shape: {
@@ -209,7 +221,7 @@ export function registerCloudidentityGeneratedTools(registry) {
209
221
  name: "cloudidentity_devices_device_users_delete",
210
222
  cud: "delete",
211
223
  description: "Deletes the specified DeviceUser. This also revokes the user's access to device data.",
212
- method: { id: "cloudidentity.devices.deviceUsers.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
224
+ method: { id: "cloudidentity.devices.deviceUsers.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
213
225
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
214
226
  hasBody: false,
215
227
  shape: {
@@ -223,7 +235,7 @@ export function registerCloudidentityGeneratedTools(registry) {
223
235
  name: "cloudidentity_devices_device_users_get",
224
236
  cud: "read",
225
237
  description: "Retrieves the specified DeviceUser",
226
- method: { id: "cloudidentity.devices.deviceUsers.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
238
+ method: { id: "cloudidentity.devices.deviceUsers.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[1] },
227
239
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
228
240
  hasBody: false,
229
241
  shape: {
@@ -237,7 +249,7 @@ export function registerCloudidentityGeneratedTools(registry) {
237
249
  name: "cloudidentity_devices_device_users_list",
238
250
  cud: "read",
239
251
  description: "Lists/Searches DeviceUsers.",
240
- method: { id: "cloudidentity.devices.deviceUsers.list", httpMethod: "GET", path: "v1/{+parent}/deviceUsers", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
252
+ method: { id: "cloudidentity.devices.deviceUsers.list", httpMethod: "GET", path: "v1/{+parent}/deviceUsers", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[1] },
241
253
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
242
254
  hasBody: false,
243
255
  shape: {
@@ -255,7 +267,7 @@ export function registerCloudidentityGeneratedTools(registry) {
255
267
  name: "cloudidentity_devices_device_users_lookup",
256
268
  cud: "read",
257
269
  description: "Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be call",
258
- method: { id: "cloudidentity.devices.deviceUsers.lookup", httpMethod: "GET", path: "v1/{+parent}:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
270
+ method: { id: "cloudidentity.devices.deviceUsers.lookup", httpMethod: "GET", path: "v1/{+parent}:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[2] },
259
271
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "androidId", "api": "androidId", "location": "query" }, { "field": "iosDeviceId", "api": "iosDeviceId", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "partner", "api": "partner", "location": "query" }, { "field": "rawResourceId", "api": "rawResourceId", "location": "query" }, { "field": "userId", "api": "userId", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
260
272
  hasBody: false,
261
273
  shape: {
@@ -275,7 +287,7 @@ export function registerCloudidentityGeneratedTools(registry) {
275
287
  name: "cloudidentity_devices_device_users_wipe",
276
288
  cud: "create",
277
289
  description: "Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app",
278
- method: { id: "cloudidentity.devices.deviceUsers.wipe", httpMethod: "POST", path: "v1/{+name}:wipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
290
+ method: { id: "cloudidentity.devices.deviceUsers.wipe", httpMethod: "POST", path: "v1/{+name}:wipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
279
291
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
280
292
  hasBody: true,
281
293
  shape: {
@@ -289,7 +301,7 @@ export function registerCloudidentityGeneratedTools(registry) {
289
301
  name: "cloudidentity_devices_get",
290
302
  cud: "read",
291
303
  description: "Retrieves the specified device.",
292
- method: { id: "cloudidentity.devices.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
304
+ method: { id: "cloudidentity.devices.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[1] },
293
305
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
294
306
  hasBody: false,
295
307
  shape: {
@@ -303,7 +315,7 @@ export function registerCloudidentityGeneratedTools(registry) {
303
315
  name: "cloudidentity_devices_list",
304
316
  cud: "read",
305
317
  description: "Lists/Searches devices.",
306
- method: { id: "cloudidentity.devices.list", httpMethod: "GET", path: "v1/devices", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
318
+ method: { id: "cloudidentity.devices.list", httpMethod: "GET", path: "v1/devices", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[1] },
307
319
  params: [{ "field": "customer", "api": "customer", "location": "query" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "view", "api": "view", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
308
320
  hasBody: false,
309
321
  shape: {
@@ -321,7 +333,7 @@ export function registerCloudidentityGeneratedTools(registry) {
321
333
  name: "cloudidentity_devices_wipe",
322
334
  cud: "create",
323
335
  description: "Wipes all data on the specified device.",
324
- method: { id: "cloudidentity.devices.wipe", httpMethod: "POST", path: "v1/{+name}:wipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
336
+ method: { id: "cloudidentity.devices.wipe", httpMethod: "POST", path: "v1/{+name}:wipe", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[0] },
325
337
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
326
338
  hasBody: true,
327
339
  shape: {
@@ -335,7 +347,7 @@ export function registerCloudidentityGeneratedTools(registry) {
335
347
  name: "cloudidentity_groups_create",
336
348
  cud: "create",
337
349
  description: "Creates a Group.",
338
- method: { id: "cloudidentity.groups.create", httpMethod: "POST", path: "v1/groups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
350
+ method: { id: "cloudidentity.groups.create", httpMethod: "POST", path: "v1/groups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[3] },
339
351
  params: [{ "field": "initialGroupConfig", "api": "initialGroupConfig", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
340
352
  hasBody: true,
341
353
  shape: {
@@ -349,7 +361,7 @@ export function registerCloudidentityGeneratedTools(registry) {
349
361
  name: "cloudidentity_groups_delete",
350
362
  cud: "delete",
351
363
  description: "Deletes a `Group`.",
352
- method: { id: "cloudidentity.groups.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
364
+ method: { id: "cloudidentity.groups.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[3] },
353
365
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
354
366
  hasBody: false,
355
367
  shape: {
@@ -362,7 +374,7 @@ export function registerCloudidentityGeneratedTools(registry) {
362
374
  name: "cloudidentity_groups_get",
363
375
  cud: "read",
364
376
  description: "Retrieves a `Group`.",
365
- method: { id: "cloudidentity.groups.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
377
+ method: { id: "cloudidentity.groups.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[4] },
366
378
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
367
379
  hasBody: false,
368
380
  shape: {
@@ -375,7 +387,7 @@ export function registerCloudidentityGeneratedTools(registry) {
375
387
  name: "cloudidentity_groups_get_security_settings",
376
388
  cud: "read",
377
389
  description: "Get Security Settings",
378
- method: { id: "cloudidentity.groups.getSecuritySettings", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
390
+ method: { id: "cloudidentity.groups.getSecuritySettings", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[4] },
379
391
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "readMask", "api": "readMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
380
392
  hasBody: false,
381
393
  shape: {
@@ -389,7 +401,7 @@ export function registerCloudidentityGeneratedTools(registry) {
389
401
  name: "cloudidentity_groups_list",
390
402
  cud: "read",
391
403
  description: "Lists the `Group` resources under a customer or namespace.",
392
- method: { id: "cloudidentity.groups.list", httpMethod: "GET", path: "v1/groups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
404
+ method: { id: "cloudidentity.groups.list", httpMethod: "GET", path: "v1/groups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[4] },
393
405
  params: [{ "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "parent", "api": "parent", "location": "query" }, { "field": "view", "api": "view", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
394
406
  hasBody: false,
395
407
  shape: {
@@ -405,7 +417,7 @@ export function registerCloudidentityGeneratedTools(registry) {
405
417
  name: "cloudidentity_groups_lookup",
406
418
  cud: "read",
407
419
  description: "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`.",
408
- method: { id: "cloudidentity.groups.lookup", httpMethod: "GET", path: "v1/groups:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
420
+ method: { id: "cloudidentity.groups.lookup", httpMethod: "GET", path: "v1/groups:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[4] },
409
421
  params: [{ "field": "groupKey.id", "api": "groupKey.id", "location": "query" }, { "field": "groupKey.namespace", "api": "groupKey.namespace", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
410
422
  hasBody: false,
411
423
  shape: {
@@ -419,7 +431,7 @@ export function registerCloudidentityGeneratedTools(registry) {
419
431
  name: "cloudidentity_groups_memberships_check_transitive_membership",
420
432
  cud: "read",
421
433
  description: "Check a potential member for membership in a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enter",
422
- method: { id: "cloudidentity.groups.memberships.checkTransitiveMembership", httpMethod: "GET", path: "v1/{+parent}/memberships:checkTransitiveMembership", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
434
+ method: { id: "cloudidentity.groups.memberships.checkTransitiveMembership", httpMethod: "GET", path: "v1/{+parent}/memberships:checkTransitiveMembership", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
423
435
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
424
436
  hasBody: false,
425
437
  shape: {
@@ -433,7 +445,7 @@ export function registerCloudidentityGeneratedTools(registry) {
433
445
  name: "cloudidentity_groups_memberships_create",
434
446
  cud: "create",
435
447
  description: "Creates a `Membership`.",
436
- method: { id: "cloudidentity.groups.memberships.create", httpMethod: "POST", path: "v1/{+parent}/memberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
448
+ method: { id: "cloudidentity.groups.memberships.create", httpMethod: "POST", path: "v1/{+parent}/memberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[3] },
437
449
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
438
450
  hasBody: true,
439
451
  shape: {
@@ -447,7 +459,7 @@ export function registerCloudidentityGeneratedTools(registry) {
447
459
  name: "cloudidentity_groups_memberships_delete",
448
460
  cud: "delete",
449
461
  description: "Deletes a `Membership`.",
450
- method: { id: "cloudidentity.groups.memberships.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
462
+ method: { id: "cloudidentity.groups.memberships.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[3] },
451
463
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
452
464
  hasBody: false,
453
465
  shape: {
@@ -460,7 +472,7 @@ export function registerCloudidentityGeneratedTools(registry) {
460
472
  name: "cloudidentity_groups_memberships_get",
461
473
  cud: "read",
462
474
  description: "Retrieves a `Membership`.",
463
- method: { id: "cloudidentity.groups.memberships.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
475
+ method: { id: "cloudidentity.groups.memberships.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[4] },
464
476
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
465
477
  hasBody: false,
466
478
  shape: {
@@ -473,7 +485,7 @@ export function registerCloudidentityGeneratedTools(registry) {
473
485
  name: "cloudidentity_groups_memberships_get_membership_graph",
474
486
  cud: "read",
475
487
  description: "Get a membership graph of just a member or both a member and a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterpri",
476
- method: { id: "cloudidentity.groups.memberships.getMembershipGraph", httpMethod: "GET", path: "v1/{+parent}/memberships:getMembershipGraph", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
488
+ method: { id: "cloudidentity.groups.memberships.getMembershipGraph", httpMethod: "GET", path: "v1/{+parent}/memberships:getMembershipGraph", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
477
489
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
478
490
  hasBody: false,
479
491
  shape: {
@@ -487,7 +499,7 @@ export function registerCloudidentityGeneratedTools(registry) {
487
499
  name: "cloudidentity_groups_memberships_list",
488
500
  cud: "read",
489
501
  description: "Lists the `Membership`s within a `Group`.",
490
- method: { id: "cloudidentity.groups.memberships.list", httpMethod: "GET", path: "v1/{+parent}/memberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
502
+ method: { id: "cloudidentity.groups.memberships.list", httpMethod: "GET", path: "v1/{+parent}/memberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
491
503
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "view", "api": "view", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
492
504
  hasBody: false,
493
505
  shape: {
@@ -503,7 +515,7 @@ export function registerCloudidentityGeneratedTools(registry) {
503
515
  name: "cloudidentity_groups_memberships_lookup",
504
516
  cud: "read",
505
517
  description: "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`.",
506
- method: { id: "cloudidentity.groups.memberships.lookup", httpMethod: "GET", path: "v1/{+parent}/memberships:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
518
+ method: { id: "cloudidentity.groups.memberships.lookup", httpMethod: "GET", path: "v1/{+parent}/memberships:lookup", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
507
519
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "memberKey.id", "api": "memberKey.id", "location": "query" }, { "field": "memberKey.namespace", "api": "memberKey.namespace", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
508
520
  hasBody: false,
509
521
  shape: {
@@ -518,7 +530,7 @@ export function registerCloudidentityGeneratedTools(registry) {
518
530
  name: "cloudidentity_groups_memberships_modify_membership_roles",
519
531
  cud: "update",
520
532
  description: "Modifies the `MembershipRole`s of a `Membership`.",
521
- method: { id: "cloudidentity.groups.memberships.modifyMembershipRoles", httpMethod: "POST", path: "v1/{+name}:modifyMembershipRoles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
533
+ method: { id: "cloudidentity.groups.memberships.modifyMembershipRoles", httpMethod: "POST", path: "v1/{+name}:modifyMembershipRoles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[3] },
522
534
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
523
535
  hasBody: true,
524
536
  shape: {
@@ -532,7 +544,7 @@ export function registerCloudidentityGeneratedTools(registry) {
532
544
  name: "cloudidentity_groups_memberships_search_direct_groups",
533
545
  cud: "read",
534
546
  description: "Searches direct groups of a member. Groups for which the actor does not have the permission to view memberships are silently filtered out.",
535
- method: { id: "cloudidentity.groups.memberships.searchDirectGroups", httpMethod: "GET", path: "v1/{+parent}/memberships:searchDirectGroups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
547
+ method: { id: "cloudidentity.groups.memberships.searchDirectGroups", httpMethod: "GET", path: "v1/{+parent}/memberships:searchDirectGroups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
536
548
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
537
549
  hasBody: false,
538
550
  shape: {
@@ -549,7 +561,7 @@ export function registerCloudidentityGeneratedTools(registry) {
549
561
  name: "cloudidentity_groups_memberships_search_transitive_groups",
550
562
  cud: "read",
551
563
  description: "Search transitive groups of a member. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Educ",
552
- method: { id: "cloudidentity.groups.memberships.searchTransitiveGroups", httpMethod: "GET", path: "v1/{+parent}/memberships:searchTransitiveGroups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
564
+ method: { id: "cloudidentity.groups.memberships.searchTransitiveGroups", httpMethod: "GET", path: "v1/{+parent}/memberships:searchTransitiveGroups", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
553
565
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
554
566
  hasBody: false,
555
567
  shape: {
@@ -565,7 +577,7 @@ export function registerCloudidentityGeneratedTools(registry) {
565
577
  name: "cloudidentity_groups_memberships_search_transitive_memberships",
566
578
  cud: "read",
567
579
  description: "Search transitive memberships of a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for",
568
- method: { id: "cloudidentity.groups.memberships.searchTransitiveMemberships", httpMethod: "GET", path: "v1/{+parent}/memberships:searchTransitiveMemberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
580
+ method: { id: "cloudidentity.groups.memberships.searchTransitiveMemberships", httpMethod: "GET", path: "v1/{+parent}/memberships:searchTransitiveMemberships", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[4] },
569
581
  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" }],
570
582
  hasBody: false,
571
583
  shape: {
@@ -580,7 +592,7 @@ export function registerCloudidentityGeneratedTools(registry) {
580
592
  name: "cloudidentity_groups_patch",
581
593
  cud: "update",
582
594
  description: "Updates a `Group`.",
583
- method: { id: "cloudidentity.groups.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
595
+ method: { id: "cloudidentity.groups.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[3] },
584
596
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
585
597
  hasBody: true,
586
598
  shape: {
@@ -595,7 +607,7 @@ export function registerCloudidentityGeneratedTools(registry) {
595
607
  name: "cloudidentity_groups_search",
596
608
  cud: "read",
597
609
  description: "Searches for `Group` resources matching a specified query.",
598
- method: { id: "cloudidentity.groups.search", httpMethod: "GET", path: "v1/groups:search", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
610
+ method: { id: "cloudidentity.groups.search", httpMethod: "GET", path: "v1/groups:search", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[4] },
599
611
  params: [{ "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "view", "api": "view", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
600
612
  hasBody: false,
601
613
  shape: {
@@ -611,7 +623,7 @@ export function registerCloudidentityGeneratedTools(registry) {
611
623
  name: "cloudidentity_groups_update_security_settings",
612
624
  cud: "update",
613
625
  description: "Update Security Settings",
614
- method: { id: "cloudidentity.groups.updateSecuritySettings", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
626
+ method: { id: "cloudidentity.groups.updateSecuritySettings", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[3] },
615
627
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
616
628
  hasBody: true,
617
629
  shape: {
@@ -626,7 +638,7 @@ export function registerCloudidentityGeneratedTools(registry) {
626
638
  name: "cloudidentity_inbound_oidc_sso_profiles_create",
627
639
  cud: "create",
628
640
  description: "Creates an InboundOidcSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/",
629
- method: { id: "cloudidentity.inboundOidcSsoProfiles.create", httpMethod: "POST", path: "v1/inboundOidcSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
641
+ method: { id: "cloudidentity.inboundOidcSsoProfiles.create", httpMethod: "POST", path: "v1/inboundOidcSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[5] },
630
642
  params: [{ "field": "fields", "api": "fields", "location": "query" }],
631
643
  hasBody: true,
632
644
  shape: {
@@ -639,7 +651,7 @@ export function registerCloudidentityGeneratedTools(registry) {
639
651
  name: "cloudidentity_inbound_oidc_sso_profiles_delete",
640
652
  cud: "delete",
641
653
  description: "Deletes an InboundOidcSsoProfile.",
642
- method: { id: "cloudidentity.inboundOidcSsoProfiles.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
654
+ method: { id: "cloudidentity.inboundOidcSsoProfiles.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
643
655
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
644
656
  hasBody: false,
645
657
  shape: {
@@ -652,7 +664,7 @@ export function registerCloudidentityGeneratedTools(registry) {
652
664
  name: "cloudidentity_inbound_oidc_sso_profiles_get",
653
665
  cud: "read",
654
666
  description: "Gets an InboundOidcSsoProfile.",
655
- method: { id: "cloudidentity.inboundOidcSsoProfiles.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
667
+ method: { id: "cloudidentity.inboundOidcSsoProfiles.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[6] },
656
668
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
657
669
  hasBody: false,
658
670
  shape: {
@@ -665,7 +677,7 @@ export function registerCloudidentityGeneratedTools(registry) {
665
677
  name: "cloudidentity_inbound_oidc_sso_profiles_list",
666
678
  cud: "read",
667
679
  description: "Lists InboundOidcSsoProfile objects for a Google enterprise customer.",
668
- method: { id: "cloudidentity.inboundOidcSsoProfiles.list", httpMethod: "GET", path: "v1/inboundOidcSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
680
+ method: { id: "cloudidentity.inboundOidcSsoProfiles.list", httpMethod: "GET", path: "v1/inboundOidcSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[6] },
669
681
  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" }],
670
682
  hasBody: false,
671
683
  shape: {
@@ -680,7 +692,7 @@ export function registerCloudidentityGeneratedTools(registry) {
680
692
  name: "cloudidentity_inbound_oidc_sso_profiles_patch",
681
693
  cud: "update",
682
694
  description: "Updates an InboundOidcSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448",
683
- method: { id: "cloudidentity.inboundOidcSsoProfiles.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
695
+ method: { id: "cloudidentity.inboundOidcSsoProfiles.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
684
696
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
685
697
  hasBody: true,
686
698
  shape: {
@@ -695,7 +707,7 @@ export function registerCloudidentityGeneratedTools(registry) {
695
707
  name: "cloudidentity_inbound_saml_sso_profiles_create",
696
708
  cud: "create",
697
709
  description: "Creates an InboundSamlSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/",
698
- method: { id: "cloudidentity.inboundSamlSsoProfiles.create", httpMethod: "POST", path: "v1/inboundSamlSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
710
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.create", httpMethod: "POST", path: "v1/inboundSamlSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[5] },
699
711
  params: [{ "field": "fields", "api": "fields", "location": "query" }],
700
712
  hasBody: true,
701
713
  shape: {
@@ -708,7 +720,7 @@ export function registerCloudidentityGeneratedTools(registry) {
708
720
  name: "cloudidentity_inbound_saml_sso_profiles_delete",
709
721
  cud: "delete",
710
722
  description: "Deletes an InboundSamlSsoProfile.",
711
- method: { id: "cloudidentity.inboundSamlSsoProfiles.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
723
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
712
724
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
713
725
  hasBody: false,
714
726
  shape: {
@@ -721,7 +733,7 @@ export function registerCloudidentityGeneratedTools(registry) {
721
733
  name: "cloudidentity_inbound_saml_sso_profiles_get",
722
734
  cud: "read",
723
735
  description: "Gets an InboundSamlSsoProfile.",
724
- method: { id: "cloudidentity.inboundSamlSsoProfiles.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
736
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[6] },
725
737
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
726
738
  hasBody: false,
727
739
  shape: {
@@ -734,7 +746,7 @@ export function registerCloudidentityGeneratedTools(registry) {
734
746
  name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_add",
735
747
  cud: "create",
736
748
  description: "Adds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google",
737
- method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.add", httpMethod: "POST", path: "v1/{+parent}/idpCredentials:add", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
749
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.add", httpMethod: "POST", path: "v1/{+parent}/idpCredentials:add", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[5] },
738
750
  params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
739
751
  hasBody: true,
740
752
  shape: {
@@ -748,7 +760,7 @@ export function registerCloudidentityGeneratedTools(registry) {
748
760
  name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_delete",
749
761
  cud: "delete",
750
762
  description: "Deletes an IdpCredential.",
751
- method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
763
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
752
764
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
753
765
  hasBody: false,
754
766
  shape: {
@@ -761,7 +773,7 @@ export function registerCloudidentityGeneratedTools(registry) {
761
773
  name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_get",
762
774
  cud: "read",
763
775
  description: "Gets an IdpCredential.",
764
- method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
776
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[6] },
765
777
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
766
778
  hasBody: false,
767
779
  shape: {
@@ -774,7 +786,7 @@ export function registerCloudidentityGeneratedTools(registry) {
774
786
  name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_list",
775
787
  cud: "read",
776
788
  description: "Returns a list of IdpCredentials in an InboundSamlSsoProfile.",
777
- method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.list", httpMethod: "GET", path: "v1/{+parent}/idpCredentials", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"] },
789
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.idpCredentials.list", httpMethod: "GET", path: "v1/{+parent}/idpCredentials", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["parent"], scopes: S_cloudidentity_v1[6] },
778
790
  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" }],
779
791
  hasBody: false,
780
792
  shape: {
@@ -789,7 +801,7 @@ export function registerCloudidentityGeneratedTools(registry) {
789
801
  name: "cloudidentity_inbound_saml_sso_profiles_list",
790
802
  cud: "read",
791
803
  description: "Lists InboundSamlSsoProfiles for a customer.",
792
- method: { id: "cloudidentity.inboundSamlSsoProfiles.list", httpMethod: "GET", path: "v1/inboundSamlSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
804
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.list", httpMethod: "GET", path: "v1/inboundSamlSsoProfiles", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[6] },
793
805
  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" }],
794
806
  hasBody: false,
795
807
  shape: {
@@ -804,7 +816,7 @@ export function registerCloudidentityGeneratedTools(registry) {
804
816
  name: "cloudidentity_inbound_saml_sso_profiles_patch",
805
817
  cud: "update",
806
818
  description: "Updates an InboundSamlSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448",
807
- method: { id: "cloudidentity.inboundSamlSsoProfiles.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
819
+ method: { id: "cloudidentity.inboundSamlSsoProfiles.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
808
820
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
809
821
  hasBody: true,
810
822
  shape: {
@@ -819,7 +831,7 @@ export function registerCloudidentityGeneratedTools(registry) {
819
831
  name: "cloudidentity_inbound_sso_assignments_create",
820
832
  cud: "create",
821
833
  description: "Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`.",
822
- method: { id: "cloudidentity.inboundSsoAssignments.create", httpMethod: "POST", path: "v1/inboundSsoAssignments", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
834
+ method: { id: "cloudidentity.inboundSsoAssignments.create", httpMethod: "POST", path: "v1/inboundSsoAssignments", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[5] },
823
835
  params: [{ "field": "fields", "api": "fields", "location": "query" }],
824
836
  hasBody: true,
825
837
  shape: {
@@ -832,7 +844,7 @@ export function registerCloudidentityGeneratedTools(registry) {
832
844
  name: "cloudidentity_inbound_sso_assignments_delete",
833
845
  cud: "delete",
834
846
  description: "Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`.",
835
- method: { id: "cloudidentity.inboundSsoAssignments.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
847
+ method: { id: "cloudidentity.inboundSsoAssignments.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
836
848
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
837
849
  hasBody: false,
838
850
  shape: {
@@ -845,7 +857,7 @@ export function registerCloudidentityGeneratedTools(registry) {
845
857
  name: "cloudidentity_inbound_sso_assignments_get",
846
858
  cud: "read",
847
859
  description: "Gets an InboundSsoAssignment.",
848
- method: { id: "cloudidentity.inboundSsoAssignments.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
860
+ method: { id: "cloudidentity.inboundSsoAssignments.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[6] },
849
861
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
850
862
  hasBody: false,
851
863
  shape: {
@@ -858,7 +870,7 @@ export function registerCloudidentityGeneratedTools(registry) {
858
870
  name: "cloudidentity_inbound_sso_assignments_list",
859
871
  cud: "read",
860
872
  description: "Lists the InboundSsoAssignments for a `Customer`.",
861
- method: { id: "cloudidentity.inboundSsoAssignments.list", httpMethod: "GET", path: "v1/inboundSsoAssignments", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
873
+ method: { id: "cloudidentity.inboundSsoAssignments.list", httpMethod: "GET", path: "v1/inboundSsoAssignments", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[6] },
862
874
  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" }],
863
875
  hasBody: false,
864
876
  shape: {
@@ -873,7 +885,7 @@ export function registerCloudidentityGeneratedTools(registry) {
873
885
  name: "cloudidentity_inbound_sso_assignments_patch",
874
886
  cud: "update",
875
887
  description: "Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_assignment` field and the `update_mask` is relative to that. For example: a PATCH",
876
- method: { id: "cloudidentity.inboundSsoAssignments.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
888
+ method: { id: "cloudidentity.inboundSsoAssignments.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[5] },
877
889
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
878
890
  hasBody: true,
879
891
  shape: {
@@ -888,7 +900,7 @@ export function registerCloudidentityGeneratedTools(registry) {
888
900
  name: "cloudidentity_policies_create",
889
901
  cud: "create",
890
902
  description: "Create a policy.",
891
- method: { id: "cloudidentity.policies.create", httpMethod: "POST", path: "v1/policies", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
903
+ method: { id: "cloudidentity.policies.create", httpMethod: "POST", path: "v1/policies", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[7] },
892
904
  params: [{ "field": "fields", "api": "fields", "location": "query" }],
893
905
  hasBody: true,
894
906
  shape: {
@@ -901,7 +913,7 @@ export function registerCloudidentityGeneratedTools(registry) {
901
913
  name: "cloudidentity_policies_delete",
902
914
  cud: "delete",
903
915
  description: "Delete a policy.",
904
- method: { id: "cloudidentity.policies.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
916
+ method: { id: "cloudidentity.policies.delete", httpMethod: "DELETE", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[7] },
905
917
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
906
918
  hasBody: false,
907
919
  shape: {
@@ -914,7 +926,7 @@ export function registerCloudidentityGeneratedTools(registry) {
914
926
  name: "cloudidentity_policies_get",
915
927
  cud: "read",
916
928
  description: "Get a policy.",
917
- method: { id: "cloudidentity.policies.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
929
+ method: { id: "cloudidentity.policies.get", httpMethod: "GET", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[8] },
918
930
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
919
931
  hasBody: false,
920
932
  shape: {
@@ -927,7 +939,7 @@ export function registerCloudidentityGeneratedTools(registry) {
927
939
  name: "cloudidentity_policies_list",
928
940
  cud: "read",
929
941
  description: "List policies.",
930
- method: { id: "cloudidentity.policies.list", httpMethod: "GET", path: "v1/policies", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [] },
942
+ method: { id: "cloudidentity.policies.list", httpMethod: "GET", path: "v1/policies", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: [], scopes: S_cloudidentity_v1[8] },
931
943
  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" }],
932
944
  hasBody: false,
933
945
  shape: {
@@ -942,7 +954,7 @@ export function registerCloudidentityGeneratedTools(registry) {
942
954
  name: "cloudidentity_policies_patch",
943
955
  cud: "update",
944
956
  description: "Update a policy.",
945
- method: { id: "cloudidentity.policies.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"] },
957
+ method: { id: "cloudidentity.policies.patch", httpMethod: "PATCH", path: "v1/{+name}", baseUrl: "https://cloudidentity.googleapis.com/", requiredParams: ["name"], scopes: S_cloudidentity_v1[7] },
946
958
  params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
947
959
  hasBody: true,
948
960
  shape: {