mcp-google-multi 6.0.0-beta.2 → 6.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts.d.ts +17 -1
- package/dist/accounts.js +52 -15
- package/dist/api-probe.d.ts +5 -0
- package/dist/api-probe.js +20 -15
- package/dist/arg-normalize.js +6 -5
- package/dist/arg-strict.d.ts +7 -0
- package/dist/arg-strict.js +34 -4
- package/dist/auth.d.ts +4 -3
- package/dist/auth.js +11 -13
- package/dist/boot-gates.d.ts +26 -0
- package/dist/boot-gates.js +38 -0
- package/dist/cimd-cache.d.ts +38 -0
- package/dist/cimd-cache.js +117 -0
- package/dist/client.d.ts +32 -2
- package/dist/client.js +0 -0
- package/dist/compose.d.ts +11 -0
- package/dist/compose.js +109 -0
- package/dist/config-file.d.ts +13 -0
- package/dist/config-file.js +37 -1
- package/dist/discover.js +3 -1
- package/dist/discovery-client.d.ts +3 -0
- package/dist/discovery-client.js +25 -2
- package/dist/doctor.d.ts +6 -2
- package/dist/doctor.js +119 -23
- package/dist/executor.d.ts +3 -0
- package/dist/executor.js +4 -2
- package/dist/fanout.d.ts +9 -1
- package/dist/fanout.js +44 -10
- package/dist/fs-atomic.d.ts +11 -0
- package/dist/fs-atomic.js +219 -28
- package/dist/hint-provider.d.ts +129 -0
- package/dist/hint-provider.js +64 -0
- package/dist/http-transport.d.ts +62 -4
- package/dist/http-transport.js +343 -24
- package/dist/identity.d.ts +4 -1
- package/dist/identity.js +25 -6
- package/dist/index.js +66 -138
- package/dist/master-key.js +13 -5
- package/dist/mcp-token.d.ts +136 -19
- package/dist/mcp-token.js +569 -72
- package/dist/migrate-config.js +2 -2
- package/dist/oauth-as.d.ts +103 -3
- package/dist/oauth-as.js +374 -79
- package/dist/oauth-consent.d.ts +10 -0
- package/dist/oauth-consent.js +16 -0
- package/dist/outbound-allowlist.js +5 -2
- package/dist/reauth-hint.d.ts +1 -1
- package/dist/reauth-hint.js +12 -8
- package/dist/registry-transfer.d.ts +5 -0
- package/dist/registry-transfer.js +65 -5
- package/dist/registry.d.ts +18 -1
- package/dist/registry.js +71 -15
- package/dist/scope-catalog.d.ts +11 -0
- package/dist/scope-catalog.js +23 -6
- package/dist/scope-observability.d.ts +8 -6
- package/dist/scope-observability.js +29 -13
- package/dist/services.d.ts +15 -10
- package/dist/services.js +59 -15
- package/dist/ssrf-guard.d.ts +23 -9
- package/dist/ssrf-guard.js +101 -62
- package/dist/tenant-purge.d.ts +26 -0
- package/dist/tenant-purge.js +67 -0
- package/dist/token-store.d.ts +20 -2
- package/dist/token-store.js +0 -0
- package/dist/tools/_errors.d.ts +3 -0
- package/dist/tools/_errors.js +53 -24
- package/dist/tools/_local-files.d.ts +9 -0
- package/dist/tools/_local-files.js +18 -0
- package/dist/tools/account-wizard.d.ts +10 -1
- package/dist/tools/account-wizard.js +74 -17
- package/dist/tools/accounts-tool.d.ts +7 -0
- package/dist/tools/accounts-tool.js +34 -18
- package/dist/tools/admin.d.ts +10 -1
- package/dist/tools/admin.js +15 -11
- package/dist/tools/analytics.d.ts +10 -1
- package/dist/tools/analytics.js +13 -8
- package/dist/tools/calendar.d.ts +2 -1
- package/dist/tools/calendar.js +18 -14
- package/dist/tools/chat.d.ts +10 -1
- package/dist/tools/chat.js +13 -8
- package/dist/tools/contacts.d.ts +2 -1
- package/dist/tools/contacts.js +17 -13
- package/dist/tools/docs.d.ts +2 -1
- package/dist/tools/docs.js +34 -30
- package/dist/tools/drive.d.ts +2 -1
- package/dist/tools/drive.js +65 -50
- package/dist/tools/forms.d.ts +10 -1
- package/dist/tools/forms.js +19 -12
- package/dist/tools/generated/_shared.d.ts +2 -1
- package/dist/tools/generated/_shared.js +7 -3
- package/dist/tools/generated/admin.d.ts +2 -1
- package/dist/tools/generated/admin.js +265 -265
- package/dist/tools/generated/analytics.d.ts +2 -1
- package/dist/tools/generated/analytics.js +125 -125
- package/dist/tools/generated/appsmarket.d.ts +2 -1
- package/dist/tools/generated/appsmarket.js +5 -5
- package/dist/tools/generated/calendar.d.ts +2 -1
- package/dist/tools/generated/calendar.js +55 -55
- package/dist/tools/generated/chat.d.ts +2 -1
- package/dist/tools/generated/chat.js +95 -95
- package/dist/tools/generated/classroom.d.ts +2 -1
- package/dist/tools/generated/classroom.js +209 -209
- package/dist/tools/generated/cloudidentity.d.ts +2 -1
- package/dist/tools/generated/cloudidentity.js +133 -133
- package/dist/tools/generated/cloudsearch.d.ts +2 -1
- package/dist/tools/generated/cloudsearch.js +99 -99
- package/dist/tools/generated/contacts.d.ts +2 -1
- package/dist/tools/generated/contacts.js +29 -29
- package/dist/tools/generated/drive.d.ts +2 -1
- package/dist/tools/generated/drive.js +71 -71
- package/dist/tools/generated/driveactivity.d.ts +2 -1
- package/dist/tools/generated/driveactivity.js +3 -3
- package/dist/tools/generated/drivelabels.d.ts +2 -1
- package/dist/tools/generated/drivelabels.js +53 -53
- package/dist/tools/generated/forms.d.ts +2 -1
- package/dist/tools/generated/forms.js +7 -7
- package/dist/tools/generated/gmail.d.ts +2 -1
- package/dist/tools/generated/gmail.js +117 -117
- package/dist/tools/generated/groupsmigration.d.ts +2 -1
- package/dist/tools/generated/groupsmigration.js +3 -3
- package/dist/tools/generated/groupssettings.d.ts +2 -1
- package/dist/tools/generated/groupssettings.js +7 -7
- package/dist/tools/generated/index.d.ts +2 -1
- package/dist/tools/generated/keep.d.ts +2 -1
- package/dist/tools/generated/keep.js +15 -15
- package/dist/tools/generated/licensing.d.ts +2 -1
- package/dist/tools/generated/licensing.js +15 -15
- package/dist/tools/generated/meet.d.ts +2 -1
- package/dist/tools/generated/meet.js +27 -27
- package/dist/tools/generated/postmaster.d.ts +2 -1
- package/dist/tools/generated/postmaster.js +9 -9
- package/dist/tools/generated/reseller.d.ts +2 -1
- package/dist/tools/generated/reseller.js +35 -35
- package/dist/tools/generated/script.d.ts +2 -1
- package/dist/tools/generated/script.js +33 -33
- package/dist/tools/generated/searchconsole.d.ts +2 -1
- package/dist/tools/generated/searchconsole.js +3 -3
- package/dist/tools/generated/sheets.d.ts +2 -1
- package/dist/tools/generated/sheets.js +15 -15
- package/dist/tools/generated/tasks.d.ts +2 -1
- package/dist/tools/generated/tasks.js +5 -5
- package/dist/tools/generated/vault.d.ts +2 -1
- package/dist/tools/generated/vault.js +67 -67
- package/dist/tools/generated/workspaceevents.d.ts +2 -1
- package/dist/tools/generated/workspaceevents.js +31 -31
- package/dist/tools/gmail.d.ts +2 -1
- package/dist/tools/gmail.js +45 -33
- package/dist/tools/google-api.d.ts +2 -3
- package/dist/tools/google-api.js +30 -16
- package/dist/tools/meet.d.ts +10 -1
- package/dist/tools/meet.js +13 -9
- package/dist/tools/searchconsole.d.ts +2 -1
- package/dist/tools/searchconsole.js +17 -13
- package/dist/tools/sheets.d.ts +2 -1
- package/dist/tools/sheets.js +36 -32
- package/dist/tools/slides.d.ts +10 -1
- package/dist/tools/slides.js +17 -10
- package/dist/tools/tasks.d.ts +2 -1
- package/dist/tools/tasks.js +19 -15
- package/dist/trim.d.ts +5 -0
- package/dist/trim.js +20 -0
- package/dist/usage-metrics.d.ts +23 -0
- package/dist/usage-metrics.js +65 -47
- package/dist/write-control.js +10 -2
- package/package.json +27 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { coerceBoolean, coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
-
export function registerCloudidentityGeneratedTools(registry) {
|
|
5
|
+
export function registerCloudidentityGeneratedTools(registry, deps = {}) {
|
|
6
6
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
7
|
const S_cloudidentity_v1 = [
|
|
8
8
|
["https://www.googleapis.com/auth/cloud-identity.devices"],
|
|
@@ -24,11 +24,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
24
24
|
hasBody: true,
|
|
25
25
|
bodyParams: [],
|
|
26
26
|
shape: {
|
|
27
|
-
account: accountField(),
|
|
27
|
+
account: accountField(() => registry.accountAliases()),
|
|
28
28
|
name: z.string().min(1).describe("Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`"),
|
|
29
29
|
fields: z.string().optional().describe('Response field mask.'),
|
|
30
30
|
},
|
|
31
|
-
});
|
|
31
|
+
}, deps);
|
|
32
32
|
registerGeneratedTool(registry, {
|
|
33
33
|
name: "cloudidentity_customers_userinvitations_get",
|
|
34
34
|
cud: "read",
|
|
@@ -37,11 +37,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
37
37
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
38
38
|
hasBody: false,
|
|
39
39
|
shape: {
|
|
40
|
-
account: accountField(),
|
|
40
|
+
account: accountField(() => registry.accountAliases()),
|
|
41
41
|
name: z.string().min(1).describe("Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`"),
|
|
42
42
|
fields: z.string().optional().describe('Response field mask.'),
|
|
43
43
|
},
|
|
44
|
-
});
|
|
44
|
+
}, deps);
|
|
45
45
|
registerGeneratedTool(registry, {
|
|
46
46
|
name: "cloudidentity_customers_userinvitations_is_invitable_user",
|
|
47
47
|
cud: "read",
|
|
@@ -50,11 +50,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
50
50
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
51
51
|
hasBody: false,
|
|
52
52
|
shape: {
|
|
53
|
-
account: accountField(),
|
|
53
|
+
account: accountField(() => registry.accountAliases()),
|
|
54
54
|
name: z.string().min(1).describe("Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`"),
|
|
55
55
|
fields: z.string().optional().describe('Response field mask.'),
|
|
56
56
|
},
|
|
57
|
-
});
|
|
57
|
+
}, deps);
|
|
58
58
|
registerGeneratedTool(registry, {
|
|
59
59
|
name: "cloudidentity_customers_userinvitations_list",
|
|
60
60
|
cud: "read",
|
|
@@ -63,7 +63,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
63
63
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "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" }],
|
|
64
64
|
hasBody: false,
|
|
65
65
|
shape: {
|
|
66
|
-
account: accountField(),
|
|
66
|
+
account: accountField(() => registry.accountAliases()),
|
|
67
67
|
parent: z.string().min(1).describe("Required. The customer ID of the Google Workspace or Cloud Identity account the UserInvitation resources are associated with."),
|
|
68
68
|
filter: z.string().describe("Optional. A query string for filtering `UserInvitation` results by their current state, in the format: `\"state=='invited'\"`.").optional(),
|
|
69
69
|
orderBy: z.string().describe("Optional. The sort order of the list results. You can sort the results in descending order based on either email or last update timestamp but not both, using `order_by=\"email desc\"`. Currently, sortin").optional(),
|
|
@@ -71,7 +71,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
71
71
|
pageToken: z.string().describe("Optional. A page token, received from a previous `ListUserInvitations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the ").optional(),
|
|
72
72
|
fields: z.string().optional().describe('Response field mask.'),
|
|
73
73
|
},
|
|
74
|
-
});
|
|
74
|
+
}, deps);
|
|
75
75
|
registerGeneratedTool(registry, {
|
|
76
76
|
name: "cloudidentity_customers_userinvitations_send",
|
|
77
77
|
cud: "create",
|
|
@@ -81,11 +81,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
81
81
|
hasBody: true,
|
|
82
82
|
bodyParams: [],
|
|
83
83
|
shape: {
|
|
84
|
-
account: accountField(),
|
|
84
|
+
account: accountField(() => registry.accountAliases()),
|
|
85
85
|
name: z.string().min(1).describe("Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`"),
|
|
86
86
|
fields: z.string().optional().describe('Response field mask.'),
|
|
87
87
|
},
|
|
88
|
-
});
|
|
88
|
+
}, deps);
|
|
89
89
|
registerGeneratedTool(registry, {
|
|
90
90
|
name: "cloudidentity_devices_cancel_wipe",
|
|
91
91
|
cud: "update",
|
|
@@ -95,12 +95,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
95
95
|
hasBody: true,
|
|
96
96
|
bodyParams: [{ "field": "customer", "api": "customer" }],
|
|
97
97
|
shape: {
|
|
98
|
-
account: accountField(),
|
|
98
|
+
account: accountField(() => registry.accountAliases()),
|
|
99
99
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device."),
|
|
100
100
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
101
101
|
fields: z.string().optional().describe('Response field mask.'),
|
|
102
102
|
},
|
|
103
|
-
});
|
|
103
|
+
}, deps);
|
|
104
104
|
registerGeneratedTool(registry, {
|
|
105
105
|
name: "cloudidentity_devices_create",
|
|
106
106
|
cud: "create",
|
|
@@ -109,12 +109,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
109
109
|
params: [{ "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
110
110
|
hasBody: true,
|
|
111
111
|
shape: {
|
|
112
|
-
account: accountField(),
|
|
112
|
+
account: accountField(() => registry.accountAliases()),
|
|
113
113
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
114
114
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("GoogleAppsCloudidentityDevicesV1Device JSON request body. Top-level fields: androidSpecificAttributes, assetTag, basebandVersion, bootloaderVersion, brand, buildNumber, compromisedState, createTime, deviceId, deviceType, enabledDeveloperOptions, enabledUsbDebugging, +20 more."),
|
|
115
115
|
fields: z.string().optional().describe('Response field mask.'),
|
|
116
116
|
},
|
|
117
|
-
});
|
|
117
|
+
}, deps);
|
|
118
118
|
registerGeneratedTool(registry, {
|
|
119
119
|
name: "cloudidentity_devices_delete",
|
|
120
120
|
cud: "delete",
|
|
@@ -123,12 +123,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
123
123
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
124
124
|
hasBody: false,
|
|
125
125
|
shape: {
|
|
126
|
-
account: accountField(),
|
|
126
|
+
account: accountField(() => registry.accountAliases()),
|
|
127
127
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device."),
|
|
128
128
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
129
129
|
fields: z.string().optional().describe('Response field mask.'),
|
|
130
130
|
},
|
|
131
|
-
});
|
|
131
|
+
}, deps);
|
|
132
132
|
registerGeneratedTool(registry, {
|
|
133
133
|
name: "cloudidentity_devices_device_users_approve",
|
|
134
134
|
cud: "update",
|
|
@@ -138,12 +138,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
138
138
|
hasBody: true,
|
|
139
139
|
bodyParams: [{ "field": "customer", "api": "customer" }],
|
|
140
140
|
shape: {
|
|
141
|
-
account: accountField(),
|
|
141
|
+
account: accountField(() => registry.accountAliases()),
|
|
142
142
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
143
143
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
144
144
|
fields: z.string().optional().describe('Response field mask.'),
|
|
145
145
|
},
|
|
146
|
-
});
|
|
146
|
+
}, deps);
|
|
147
147
|
registerGeneratedTool(registry, {
|
|
148
148
|
name: "cloudidentity_devices_device_users_block",
|
|
149
149
|
cud: "create",
|
|
@@ -153,12 +153,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
153
153
|
hasBody: true,
|
|
154
154
|
bodyParams: [{ "field": "customer", "api": "customer" }],
|
|
155
155
|
shape: {
|
|
156
|
-
account: accountField(),
|
|
156
|
+
account: accountField(() => registry.accountAliases()),
|
|
157
157
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
158
158
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
159
159
|
fields: z.string().optional().describe('Response field mask.'),
|
|
160
160
|
},
|
|
161
|
-
});
|
|
161
|
+
}, deps);
|
|
162
162
|
registerGeneratedTool(registry, {
|
|
163
163
|
name: "cloudidentity_devices_device_users_cancel_wipe",
|
|
164
164
|
cud: "update",
|
|
@@ -168,12 +168,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
168
168
|
hasBody: true,
|
|
169
169
|
bodyParams: [{ "field": "customer", "api": "customer" }],
|
|
170
170
|
shape: {
|
|
171
|
-
account: accountField(),
|
|
171
|
+
account: accountField(() => registry.accountAliases()),
|
|
172
172
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
173
173
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
174
174
|
fields: z.string().optional().describe('Response field mask.'),
|
|
175
175
|
},
|
|
176
|
-
});
|
|
176
|
+
}, deps);
|
|
177
177
|
registerGeneratedTool(registry, {
|
|
178
178
|
name: "cloudidentity_devices_device_users_client_states_get",
|
|
179
179
|
cud: "read",
|
|
@@ -182,12 +182,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
182
182
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
183
183
|
hasBody: false,
|
|
184
184
|
shape: {
|
|
185
|
-
account: accountField(),
|
|
185
|
+
account: accountField(() => registry.accountAliases()),
|
|
186
186
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where `device` is the "),
|
|
187
187
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
188
188
|
fields: z.string().optional().describe('Response field mask.'),
|
|
189
189
|
},
|
|
190
|
-
});
|
|
190
|
+
}, deps);
|
|
191
191
|
registerGeneratedTool(registry, {
|
|
192
192
|
name: "cloudidentity_devices_device_users_client_states_list",
|
|
193
193
|
cud: "read",
|
|
@@ -196,7 +196,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
196
196
|
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" }],
|
|
197
197
|
hasBody: false,
|
|
198
198
|
shape: {
|
|
199
|
-
account: accountField(),
|
|
199
|
+
account: accountField(() => registry.accountAliases()),
|
|
200
200
|
parent: z.string().min(1).describe("Required. To list all ClientStates, set this to \"devices/-/deviceUsers/-\". To list all ClientStates owned by a DeviceUser, set this to the resource name of the DeviceUser. Format: devices/{device}/dev"),
|
|
201
201
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
202
202
|
filter: z.string().describe("Optional. Additional restrictions when fetching list of client states.").optional(),
|
|
@@ -204,7 +204,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
204
204
|
pageToken: z.string().describe("Optional. A page token, received from a previous `ListClientStates` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClientStates` must match ").optional(),
|
|
205
205
|
fields: z.string().optional().describe('Response field mask.'),
|
|
206
206
|
},
|
|
207
|
-
});
|
|
207
|
+
}, deps);
|
|
208
208
|
registerGeneratedTool(registry, {
|
|
209
209
|
name: "cloudidentity_devices_device_users_client_states_patch",
|
|
210
210
|
cud: "update",
|
|
@@ -213,14 +213,14 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
213
213
|
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" }],
|
|
214
214
|
hasBody: true,
|
|
215
215
|
shape: {
|
|
216
|
-
account: accountField(),
|
|
216
|
+
account: accountField(() => registry.accountAliases()),
|
|
217
217
|
name: z.string().min(1).describe("Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corres"),
|
|
218
218
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
219
219
|
updateMask: z.string().describe("Optional. Comma-separated list of fully qualified names of fields to be updated. If not specified, all updatable fields in ClientState are updated.").optional(),
|
|
220
220
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("GoogleAppsCloudidentityDevicesV1ClientState JSON request body. Top-level fields: assetTags, complianceState, createTime, customId, etag, healthScore, keyValuePairs, lastUpdateTime, managed, name, ownerType, scoreReason."),
|
|
221
221
|
fields: z.string().optional().describe('Response field mask.'),
|
|
222
222
|
},
|
|
223
|
-
});
|
|
223
|
+
}, deps);
|
|
224
224
|
registerGeneratedTool(registry, {
|
|
225
225
|
name: "cloudidentity_devices_device_users_delete",
|
|
226
226
|
cud: "delete",
|
|
@@ -229,12 +229,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
229
229
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
230
230
|
hasBody: false,
|
|
231
231
|
shape: {
|
|
232
|
-
account: accountField(),
|
|
232
|
+
account: accountField(() => registry.accountAliases()),
|
|
233
233
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
234
234
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
235
235
|
fields: z.string().optional().describe('Response field mask.'),
|
|
236
236
|
},
|
|
237
|
-
});
|
|
237
|
+
}, deps);
|
|
238
238
|
registerGeneratedTool(registry, {
|
|
239
239
|
name: "cloudidentity_devices_device_users_get",
|
|
240
240
|
cud: "read",
|
|
@@ -243,12 +243,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
243
243
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
244
244
|
hasBody: false,
|
|
245
245
|
shape: {
|
|
246
|
-
account: accountField(),
|
|
246
|
+
account: accountField(() => registry.accountAliases()),
|
|
247
247
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
248
248
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
249
249
|
fields: z.string().optional().describe('Response field mask.'),
|
|
250
250
|
},
|
|
251
|
-
});
|
|
251
|
+
}, deps);
|
|
252
252
|
registerGeneratedTool(registry, {
|
|
253
253
|
name: "cloudidentity_devices_device_users_list",
|
|
254
254
|
cud: "read",
|
|
@@ -257,7 +257,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
257
257
|
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" }],
|
|
258
258
|
hasBody: false,
|
|
259
259
|
shape: {
|
|
260
|
-
account: accountField(),
|
|
260
|
+
account: accountField(() => registry.accountAliases()),
|
|
261
261
|
parent: z.string().min(1).describe("Required. To list all DeviceUsers, set this to \"devices/-\". To list all DeviceUsers owned by a device, set this to the resource name of the device. Format: devices/{device}"),
|
|
262
262
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
263
263
|
filter: z.string().describe("Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operato").optional(),
|
|
@@ -266,7 +266,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
266
266
|
pageToken: z.string().describe("Optional. A page token, received from a previous `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the call").optional(),
|
|
267
267
|
fields: z.string().optional().describe('Response field mask.'),
|
|
268
268
|
},
|
|
269
|
-
});
|
|
269
|
+
}, deps);
|
|
270
270
|
registerGeneratedTool(registry, {
|
|
271
271
|
name: "cloudidentity_devices_device_users_lookup",
|
|
272
272
|
cud: "read",
|
|
@@ -275,7 +275,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
275
275
|
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" }],
|
|
276
276
|
hasBody: false,
|
|
277
277
|
shape: {
|
|
278
|
-
account: accountField(),
|
|
278
|
+
account: accountField(() => registry.accountAliases()),
|
|
279
279
|
parent: z.string().min(1).describe("Must be set to \"devices/-/deviceUsers\" to search across all DeviceUser belonging to the user."),
|
|
280
280
|
androidId: z.string().describe("Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).").optional(),
|
|
281
281
|
iosDeviceId: z.string().describe("Optional. The partner-specified device identifier assigned to the iOS device that initiated the Lookup API call. This string must match the value of the iosDeviceId key in the app config dictionary pr").optional(),
|
|
@@ -286,7 +286,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
286
286
|
userId: z.string().describe("The user whose DeviceUser's resource name will be fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the calling user.").optional(),
|
|
287
287
|
fields: z.string().optional().describe('Response field mask.'),
|
|
288
288
|
},
|
|
289
|
-
});
|
|
289
|
+
}, deps);
|
|
290
290
|
registerGeneratedTool(registry, {
|
|
291
291
|
name: "cloudidentity_devices_device_users_wipe",
|
|
292
292
|
cud: "delete",
|
|
@@ -296,12 +296,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
296
296
|
hasBody: true,
|
|
297
297
|
bodyParams: [{ "field": "customer", "api": "customer" }],
|
|
298
298
|
shape: {
|
|
299
|
-
account: accountField(),
|
|
299
|
+
account: accountField(() => registry.accountAliases()),
|
|
300
300
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
301
301
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
302
302
|
fields: z.string().optional().describe('Response field mask.'),
|
|
303
303
|
},
|
|
304
|
-
});
|
|
304
|
+
}, deps);
|
|
305
305
|
registerGeneratedTool(registry, {
|
|
306
306
|
name: "cloudidentity_devices_get",
|
|
307
307
|
cud: "read",
|
|
@@ -310,12 +310,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
310
310
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "customer", "api": "customer", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
311
311
|
hasBody: false,
|
|
312
312
|
shape: {
|
|
313
|
-
account: accountField(),
|
|
313
|
+
account: accountField(() => registry.accountAliases()),
|
|
314
314
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in the format: `devices/{device}`, where device is the unique ID assigned to the Device."),
|
|
315
315
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you'").optional(),
|
|
316
316
|
fields: z.string().optional().describe('Response field mask.'),
|
|
317
317
|
},
|
|
318
|
-
});
|
|
318
|
+
}, deps);
|
|
319
319
|
registerGeneratedTool(registry, {
|
|
320
320
|
name: "cloudidentity_devices_list",
|
|
321
321
|
cud: "read",
|
|
@@ -324,7 +324,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
324
324
|
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" }],
|
|
325
325
|
hasBody: false,
|
|
326
326
|
shape: {
|
|
327
|
-
account: accountField(),
|
|
327
|
+
account: accountField(() => registry.accountAliases()),
|
|
328
328
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you'").optional(),
|
|
329
329
|
filter: z.string().describe("Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operato").optional(),
|
|
330
330
|
orderBy: z.string().describe("Optional. Order specification for devices in the response. Only one of the following field names may be used to specify the order: `create_time`, `last_sync_time`, `model`, `os_version`, `device_type`").optional(),
|
|
@@ -333,7 +333,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
333
333
|
view: z.enum(["VIEW_UNSPECIFIED", "COMPANY_INVENTORY", "USER_ASSIGNED_DEVICES"]).describe("Optional. The view to use for the List request.").optional(),
|
|
334
334
|
fields: z.string().optional().describe('Response field mask.'),
|
|
335
335
|
},
|
|
336
|
-
});
|
|
336
|
+
}, deps);
|
|
337
337
|
registerGeneratedTool(registry, {
|
|
338
338
|
name: "cloudidentity_devices_wipe",
|
|
339
339
|
cud: "delete",
|
|
@@ -343,13 +343,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
343
343
|
hasBody: true,
|
|
344
344
|
bodyParams: [{ "field": "customer", "api": "customer" }, { "field": "removeResetLock", "api": "removeResetLock" }],
|
|
345
345
|
shape: {
|
|
346
|
-
account: accountField(),
|
|
346
|
+
account: accountField(() => registry.accountAliases()),
|
|
347
347
|
name: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Devi"),
|
|
348
348
|
customer: z.string().describe("Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API").optional(),
|
|
349
349
|
removeResetLock: coerceBoolean.describe("Optional. Specifies if a user is able to factory reset a device after a Device Wipe. On iOS, this is called \"Activation Lock\", while on Android, this is known as \"Factory Reset Protection\". If true, t").optional(),
|
|
350
350
|
fields: z.string().optional().describe('Response field mask.'),
|
|
351
351
|
},
|
|
352
|
-
});
|
|
352
|
+
}, deps);
|
|
353
353
|
registerGeneratedTool(registry, {
|
|
354
354
|
name: "cloudidentity_groups_create",
|
|
355
355
|
cud: "create",
|
|
@@ -358,12 +358,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
358
358
|
params: [{ "field": "initialGroupConfig", "api": "initialGroupConfig", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
359
359
|
hasBody: true,
|
|
360
360
|
shape: {
|
|
361
|
-
account: accountField(),
|
|
361
|
+
account: accountField(() => registry.accountAliases()),
|
|
362
362
|
initialGroupConfig: z.enum(["INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY"]).describe("Optional. The initial configuration option for the `Group`.").optional(),
|
|
363
363
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Group JSON request body. Top-level fields: additionalGroupKeys, createTime, description, displayName, dynamicGroupMetadata, groupKey, labels, name, parent, updateTime."),
|
|
364
364
|
fields: z.string().optional().describe('Response field mask.'),
|
|
365
365
|
},
|
|
366
|
-
});
|
|
366
|
+
}, deps);
|
|
367
367
|
registerGeneratedTool(registry, {
|
|
368
368
|
name: "cloudidentity_groups_delete",
|
|
369
369
|
cud: "delete",
|
|
@@ -372,11 +372,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
372
372
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
373
373
|
hasBody: false,
|
|
374
374
|
shape: {
|
|
375
|
-
account: accountField(),
|
|
375
|
+
account: accountField(() => registry.accountAliases()),
|
|
376
376
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`."),
|
|
377
377
|
fields: z.string().optional().describe('Response field mask.'),
|
|
378
378
|
},
|
|
379
|
-
});
|
|
379
|
+
}, deps);
|
|
380
380
|
registerGeneratedTool(registry, {
|
|
381
381
|
name: "cloudidentity_groups_get",
|
|
382
382
|
cud: "read",
|
|
@@ -385,11 +385,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
385
385
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
386
386
|
hasBody: false,
|
|
387
387
|
shape: {
|
|
388
|
-
account: accountField(),
|
|
388
|
+
account: accountField(() => registry.accountAliases()),
|
|
389
389
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`."),
|
|
390
390
|
fields: z.string().optional().describe('Response field mask.'),
|
|
391
391
|
},
|
|
392
|
-
});
|
|
392
|
+
}, deps);
|
|
393
393
|
registerGeneratedTool(registry, {
|
|
394
394
|
name: "cloudidentity_groups_get_security_settings",
|
|
395
395
|
cud: "read",
|
|
@@ -398,12 +398,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
398
398
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "readMask", "api": "readMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
399
399
|
hasBody: false,
|
|
400
400
|
shape: {
|
|
401
|
-
account: accountField(),
|
|
401
|
+
account: accountField(() => registry.accountAliases()),
|
|
402
402
|
name: z.string().min(1).describe("Required. The security settings to retrieve. Format: `groups/{group_id}/securitySettings`"),
|
|
403
403
|
readMask: z.string().describe("Field-level read mask of which fields to return. \"*\" returns all fields. If not specified, all fields will be returned. May only contain the following field: `member_restriction`.").optional(),
|
|
404
404
|
fields: z.string().optional().describe('Response field mask.'),
|
|
405
405
|
},
|
|
406
|
-
});
|
|
406
|
+
}, deps);
|
|
407
407
|
registerGeneratedTool(registry, {
|
|
408
408
|
name: "cloudidentity_groups_list",
|
|
409
409
|
cud: "read",
|
|
@@ -412,14 +412,14 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
412
412
|
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" }],
|
|
413
413
|
hasBody: false,
|
|
414
414
|
shape: {
|
|
415
|
-
account: accountField(),
|
|
415
|
+
account: accountField(() => registry.accountAliases()),
|
|
416
416
|
pageSize: z.number().describe("The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue call").optional(),
|
|
417
417
|
pageToken: z.string().describe("The `next_page_token` value returned from a previous list request, if any.").optional(),
|
|
418
418
|
parent: z.string().describe("Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer_id}` for G").optional(),
|
|
419
419
|
view: z.enum(["VIEW_UNSPECIFIED", "BASIC", "FULL"]).describe("The level of detail to be returned. If unspecified, defaults to `View.BASIC`.").optional(),
|
|
420
420
|
fields: z.string().optional().describe('Response field mask.'),
|
|
421
421
|
},
|
|
422
|
-
});
|
|
422
|
+
}, deps);
|
|
423
423
|
registerGeneratedTool(registry, {
|
|
424
424
|
name: "cloudidentity_groups_lookup",
|
|
425
425
|
cud: "read",
|
|
@@ -428,12 +428,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
428
428
|
params: [{ "field": "groupKey.id", "api": "groupKey.id", "location": "query" }, { "field": "groupKey.namespace", "api": "groupKey.namespace", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
429
429
|
hasBody: false,
|
|
430
430
|
shape: {
|
|
431
|
-
account: accountField(),
|
|
431
|
+
account: accountField(() => registry.accountAliases()),
|
|
432
432
|
"groupKey.id": z.string().describe("The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://s").optional(),
|
|
433
433
|
"groupKey.namespace": z.string().describe("The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an exte").optional(),
|
|
434
434
|
fields: z.string().optional().describe('Response field mask.'),
|
|
435
435
|
},
|
|
436
|
-
});
|
|
436
|
+
}, deps);
|
|
437
437
|
registerGeneratedTool(registry, {
|
|
438
438
|
name: "cloudidentity_groups_memberships_check_transitive_membership",
|
|
439
439
|
cud: "read",
|
|
@@ -442,12 +442,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
442
442
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
443
443
|
hasBody: false,
|
|
444
444
|
shape: {
|
|
445
|
-
account: accountField(),
|
|
445
|
+
account: accountField(() => registry.accountAliases()),
|
|
446
446
|
parent: z.string().min(1).describe("[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to check the transitive membership in. Format: `groups/{group}`, where `group` is the unique id assigned to the Group "),
|
|
447
447
|
query: z.string().describe("Required. A CEL expression that MUST include member specification. This is a `required` field. Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requ").optional(),
|
|
448
448
|
fields: z.string().optional().describe('Response field mask.'),
|
|
449
449
|
},
|
|
450
|
-
});
|
|
450
|
+
}, deps);
|
|
451
451
|
registerGeneratedTool(registry, {
|
|
452
452
|
name: "cloudidentity_groups_memberships_create",
|
|
453
453
|
cud: "create",
|
|
@@ -456,12 +456,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
456
456
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
457
457
|
hasBody: true,
|
|
458
458
|
shape: {
|
|
459
|
-
account: accountField(),
|
|
459
|
+
account: accountField(() => registry.accountAliases()),
|
|
460
460
|
parent: z.string().min(1).describe("Required. The parent `Group` resource under which to create the `Membership`. Must be of the form `groups/{group}`."),
|
|
461
461
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Membership JSON request body. Top-level fields: createTime, deliverySetting, name, preferredMemberKey, roles, type, updateTime."),
|
|
462
462
|
fields: z.string().optional().describe('Response field mask.'),
|
|
463
463
|
},
|
|
464
|
-
});
|
|
464
|
+
}, deps);
|
|
465
465
|
registerGeneratedTool(registry, {
|
|
466
466
|
name: "cloudidentity_groups_memberships_delete",
|
|
467
467
|
cud: "delete",
|
|
@@ -470,11 +470,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
470
470
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
471
471
|
hasBody: false,
|
|
472
472
|
shape: {
|
|
473
|
-
account: accountField(),
|
|
473
|
+
account: accountField(() => registry.accountAliases()),
|
|
474
474
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to delete. Must be of the form `groups/{group}/memberships/{membership}`"),
|
|
475
475
|
fields: z.string().optional().describe('Response field mask.'),
|
|
476
476
|
},
|
|
477
|
-
});
|
|
477
|
+
}, deps);
|
|
478
478
|
registerGeneratedTool(registry, {
|
|
479
479
|
name: "cloudidentity_groups_memberships_get",
|
|
480
480
|
cud: "read",
|
|
@@ -483,11 +483,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
483
483
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
484
484
|
hasBody: false,
|
|
485
485
|
shape: {
|
|
486
|
-
account: accountField(),
|
|
486
|
+
account: accountField(() => registry.accountAliases()),
|
|
487
487
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to retrieve. Must be of the form `groups/{group}/memberships/{membership}`."),
|
|
488
488
|
fields: z.string().optional().describe('Response field mask.'),
|
|
489
489
|
},
|
|
490
|
-
});
|
|
490
|
+
}, deps);
|
|
491
491
|
registerGeneratedTool(registry, {
|
|
492
492
|
name: "cloudidentity_groups_memberships_get_membership_graph",
|
|
493
493
|
cud: "read",
|
|
@@ -496,12 +496,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
496
496
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
497
497
|
hasBody: false,
|
|
498
498
|
shape: {
|
|
499
|
-
account: accountField(),
|
|
499
|
+
account: accountField(() => registry.accountAliases()),
|
|
500
500
|
parent: z.string().min(1).describe("Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to th"),
|
|
501
501
|
query: z.string().describe("Required. A CEL expression that MUST include member specification AND label(s). Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additio").optional(),
|
|
502
502
|
fields: z.string().optional().describe('Response field mask.'),
|
|
503
503
|
},
|
|
504
|
-
});
|
|
504
|
+
}, deps);
|
|
505
505
|
registerGeneratedTool(registry, {
|
|
506
506
|
name: "cloudidentity_groups_memberships_list",
|
|
507
507
|
cud: "read",
|
|
@@ -510,14 +510,14 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
510
510
|
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" }],
|
|
511
511
|
hasBody: false,
|
|
512
512
|
shape: {
|
|
513
|
-
account: accountField(),
|
|
513
|
+
account: accountField(() => registry.accountAliases()),
|
|
514
514
|
parent: z.string().min(1).describe("Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`."),
|
|
515
515
|
pageSize: z.number().describe("The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue call").optional(),
|
|
516
516
|
pageToken: z.string().describe("The `next_page_token` value returned from a previous search request, if any.").optional(),
|
|
517
517
|
view: z.enum(["VIEW_UNSPECIFIED", "BASIC", "FULL"]).describe("The level of detail to be returned. If unspecified, defaults to `View.BASIC`.").optional(),
|
|
518
518
|
fields: z.string().optional().describe('Response field mask.'),
|
|
519
519
|
},
|
|
520
|
-
});
|
|
520
|
+
}, deps);
|
|
521
521
|
registerGeneratedTool(registry, {
|
|
522
522
|
name: "cloudidentity_groups_memberships_lookup",
|
|
523
523
|
cud: "read",
|
|
@@ -526,13 +526,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
526
526
|
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" }],
|
|
527
527
|
hasBody: false,
|
|
528
528
|
shape: {
|
|
529
|
-
account: accountField(),
|
|
529
|
+
account: accountField(() => registry.accountAliases()),
|
|
530
530
|
parent: z.string().min(1).describe("Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`."),
|
|
531
531
|
"memberKey.id": z.string().describe("The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://s").optional(),
|
|
532
532
|
"memberKey.namespace": z.string().describe("The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an exte").optional(),
|
|
533
533
|
fields: z.string().optional().describe('Response field mask.'),
|
|
534
534
|
},
|
|
535
|
-
});
|
|
535
|
+
}, deps);
|
|
536
536
|
registerGeneratedTool(registry, {
|
|
537
537
|
name: "cloudidentity_groups_memberships_modify_membership_roles",
|
|
538
538
|
cud: "update",
|
|
@@ -541,12 +541,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
541
541
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
542
542
|
hasBody: true,
|
|
543
543
|
shape: {
|
|
544
|
-
account: accountField(),
|
|
544
|
+
account: accountField(() => registry.accountAliases()),
|
|
545
545
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` whose roles are to be modified. Must be of the form `groups/{group}/memberships/{membership}`."),
|
|
546
546
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("ModifyMembershipRolesRequest JSON request body. Top-level fields: addRoles, removeRoles, updateRolesParams."),
|
|
547
547
|
fields: z.string().optional().describe('Response field mask.'),
|
|
548
548
|
},
|
|
549
|
-
});
|
|
549
|
+
}, deps);
|
|
550
550
|
registerGeneratedTool(registry, {
|
|
551
551
|
name: "cloudidentity_groups_memberships_search_direct_groups",
|
|
552
552
|
cud: "read",
|
|
@@ -555,7 +555,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
555
555
|
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" }],
|
|
556
556
|
hasBody: false,
|
|
557
557
|
shape: {
|
|
558
|
-
account: accountField(),
|
|
558
|
+
account: accountField(() => registry.accountAliases()),
|
|
559
559
|
parent: z.string().min(1).describe("[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: groups/{group_id}, where group_id is always '-' as this API will search a"),
|
|
560
560
|
orderBy: z.string().describe("The ordering of membership relation for the display name or email in the response. The syntax for this field can be found at https://cloud.google.com/apis/design/design_patterns#sorting_order. Example").optional(),
|
|
561
561
|
pageSize: z.number().describe("The default page size is 200 (max 1000).").optional(),
|
|
@@ -563,7 +563,7 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
563
563
|
query: z.string().describe("Required. A CEL expression that MUST include member specification AND label(s). Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are").optional(),
|
|
564
564
|
fields: z.string().optional().describe('Response field mask.'),
|
|
565
565
|
},
|
|
566
|
-
});
|
|
566
|
+
}, deps);
|
|
567
567
|
registerGeneratedTool(registry, {
|
|
568
568
|
name: "cloudidentity_groups_memberships_search_transitive_groups",
|
|
569
569
|
cud: "read",
|
|
@@ -572,14 +572,14 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
572
572
|
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" }],
|
|
573
573
|
hasBody: false,
|
|
574
574
|
shape: {
|
|
575
|
-
account: accountField(),
|
|
575
|
+
account: accountField(() => registry.accountAliases()),
|
|
576
576
|
parent: z.string().min(1).describe("[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is always '-' as this API will search acr"),
|
|
577
577
|
pageSize: z.number().describe("The default page size is 200 (max 1000).").optional(),
|
|
578
578
|
pageToken: z.string().describe("The `next_page_token` value returned from a previous list request, if any.").optional(),
|
|
579
579
|
query: z.string().describe("Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels").optional(),
|
|
580
580
|
fields: z.string().optional().describe('Response field mask.'),
|
|
581
581
|
},
|
|
582
|
-
});
|
|
582
|
+
}, deps);
|
|
583
583
|
registerGeneratedTool(registry, {
|
|
584
584
|
name: "cloudidentity_groups_memberships_search_transitive_memberships",
|
|
585
585
|
cud: "read",
|
|
@@ -588,13 +588,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
588
588
|
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" }],
|
|
589
589
|
hasBody: false,
|
|
590
590
|
shape: {
|
|
591
|
-
account: accountField(),
|
|
591
|
+
account: accountField(() => registry.accountAliases()),
|
|
592
592
|
parent: z.string().min(1).describe("[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group."),
|
|
593
593
|
pageSize: z.number().describe("The default page size is 200 (max 1000).").optional(),
|
|
594
594
|
pageToken: z.string().describe("The `next_page_token` value returned from a previous list request, if any.").optional(),
|
|
595
595
|
fields: z.string().optional().describe('Response field mask.'),
|
|
596
596
|
},
|
|
597
|
-
});
|
|
597
|
+
}, deps);
|
|
598
598
|
registerGeneratedTool(registry, {
|
|
599
599
|
name: "cloudidentity_groups_patch",
|
|
600
600
|
cud: "update",
|
|
@@ -603,13 +603,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
603
603
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
604
604
|
hasBody: true,
|
|
605
605
|
shape: {
|
|
606
|
-
account: accountField(),
|
|
606
|
+
account: accountField(() => registry.accountAliases()),
|
|
607
607
|
name: z.string().min(1).describe("Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`."),
|
|
608
608
|
updateMask: z.string().describe("Required. The names of fields to update. May only contain the following field names: `display_name`, `description`, `labels`.").optional(),
|
|
609
609
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Group JSON request body. Top-level fields: additionalGroupKeys, createTime, description, displayName, dynamicGroupMetadata, groupKey, labels, name, parent, updateTime."),
|
|
610
610
|
fields: z.string().optional().describe('Response field mask.'),
|
|
611
611
|
},
|
|
612
|
-
});
|
|
612
|
+
}, deps);
|
|
613
613
|
registerGeneratedTool(registry, {
|
|
614
614
|
name: "cloudidentity_groups_search",
|
|
615
615
|
cud: "read",
|
|
@@ -618,14 +618,14 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
618
618
|
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" }],
|
|
619
619
|
hasBody: false,
|
|
620
620
|
shape: {
|
|
621
|
-
account: accountField(),
|
|
621
|
+
account: accountField(() => registry.accountAliases()),
|
|
622
622
|
pageSize: z.number().describe("The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue call").optional(),
|
|
623
623
|
pageToken: z.string().describe("The `next_page_token` value returned from a previous search request, if any.").optional(),
|
|
624
624
|
query: z.string().describe("Required. The search query. * Must be specified in [Common Expression Language](https://opensource.google/projects/cel). * Must contain equality operators on the parent, e.g. `parent == 'customers/{cu").optional(),
|
|
625
625
|
view: z.enum(["VIEW_UNSPECIFIED", "BASIC", "FULL"]).describe("The level of detail to be returned. If unspecified, defaults to `View.BASIC`.").optional(),
|
|
626
626
|
fields: z.string().optional().describe('Response field mask.'),
|
|
627
627
|
},
|
|
628
|
-
});
|
|
628
|
+
}, deps);
|
|
629
629
|
registerGeneratedTool(registry, {
|
|
630
630
|
name: "cloudidentity_groups_update_security_settings",
|
|
631
631
|
cud: "update",
|
|
@@ -634,13 +634,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
634
634
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
635
635
|
hasBody: true,
|
|
636
636
|
shape: {
|
|
637
|
-
account: accountField(),
|
|
637
|
+
account: accountField(() => registry.accountAliases()),
|
|
638
638
|
name: z.string().min(1).describe("Output only. The resource name of the security settings. Shall be of the form `groups/{group_id}/securitySettings`."),
|
|
639
639
|
updateMask: z.string().describe("Required. The fully-qualified names of fields to update. May only contain the following field: `member_restriction.query`.").optional(),
|
|
640
640
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("SecuritySettings JSON request body. Top-level fields: memberRestriction, name."),
|
|
641
641
|
fields: z.string().optional().describe('Response field mask.'),
|
|
642
642
|
},
|
|
643
|
-
});
|
|
643
|
+
}, deps);
|
|
644
644
|
registerGeneratedTool(registry, {
|
|
645
645
|
name: "cloudidentity_inbound_oidc_sso_profiles_create",
|
|
646
646
|
cud: "create",
|
|
@@ -649,11 +649,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
649
649
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
650
650
|
hasBody: true,
|
|
651
651
|
shape: {
|
|
652
|
-
account: accountField(),
|
|
652
|
+
account: accountField(() => registry.accountAliases()),
|
|
653
653
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundOidcSsoProfile JSON request body. Top-level fields: customer, displayName, idpConfig, name, rpConfig."),
|
|
654
654
|
fields: z.string().optional().describe('Response field mask.'),
|
|
655
655
|
},
|
|
656
|
-
});
|
|
656
|
+
}, deps);
|
|
657
657
|
registerGeneratedTool(registry, {
|
|
658
658
|
name: "cloudidentity_inbound_oidc_sso_profiles_delete",
|
|
659
659
|
cud: "delete",
|
|
@@ -662,11 +662,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
662
662
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
663
663
|
hasBody: false,
|
|
664
664
|
shape: {
|
|
665
|
-
account: accountField(),
|
|
665
|
+
account: accountField(() => registry.accountAliases()),
|
|
666
666
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundOidcSsoProfile to delete. Format: `inboundOidcSsoProfiles/{sso_profile_id}`"),
|
|
667
667
|
fields: z.string().optional().describe('Response field mask.'),
|
|
668
668
|
},
|
|
669
|
-
});
|
|
669
|
+
}, deps);
|
|
670
670
|
registerGeneratedTool(registry, {
|
|
671
671
|
name: "cloudidentity_inbound_oidc_sso_profiles_get",
|
|
672
672
|
cud: "read",
|
|
@@ -675,11 +675,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
675
675
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
676
676
|
hasBody: false,
|
|
677
677
|
shape: {
|
|
678
|
-
account: accountField(),
|
|
678
|
+
account: accountField(() => registry.accountAliases()),
|
|
679
679
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundOidcSsoProfile to get. Format: `inboundOidcSsoProfiles/{sso_profile_id}`"),
|
|
680
680
|
fields: z.string().optional().describe('Response field mask.'),
|
|
681
681
|
},
|
|
682
|
-
});
|
|
682
|
+
}, deps);
|
|
683
683
|
registerGeneratedTool(registry, {
|
|
684
684
|
name: "cloudidentity_inbound_oidc_sso_profiles_list",
|
|
685
685
|
cud: "read",
|
|
@@ -688,13 +688,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
688
688
|
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" }],
|
|
689
689
|
hasBody: false,
|
|
690
690
|
shape: {
|
|
691
|
-
account: accountField(),
|
|
691
|
+
account: accountField(() => registry.accountAliases()),
|
|
692
692
|
filter: z.string().describe("A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example: `customer==\"customers/C0123abc\"`. ").optional(),
|
|
693
693
|
pageSize: z.number().describe("The maximum number of InboundOidcSsoProfiles to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change ").optional(),
|
|
694
694
|
pageToken: z.string().describe("A page token, received from a previous `ListInboundOidcSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundOidcSsoProfiles` m").optional(),
|
|
695
695
|
fields: z.string().optional().describe('Response field mask.'),
|
|
696
696
|
},
|
|
697
|
-
});
|
|
697
|
+
}, deps);
|
|
698
698
|
registerGeneratedTool(registry, {
|
|
699
699
|
name: "cloudidentity_inbound_oidc_sso_profiles_patch",
|
|
700
700
|
cud: "update",
|
|
@@ -703,13 +703,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
703
703
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
704
704
|
hasBody: true,
|
|
705
705
|
shape: {
|
|
706
|
-
account: accountField(),
|
|
706
|
+
account: accountField(() => registry.accountAliases()),
|
|
707
707
|
name: z.string().min(1).describe("Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO profile."),
|
|
708
708
|
updateMask: z.string().describe("Required. The list of fields to be updated.").optional(),
|
|
709
709
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundOidcSsoProfile JSON request body. Top-level fields: customer, displayName, idpConfig, name, rpConfig."),
|
|
710
710
|
fields: z.string().optional().describe('Response field mask.'),
|
|
711
711
|
},
|
|
712
|
-
});
|
|
712
|
+
}, deps);
|
|
713
713
|
registerGeneratedTool(registry, {
|
|
714
714
|
name: "cloudidentity_inbound_saml_sso_profiles_create",
|
|
715
715
|
cud: "create",
|
|
@@ -718,11 +718,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
718
718
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
719
719
|
hasBody: true,
|
|
720
720
|
shape: {
|
|
721
|
-
account: accountField(),
|
|
721
|
+
account: accountField(() => registry.accountAliases()),
|
|
722
722
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundSamlSsoProfile JSON request body. Top-level fields: customer, displayName, idpConfig, name, spConfig."),
|
|
723
723
|
fields: z.string().optional().describe('Response field mask.'),
|
|
724
724
|
},
|
|
725
|
-
});
|
|
725
|
+
}, deps);
|
|
726
726
|
registerGeneratedTool(registry, {
|
|
727
727
|
name: "cloudidentity_inbound_saml_sso_profiles_delete",
|
|
728
728
|
cud: "delete",
|
|
@@ -731,11 +731,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
731
731
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
732
732
|
hasBody: false,
|
|
733
733
|
shape: {
|
|
734
|
-
account: accountField(),
|
|
734
|
+
account: accountField(() => registry.accountAliases()),
|
|
735
735
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}`"),
|
|
736
736
|
fields: z.string().optional().describe('Response field mask.'),
|
|
737
737
|
},
|
|
738
|
-
});
|
|
738
|
+
}, deps);
|
|
739
739
|
registerGeneratedTool(registry, {
|
|
740
740
|
name: "cloudidentity_inbound_saml_sso_profiles_get",
|
|
741
741
|
cud: "read",
|
|
@@ -744,11 +744,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
744
744
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
745
745
|
hasBody: false,
|
|
746
746
|
shape: {
|
|
747
|
-
account: accountField(),
|
|
747
|
+
account: accountField(() => registry.accountAliases()),
|
|
748
748
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to get. Format: `inboundSamlSsoProfiles/{sso_profile_id}`"),
|
|
749
749
|
fields: z.string().optional().describe('Response field mask.'),
|
|
750
750
|
},
|
|
751
|
-
});
|
|
751
|
+
}, deps);
|
|
752
752
|
registerGeneratedTool(registry, {
|
|
753
753
|
name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_add",
|
|
754
754
|
cud: "create",
|
|
@@ -758,12 +758,12 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
758
758
|
hasBody: true,
|
|
759
759
|
bodyParams: [{ "field": "pemData", "api": "pemData" }],
|
|
760
760
|
shape: {
|
|
761
|
-
account: accountField(),
|
|
761
|
+
account: accountField(() => registry.accountAliases()),
|
|
762
762
|
parent: z.string().min(1).describe("Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}`"),
|
|
763
763
|
pemData: z.string().describe("PEM encoded x509 certificate containing the public key for verifying IdP signatures.").optional(),
|
|
764
764
|
fields: z.string().optional().describe('Response field mask.'),
|
|
765
765
|
},
|
|
766
|
-
});
|
|
766
|
+
}, deps);
|
|
767
767
|
registerGeneratedTool(registry, {
|
|
768
768
|
name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_delete",
|
|
769
769
|
cud: "delete",
|
|
@@ -772,11 +772,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
772
772
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
773
773
|
hasBody: false,
|
|
774
774
|
shape: {
|
|
775
|
-
account: accountField(),
|
|
775
|
+
account: accountField(() => registry.accountAliases()),
|
|
776
776
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`"),
|
|
777
777
|
fields: z.string().optional().describe('Response field mask.'),
|
|
778
778
|
},
|
|
779
|
-
});
|
|
779
|
+
}, deps);
|
|
780
780
|
registerGeneratedTool(registry, {
|
|
781
781
|
name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_get",
|
|
782
782
|
cud: "read",
|
|
@@ -785,11 +785,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
785
785
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
786
786
|
hasBody: false,
|
|
787
787
|
shape: {
|
|
788
|
-
account: accountField(),
|
|
788
|
+
account: accountField(() => registry.accountAliases()),
|
|
789
789
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to retrieve. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}"),
|
|
790
790
|
fields: z.string().optional().describe('Response field mask.'),
|
|
791
791
|
},
|
|
792
|
-
});
|
|
792
|
+
}, deps);
|
|
793
793
|
registerGeneratedTool(registry, {
|
|
794
794
|
name: "cloudidentity_inbound_saml_sso_profiles_idp_credentials_list",
|
|
795
795
|
cud: "read",
|
|
@@ -798,13 +798,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
798
798
|
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" }],
|
|
799
799
|
hasBody: false,
|
|
800
800
|
shape: {
|
|
801
|
-
account: accountField(),
|
|
801
|
+
account: accountField(() => registry.accountAliases()),
|
|
802
802
|
parent: z.string().min(1).describe("Required. The parent, which owns this collection of `IdpCredential`s. Format: `inboundSamlSsoProfiles/{sso_profile_id}`"),
|
|
803
803
|
pageSize: z.number().describe("The maximum number of `IdpCredential`s to return. The service may return fewer than this value.").optional(),
|
|
804
804
|
pageToken: z.string().describe("A page token, received from a previous `ListIdpCredentials` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdpCredentials` must match the ca").optional(),
|
|
805
805
|
fields: z.string().optional().describe('Response field mask.'),
|
|
806
806
|
},
|
|
807
|
-
});
|
|
807
|
+
}, deps);
|
|
808
808
|
registerGeneratedTool(registry, {
|
|
809
809
|
name: "cloudidentity_inbound_saml_sso_profiles_list",
|
|
810
810
|
cud: "read",
|
|
@@ -813,13 +813,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
813
813
|
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" }],
|
|
814
814
|
hasBody: false,
|
|
815
815
|
shape: {
|
|
816
|
-
account: accountField(),
|
|
816
|
+
account: accountField(() => registry.accountAliases()),
|
|
817
817
|
filter: z.string().describe("A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example: `customer==\"customers/C0123abc\"`. ").optional(),
|
|
818
818
|
pageSize: z.number().describe("The maximum number of InboundSamlSsoProfiles to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change ").optional(),
|
|
819
819
|
pageToken: z.string().describe("A page token, received from a previous `ListInboundSamlSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSamlSsoProfiles` m").optional(),
|
|
820
820
|
fields: z.string().optional().describe('Response field mask.'),
|
|
821
821
|
},
|
|
822
|
-
});
|
|
822
|
+
}, deps);
|
|
823
823
|
registerGeneratedTool(registry, {
|
|
824
824
|
name: "cloudidentity_inbound_saml_sso_profiles_patch",
|
|
825
825
|
cud: "update",
|
|
@@ -828,13 +828,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
828
828
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
829
829
|
hasBody: true,
|
|
830
830
|
shape: {
|
|
831
|
-
account: accountField(),
|
|
831
|
+
account: accountField(() => registry.accountAliases()),
|
|
832
832
|
name: z.string().min(1).describe("Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile."),
|
|
833
833
|
updateMask: z.string().describe("Required. The list of fields to be updated.").optional(),
|
|
834
834
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundSamlSsoProfile JSON request body. Top-level fields: customer, displayName, idpConfig, name, spConfig."),
|
|
835
835
|
fields: z.string().optional().describe('Response field mask.'),
|
|
836
836
|
},
|
|
837
|
-
});
|
|
837
|
+
}, deps);
|
|
838
838
|
registerGeneratedTool(registry, {
|
|
839
839
|
name: "cloudidentity_inbound_sso_assignments_create",
|
|
840
840
|
cud: "create",
|
|
@@ -843,11 +843,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
843
843
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
844
844
|
hasBody: true,
|
|
845
845
|
shape: {
|
|
846
|
-
account: accountField(),
|
|
846
|
+
account: accountField(() => registry.accountAliases()),
|
|
847
847
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundSsoAssignment JSON request body. Top-level fields: customer, name, oidcSsoInfo, rank, samlSsoInfo, signInBehavior, ssoMode, targetGroup, targetOrgUnit."),
|
|
848
848
|
fields: z.string().optional().describe('Response field mask.'),
|
|
849
849
|
},
|
|
850
|
-
});
|
|
850
|
+
}, deps);
|
|
851
851
|
registerGeneratedTool(registry, {
|
|
852
852
|
name: "cloudidentity_inbound_sso_assignments_delete",
|
|
853
853
|
cud: "delete",
|
|
@@ -856,11 +856,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
856
856
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
857
857
|
hasBody: false,
|
|
858
858
|
shape: {
|
|
859
|
-
account: accountField(),
|
|
859
|
+
account: accountField(() => registry.accountAliases()),
|
|
860
860
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to delete. Format: `inboundSsoAssignments/{assignment}`"),
|
|
861
861
|
fields: z.string().optional().describe('Response field mask.'),
|
|
862
862
|
},
|
|
863
|
-
});
|
|
863
|
+
}, deps);
|
|
864
864
|
registerGeneratedTool(registry, {
|
|
865
865
|
name: "cloudidentity_inbound_sso_assignments_get",
|
|
866
866
|
cud: "read",
|
|
@@ -869,11 +869,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
869
869
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
870
870
|
hasBody: false,
|
|
871
871
|
shape: {
|
|
872
|
-
account: accountField(),
|
|
872
|
+
account: accountField(() => registry.accountAliases()),
|
|
873
873
|
name: z.string().min(1).describe("Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to fetch. Format: `inboundSsoAssignments/{assignment}`"),
|
|
874
874
|
fields: z.string().optional().describe('Response field mask.'),
|
|
875
875
|
},
|
|
876
|
-
});
|
|
876
|
+
}, deps);
|
|
877
877
|
registerGeneratedTool(registry, {
|
|
878
878
|
name: "cloudidentity_inbound_sso_assignments_list",
|
|
879
879
|
cud: "read",
|
|
@@ -882,13 +882,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
882
882
|
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" }],
|
|
883
883
|
hasBody: false,
|
|
884
884
|
shape: {
|
|
885
|
-
account: accountField(),
|
|
885
|
+
account: accountField(() => registry.accountAliases()),
|
|
886
886
|
filter: z.string().describe("A CEL expression to filter the results. The only supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or specifying a filter of `customer==custom").optional(),
|
|
887
887
|
pageSize: z.number().describe("The maximum number of assignments to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. ").optional(),
|
|
888
888
|
pageToken: z.string().describe("A page token, received from a previous `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSsoAssignments` mus").optional(),
|
|
889
889
|
fields: z.string().optional().describe('Response field mask.'),
|
|
890
890
|
},
|
|
891
|
-
});
|
|
891
|
+
}, deps);
|
|
892
892
|
registerGeneratedTool(registry, {
|
|
893
893
|
name: "cloudidentity_inbound_sso_assignments_patch",
|
|
894
894
|
cud: "update",
|
|
@@ -897,13 +897,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
897
897
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
898
898
|
hasBody: true,
|
|
899
899
|
shape: {
|
|
900
|
-
account: accountField(),
|
|
900
|
+
account: accountField(() => registry.accountAliases()),
|
|
901
901
|
name: z.string().min(1).describe("Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment."),
|
|
902
902
|
updateMask: z.string().describe("Required. The list of fields to be updated.").optional(),
|
|
903
903
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("InboundSsoAssignment JSON request body. Top-level fields: customer, name, oidcSsoInfo, rank, samlSsoInfo, signInBehavior, ssoMode, targetGroup, targetOrgUnit."),
|
|
904
904
|
fields: z.string().optional().describe('Response field mask.'),
|
|
905
905
|
},
|
|
906
|
-
});
|
|
906
|
+
}, deps);
|
|
907
907
|
registerGeneratedTool(registry, {
|
|
908
908
|
name: "cloudidentity_policies_create",
|
|
909
909
|
cud: "create",
|
|
@@ -912,11 +912,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
912
912
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
913
913
|
hasBody: true,
|
|
914
914
|
shape: {
|
|
915
|
-
account: accountField(),
|
|
915
|
+
account: accountField(() => registry.accountAliases()),
|
|
916
916
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Policy JSON request body. Top-level fields: customer, name, policyQuery, setting, type."),
|
|
917
917
|
fields: z.string().optional().describe('Response field mask.'),
|
|
918
918
|
},
|
|
919
|
-
});
|
|
919
|
+
}, deps);
|
|
920
920
|
registerGeneratedTool(registry, {
|
|
921
921
|
name: "cloudidentity_policies_delete",
|
|
922
922
|
cud: "delete",
|
|
@@ -925,11 +925,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
925
925
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
926
926
|
hasBody: false,
|
|
927
927
|
shape: {
|
|
928
|
-
account: accountField(),
|
|
928
|
+
account: accountField(() => registry.accountAliases()),
|
|
929
929
|
name: z.string().min(1).describe("Required. The name of the policy to delete. Format: `policies/{policy}`."),
|
|
930
930
|
fields: z.string().optional().describe('Response field mask.'),
|
|
931
931
|
},
|
|
932
|
-
});
|
|
932
|
+
}, deps);
|
|
933
933
|
registerGeneratedTool(registry, {
|
|
934
934
|
name: "cloudidentity_policies_get",
|
|
935
935
|
cud: "read",
|
|
@@ -938,11 +938,11 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
938
938
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
939
939
|
hasBody: false,
|
|
940
940
|
shape: {
|
|
941
|
-
account: accountField(),
|
|
941
|
+
account: accountField(() => registry.accountAliases()),
|
|
942
942
|
name: z.string().min(1).describe("Required. The name of the policy to retrieve. Format: `policies/{policy}`."),
|
|
943
943
|
fields: z.string().optional().describe('Response field mask.'),
|
|
944
944
|
},
|
|
945
|
-
});
|
|
945
|
+
}, deps);
|
|
946
946
|
registerGeneratedTool(registry, {
|
|
947
947
|
name: "cloudidentity_policies_list",
|
|
948
948
|
cud: "read",
|
|
@@ -951,13 +951,13 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
951
951
|
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" }],
|
|
952
952
|
hasBody: false,
|
|
953
953
|
shape: {
|
|
954
|
-
account: accountField(),
|
|
954
|
+
account: accountField(() => registry.accountAliases()),
|
|
955
955
|
filter: z.string().describe("Optional. A CEL expression for filtering the results. Policies can be filtered using the expression in the following ways: - Filter by application: `setting.type.matches('^settings/gmail\\\\..*$')` - Fi").optional(),
|
|
956
956
|
pageSize: z.number().describe("Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to `0`, the default is `50` results per page. The maximum allowed value is `100`. `p").optional(),
|
|
957
957
|
pageToken: z.string().describe("Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to `ListPoliciesRequest` ").optional(),
|
|
958
958
|
fields: z.string().optional().describe('Response field mask.'),
|
|
959
959
|
},
|
|
960
|
-
});
|
|
960
|
+
}, deps);
|
|
961
961
|
registerGeneratedTool(registry, {
|
|
962
962
|
name: "cloudidentity_policies_patch",
|
|
963
963
|
cud: "update",
|
|
@@ -966,10 +966,10 @@ export function registerCloudidentityGeneratedTools(registry) {
|
|
|
966
966
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
967
967
|
hasBody: true,
|
|
968
968
|
shape: {
|
|
969
|
-
account: accountField(),
|
|
969
|
+
account: accountField(() => registry.accountAliases()),
|
|
970
970
|
name: z.string().min(1).describe("Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}."),
|
|
971
971
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Policy JSON request body. Top-level fields: customer, name, policyQuery, setting, type."),
|
|
972
972
|
fields: z.string().optional().describe('Response field mask.'),
|
|
973
973
|
},
|
|
974
|
-
});
|
|
974
|
+
}, deps);
|
|
975
975
|
}
|