firebase-tools 11.16.1 → 11.18.0

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 (37) hide show
  1. package/lib/deploy/extensions/planner.js +2 -1
  2. package/lib/deploy/functions/deploy.js +5 -2
  3. package/lib/deploy/functions/runtimes/index.js +2 -1
  4. package/lib/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.js +1 -0
  5. package/lib/deploy/lifecycleHooks.js +2 -1
  6. package/lib/emulator/auth/apiSpec.js +549 -201
  7. package/lib/emulator/auth/operations.js +4 -2
  8. package/lib/emulator/auth/server.js +19 -8
  9. package/lib/emulator/eventarcEmulator.js +2 -1
  10. package/lib/emulator/eventarcEmulatorUtils.js +60 -0
  11. package/lib/emulator/extensions/validation.js +2 -0
  12. package/lib/emulator/extensionsEmulator.js +1 -1
  13. package/lib/emulator/functionsEmulator.js +40 -29
  14. package/lib/extensions/billingMigrationHelper.js +2 -1
  15. package/lib/extensions/displayExtensionInfo.js +2 -1
  16. package/lib/extensions/emulator/specHelper.js +4 -3
  17. package/lib/extensions/emulator/triggerHelper.js +64 -20
  18. package/lib/extensions/extensionsHelper.js +9 -9
  19. package/lib/extensions/types.js +2 -1
  20. package/lib/extensions/utils.js +14 -1
  21. package/lib/firestore/indexes-api.js +7 -1
  22. package/lib/firestore/indexes-sort.js +4 -0
  23. package/lib/firestore/indexes.js +31 -5
  24. package/lib/firestore/util.js +5 -1
  25. package/lib/firestore/validator.js +7 -1
  26. package/lib/frameworks/angular/index.js +3 -0
  27. package/lib/frameworks/next/index.js +59 -16
  28. package/lib/frameworks/next/interfaces.js +2 -0
  29. package/lib/frameworks/next/utils.js +34 -0
  30. package/lib/frameworks/nuxt/index.js +3 -0
  31. package/lib/frameworks/utils.js +24 -0
  32. package/lib/frameworks/vite/index.js +4 -1
  33. package/lib/init/features/emulators.js +1 -1
  34. package/lib/utils.js +1 -1
  35. package/npm-shrinkwrap.json +38 -72
  36. package/package.json +1 -1
  37. package/schema/firebase-config.json +4 -2
@@ -14,7 +14,7 @@ exports.default = {
14
14
  termsOfService: "https://developers.google.com/terms/",
15
15
  },
16
16
  servers: [{ url: "https://identitytoolkit.googleapis.com" }],
17
- externalDocs: { url: "https://firebase.google.com/docs/auth/" },
17
+ externalDocs: { url: "https://cloud.google.com/identity-platform" },
18
18
  tags: [
19
19
  { name: "accounts" },
20
20
  { name: "projects" },
@@ -29,7 +29,7 @@ exports.default = {
29
29
  description: "If an email identifier is specified, checks and returns if any user account is registered with the email. If there is a registered account, fetches all providers associated with the account's email. If the provider ID of an Identity Provider (IdP) is specified, creates an authorization URI for the IdP. The user can be directed to this URI to sign in with the IdP. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
30
30
  operationId: "identitytoolkit.accounts.createAuthUri",
31
31
  responses: {
32
- 200: {
32
+ "200": {
33
33
  description: "Successful response",
34
34
  content: {
35
35
  "*/*": {
@@ -49,7 +49,11 @@ exports.default = {
49
49
  },
50
50
  },
51
51
  },
52
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
52
+ security: [
53
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
54
+ { apiKeyQuery: [] },
55
+ { apiKeyHeader: [] },
56
+ ],
53
57
  tags: ["accounts"],
54
58
  },
55
59
  parameters: [
@@ -69,7 +73,7 @@ exports.default = {
69
73
  description: "Deletes a user's account.",
70
74
  operationId: "identitytoolkit.accounts.delete",
71
75
  responses: {
72
- 200: {
76
+ "200": {
73
77
  description: "Successful response",
74
78
  content: {
75
79
  "*/*": {
@@ -83,7 +87,11 @@ exports.default = {
83
87
  requestBody: {
84
88
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1DeleteAccountRequest",
85
89
  },
86
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
90
+ security: [
91
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
92
+ { apiKeyQuery: [] },
93
+ { apiKeyHeader: [] },
94
+ ],
87
95
  tags: ["accounts"],
88
96
  },
89
97
  parameters: [
@@ -103,7 +111,7 @@ exports.default = {
103
111
  description: "Experimental",
104
112
  operationId: "identitytoolkit.accounts.issueSamlResponse",
105
113
  responses: {
106
- 200: {
114
+ "200": {
107
115
  description: "Successful response",
108
116
  content: {
109
117
  "*/*": {
@@ -123,7 +131,11 @@ exports.default = {
123
131
  },
124
132
  },
125
133
  },
126
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
134
+ security: [
135
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
136
+ { apiKeyQuery: [] },
137
+ { apiKeyHeader: [] },
138
+ ],
127
139
  tags: ["accounts"],
128
140
  },
129
141
  parameters: [
@@ -143,7 +155,7 @@ exports.default = {
143
155
  description: "Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria.",
144
156
  operationId: "identitytoolkit.accounts.lookup",
145
157
  responses: {
146
- 200: {
158
+ "200": {
147
159
  description: "Successful response",
148
160
  content: {
149
161
  "*/*": {
@@ -157,7 +169,11 @@ exports.default = {
157
169
  requestBody: {
158
170
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest",
159
171
  },
160
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
172
+ security: [
173
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
174
+ { apiKeyQuery: [] },
175
+ { apiKeyHeader: [] },
176
+ ],
161
177
  tags: ["accounts"],
162
178
  },
163
179
  parameters: [
@@ -177,7 +193,7 @@ exports.default = {
177
193
  description: "Resets the password of an account either using an out-of-band code generated by sendOobCode or by specifying the email and password of the account to be modified. Can also check the purpose of an out-of-band code without consuming it.",
178
194
  operationId: "identitytoolkit.accounts.resetPassword",
179
195
  responses: {
180
- 200: {
196
+ "200": {
181
197
  description: "Successful response",
182
198
  content: {
183
199
  "*/*": {
@@ -197,7 +213,11 @@ exports.default = {
197
213
  },
198
214
  },
199
215
  },
200
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
216
+ security: [
217
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
218
+ { apiKeyQuery: [] },
219
+ { apiKeyHeader: [] },
220
+ ],
201
221
  tags: ["accounts"],
202
222
  },
203
223
  parameters: [
@@ -217,7 +237,7 @@ exports.default = {
217
237
  description: "Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it.",
218
238
  operationId: "identitytoolkit.accounts.sendOobCode",
219
239
  responses: {
220
- 200: {
240
+ "200": {
221
241
  description: "Successful response",
222
242
  content: {
223
243
  "*/*": {
@@ -231,7 +251,11 @@ exports.default = {
231
251
  requestBody: {
232
252
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetOobCodeRequest",
233
253
  },
234
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
254
+ security: [
255
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
256
+ { apiKeyQuery: [] },
257
+ { apiKeyHeader: [] },
258
+ ],
235
259
  tags: ["accounts"],
236
260
  },
237
261
  parameters: [
@@ -251,7 +275,7 @@ exports.default = {
251
275
  description: "Sends a SMS verification code for phone number sign-in. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
252
276
  operationId: "identitytoolkit.accounts.sendVerificationCode",
253
277
  responses: {
254
- 200: {
278
+ "200": {
255
279
  description: "Successful response",
256
280
  content: {
257
281
  "*/*": {
@@ -271,7 +295,11 @@ exports.default = {
271
295
  },
272
296
  },
273
297
  },
274
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
298
+ security: [
299
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
300
+ { apiKeyQuery: [] },
301
+ { apiKeyHeader: [] },
302
+ ],
275
303
  tags: ["accounts"],
276
304
  },
277
305
  parameters: [
@@ -291,7 +319,7 @@ exports.default = {
291
319
  description: "Signs in or signs up a user by exchanging a custom Auth token. Upon a successful sign-in or sign-up, a new Identity Platform ID token and refresh token are issued for the user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
292
320
  operationId: "identitytoolkit.accounts.signInWithCustomToken",
293
321
  responses: {
294
- 200: {
322
+ "200": {
295
323
  description: "Successful response",
296
324
  content: {
297
325
  "*/*": {
@@ -311,7 +339,11 @@ exports.default = {
311
339
  },
312
340
  },
313
341
  },
314
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
342
+ security: [
343
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
344
+ { apiKeyQuery: [] },
345
+ { apiKeyHeader: [] },
346
+ ],
315
347
  tags: ["accounts"],
316
348
  },
317
349
  parameters: [
@@ -331,7 +363,7 @@ exports.default = {
331
363
  description: "Signs in or signs up a user with a out-of-band code from an email link. If a user does not exist with the given email address, a user record will be created. If the sign-in succeeds, an Identity Platform ID and refresh token are issued for the authenticated user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
332
364
  operationId: "identitytoolkit.accounts.signInWithEmailLink",
333
365
  responses: {
334
- 200: {
366
+ "200": {
335
367
  description: "Successful response",
336
368
  content: {
337
369
  "*/*": {
@@ -351,7 +383,11 @@ exports.default = {
351
383
  },
352
384
  },
353
385
  },
354
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
386
+ security: [
387
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
388
+ { apiKeyQuery: [] },
389
+ { apiKeyHeader: [] },
390
+ ],
355
391
  tags: ["accounts"],
356
392
  },
357
393
  parameters: [
@@ -371,7 +407,7 @@ exports.default = {
371
407
  description: "Signs in or signs up a user with iOS Game Center credentials. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. The bundle ID is required in the request header as `x-ios-bundle-identifier`. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
372
408
  operationId: "identitytoolkit.accounts.signInWithGameCenter",
373
409
  responses: {
374
- 200: {
410
+ "200": {
375
411
  description: "Successful response",
376
412
  content: {
377
413
  "*/*": {
@@ -391,7 +427,11 @@ exports.default = {
391
427
  },
392
428
  },
393
429
  },
394
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
430
+ security: [
431
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
432
+ { apiKeyQuery: [] },
433
+ { apiKeyHeader: [] },
434
+ ],
395
435
  tags: ["accounts"],
396
436
  },
397
437
  parameters: [
@@ -411,7 +451,7 @@ exports.default = {
411
451
  description: 'Signs in or signs up a user using credentials from an Identity Provider (IdP). This is done by manually providing an IdP credential, or by providing the authorization response obtained via the authorization request from CreateAuthUri. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. A new Identity Platform user account will be created if the user has not previously signed in to the IdP with the same account. In addition, when the "One account per email address" setting is enabled, there should not be an existing Identity Platform user account with the same email address for a new user account to be created. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.',
412
452
  operationId: "identitytoolkit.accounts.signInWithIdp",
413
453
  responses: {
414
- 200: {
454
+ "200": {
415
455
  description: "Successful response",
416
456
  content: {
417
457
  "*/*": {
@@ -431,7 +471,11 @@ exports.default = {
431
471
  },
432
472
  },
433
473
  },
434
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
474
+ security: [
475
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
476
+ { apiKeyQuery: [] },
477
+ { apiKeyHeader: [] },
478
+ ],
435
479
  tags: ["accounts"],
436
480
  },
437
481
  parameters: [
@@ -451,7 +495,7 @@ exports.default = {
451
495
  description: "Signs in a user with email and password. If the sign-in succeeds, a new Identity Platform ID token and refresh token are issued for the authenticated user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
452
496
  operationId: "identitytoolkit.accounts.signInWithPassword",
453
497
  responses: {
454
- 200: {
498
+ "200": {
455
499
  description: "Successful response",
456
500
  content: {
457
501
  "*/*": {
@@ -471,7 +515,11 @@ exports.default = {
471
515
  },
472
516
  },
473
517
  },
474
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
518
+ security: [
519
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
520
+ { apiKeyQuery: [] },
521
+ { apiKeyHeader: [] },
522
+ ],
475
523
  tags: ["accounts"],
476
524
  },
477
525
  parameters: [
@@ -491,7 +539,7 @@ exports.default = {
491
539
  description: "Completes a phone number authentication attempt. If a user already exists with the given phone number, an ID token is minted for that user. Otherwise, a new user is created and associated with the phone number. This method may also be used to link a phone number to an existing user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
492
540
  operationId: "identitytoolkit.accounts.signInWithPhoneNumber",
493
541
  responses: {
494
- 200: {
542
+ "200": {
495
543
  description: "Successful response",
496
544
  content: {
497
545
  "*/*": {
@@ -511,7 +559,11 @@ exports.default = {
511
559
  },
512
560
  },
513
561
  },
514
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
562
+ security: [
563
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
564
+ { apiKeyQuery: [] },
565
+ { apiKeyHeader: [] },
566
+ ],
515
567
  tags: ["accounts"],
516
568
  },
517
569
  parameters: [
@@ -531,7 +583,7 @@ exports.default = {
531
583
  description: "Signs up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. For an admin request with a Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com/identity-platform/docs/access-control), creates a new anonymous, email and password, or phone number user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
532
584
  operationId: "identitytoolkit.accounts.signUp",
533
585
  responses: {
534
- 200: {
586
+ "200": {
535
587
  description: "Successful response",
536
588
  content: {
537
589
  "*/*": {
@@ -543,7 +595,11 @@ exports.default = {
543
595
  requestBody: {
544
596
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SignUpRequest",
545
597
  },
546
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
598
+ security: [
599
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
600
+ { apiKeyQuery: [] },
601
+ { apiKeyHeader: [] },
602
+ ],
547
603
  tags: ["accounts"],
548
604
  },
549
605
  parameters: [
@@ -563,7 +619,7 @@ exports.default = {
563
619
  description: "Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported.",
564
620
  operationId: "identitytoolkit.accounts.update",
565
621
  responses: {
566
- 200: {
622
+ "200": {
567
623
  description: "Successful response",
568
624
  content: {
569
625
  "*/*": {
@@ -577,7 +633,11 @@ exports.default = {
577
633
  requestBody: {
578
634
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest",
579
635
  },
580
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
636
+ security: [
637
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
638
+ { apiKeyQuery: [] },
639
+ { apiKeyHeader: [] },
640
+ ],
581
641
  tags: ["accounts"],
582
642
  },
583
643
  parameters: [
@@ -594,10 +654,10 @@ exports.default = {
594
654
  },
595
655
  "/v1/accounts:verifyIosClient": {
596
656
  post: {
597
- description: "Verifies an iOS client is a real iOS device. If the request is valid, a reciept will be sent in the response and a secret will be sent via Apple Push Notification Service. The client should send both of them back to certain Identity Platform APIs in a later call (for example, /accounts:sendVerificationCode), in order to verify the client. The bundle ID is required in the request header as `x-ios-bundle-identifier`. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
657
+ description: "Verifies an iOS client is a real iOS device. If the request is valid, a receipt will be sent in the response and a secret will be sent via Apple Push Notification Service. The client should send both of them back to certain Identity Platform APIs in a later call (for example, /accounts:sendVerificationCode), in order to verify the client. The bundle ID is required in the request header as `x-ios-bundle-identifier`. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
598
658
  operationId: "identitytoolkit.accounts.verifyIosClient",
599
659
  responses: {
600
- 200: {
660
+ "200": {
601
661
  description: "Successful response",
602
662
  content: {
603
663
  "*/*": {
@@ -617,7 +677,11 @@ exports.default = {
617
677
  },
618
678
  },
619
679
  },
620
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
680
+ security: [
681
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
682
+ { apiKeyQuery: [] },
683
+ { apiKeyHeader: [] },
684
+ ],
621
685
  tags: ["accounts"],
622
686
  },
623
687
  parameters: [
@@ -637,7 +701,7 @@ exports.default = {
637
701
  description: "Signs up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. For an admin request with a Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com/identity-platform/docs/access-control), creates a new anonymous, email and password, or phone number user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
638
702
  operationId: "identitytoolkit.projects.accounts",
639
703
  responses: {
640
- 200: {
704
+ "200": {
641
705
  description: "Successful response",
642
706
  content: {
643
707
  "*/*": {
@@ -658,7 +722,11 @@ exports.default = {
658
722
  requestBody: {
659
723
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SignUpRequest",
660
724
  },
661
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
725
+ security: [
726
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
727
+ { apiKeyQuery: [] },
728
+ { apiKeyHeader: [] },
729
+ ],
662
730
  tags: ["projects"],
663
731
  },
664
732
  parameters: [
@@ -678,7 +746,7 @@ exports.default = {
678
746
  description: "Creates a session cookie for the given Identity Platform ID token. The session cookie is used by the client to preserve the user's login state.",
679
747
  operationId: "identitytoolkit.projects.createSessionCookie",
680
748
  responses: {
681
- 200: {
749
+ "200": {
682
750
  description: "Successful response",
683
751
  content: {
684
752
  "*/*": {
@@ -701,7 +769,11 @@ exports.default = {
701
769
  requestBody: {
702
770
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest",
703
771
  },
704
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
772
+ security: [
773
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
774
+ { apiKeyQuery: [] },
775
+ { apiKeyHeader: [] },
776
+ ],
705
777
  tags: ["projects"],
706
778
  },
707
779
  parameters: [
@@ -721,7 +793,7 @@ exports.default = {
721
793
  description: "Looks up user accounts within a project or a tenant based on conditions in the request.",
722
794
  operationId: "identitytoolkit.projects.queryAccounts",
723
795
  responses: {
724
- 200: {
796
+ "200": {
725
797
  description: "Successful response",
726
798
  content: {
727
799
  "*/*": {
@@ -747,7 +819,8 @@ exports.default = {
747
819
  security: [
748
820
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
749
821
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
750
- { apiKey: [] },
822
+ { apiKeyQuery: [] },
823
+ { apiKeyHeader: [] },
751
824
  ],
752
825
  tags: ["projects"],
753
826
  },
@@ -768,7 +841,7 @@ exports.default = {
768
841
  description: "Uploads multiple accounts into the Google Cloud project. If there is a problem uploading one or more of the accounts, the rest will be uploaded, and a list of the errors will be returned. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).",
769
842
  operationId: "identitytoolkit.projects.accounts.batchCreate",
770
843
  responses: {
771
- 200: {
844
+ "200": {
772
845
  description: "Successful response",
773
846
  content: {
774
847
  "*/*": {
@@ -794,7 +867,8 @@ exports.default = {
794
867
  security: [
795
868
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
796
869
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
797
- { apiKey: [] },
870
+ { apiKeyQuery: [] },
871
+ { apiKeyHeader: [] },
798
872
  ],
799
873
  tags: ["projects"],
800
874
  },
@@ -812,10 +886,10 @@ exports.default = {
812
886
  },
813
887
  "/v1/projects/{targetProjectId}/accounts:batchDelete": {
814
888
  post: {
815
- description: "Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper permissions. (https://cloud.google.com/identity-platform/docs/access-control)",
889
+ description: "Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).",
816
890
  operationId: "identitytoolkit.projects.accounts.batchDelete",
817
891
  responses: {
818
- 200: {
892
+ "200": {
819
893
  description: "Successful response",
820
894
  content: {
821
895
  "*/*": {
@@ -841,7 +915,8 @@ exports.default = {
841
915
  security: [
842
916
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
843
917
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
844
- { apiKey: [] },
918
+ { apiKeyQuery: [] },
919
+ { apiKeyHeader: [] },
845
920
  ],
846
921
  tags: ["projects"],
847
922
  },
@@ -862,7 +937,7 @@ exports.default = {
862
937
  description: "Download account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted.",
863
938
  operationId: "identitytoolkit.projects.accounts.batchGet",
864
939
  responses: {
865
- 200: {
940
+ "200": {
866
941
  description: "Successful response",
867
942
  content: {
868
943
  "*/*": {
@@ -904,7 +979,8 @@ exports.default = {
904
979
  security: [
905
980
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
906
981
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
907
- { apiKey: [] },
982
+ { apiKeyQuery: [] },
983
+ { apiKeyHeader: [] },
908
984
  ],
909
985
  tags: ["projects"],
910
986
  },
@@ -925,7 +1001,7 @@ exports.default = {
925
1001
  description: "Deletes a user's account.",
926
1002
  operationId: "identitytoolkit.projects.accounts.delete",
927
1003
  responses: {
928
- 200: {
1004
+ "200": {
929
1005
  description: "Successful response",
930
1006
  content: {
931
1007
  "*/*": {
@@ -948,7 +1024,11 @@ exports.default = {
948
1024
  requestBody: {
949
1025
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1DeleteAccountRequest",
950
1026
  },
951
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1027
+ security: [
1028
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1029
+ { apiKeyQuery: [] },
1030
+ { apiKeyHeader: [] },
1031
+ ],
952
1032
  tags: ["projects"],
953
1033
  },
954
1034
  parameters: [
@@ -968,7 +1048,7 @@ exports.default = {
968
1048
  description: "Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria.",
969
1049
  operationId: "identitytoolkit.projects.accounts.lookup",
970
1050
  responses: {
971
- 200: {
1051
+ "200": {
972
1052
  description: "Successful response",
973
1053
  content: {
974
1054
  "*/*": {
@@ -991,7 +1071,11 @@ exports.default = {
991
1071
  requestBody: {
992
1072
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest",
993
1073
  },
994
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1074
+ security: [
1075
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1076
+ { apiKeyQuery: [] },
1077
+ { apiKeyHeader: [] },
1078
+ ],
995
1079
  tags: ["projects"],
996
1080
  },
997
1081
  parameters: [
@@ -1011,7 +1095,7 @@ exports.default = {
1011
1095
  description: "Looks up user accounts within a project or a tenant based on conditions in the request.",
1012
1096
  operationId: "identitytoolkit.projects.accounts.query",
1013
1097
  responses: {
1014
- 200: {
1098
+ "200": {
1015
1099
  description: "Successful response",
1016
1100
  content: {
1017
1101
  "*/*": {
@@ -1037,7 +1121,8 @@ exports.default = {
1037
1121
  security: [
1038
1122
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1039
1123
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
1040
- { apiKey: [] },
1124
+ { apiKeyQuery: [] },
1125
+ { apiKeyHeader: [] },
1041
1126
  ],
1042
1127
  tags: ["projects"],
1043
1128
  },
@@ -1058,7 +1143,7 @@ exports.default = {
1058
1143
  description: "Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it.",
1059
1144
  operationId: "identitytoolkit.projects.accounts.sendOobCode",
1060
1145
  responses: {
1061
- 200: {
1146
+ "200": {
1062
1147
  description: "Successful response",
1063
1148
  content: {
1064
1149
  "*/*": {
@@ -1081,7 +1166,11 @@ exports.default = {
1081
1166
  requestBody: {
1082
1167
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetOobCodeRequest",
1083
1168
  },
1084
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1169
+ security: [
1170
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1171
+ { apiKeyQuery: [] },
1172
+ { apiKeyHeader: [] },
1173
+ ],
1085
1174
  tags: ["projects"],
1086
1175
  },
1087
1176
  parameters: [
@@ -1101,7 +1190,7 @@ exports.default = {
1101
1190
  description: "Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported.",
1102
1191
  operationId: "identitytoolkit.projects.accounts.update",
1103
1192
  responses: {
1104
- 200: {
1193
+ "200": {
1105
1194
  description: "Successful response",
1106
1195
  content: {
1107
1196
  "*/*": {
@@ -1116,7 +1205,7 @@ exports.default = {
1116
1205
  {
1117
1206
  name: "targetProjectId",
1118
1207
  in: "path",
1119
- description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
1208
+ description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
1120
1209
  required: true,
1121
1210
  schema: { type: "string" },
1122
1211
  },
@@ -1124,7 +1213,11 @@ exports.default = {
1124
1213
  requestBody: {
1125
1214
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest",
1126
1215
  },
1127
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1216
+ security: [
1217
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1218
+ { apiKeyQuery: [] },
1219
+ { apiKeyHeader: [] },
1220
+ ],
1128
1221
  tags: ["projects"],
1129
1222
  },
1130
1223
  parameters: [
@@ -1144,7 +1237,7 @@ exports.default = {
1144
1237
  description: "Signs up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. For an admin request with a Google OAuth 2.0 credential with the proper [permissions](https://cloud.google.com/identity-platform/docs/access-control), creates a new anonymous, email and password, or phone number user. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.",
1145
1238
  operationId: "identitytoolkit.projects.tenants.accounts",
1146
1239
  responses: {
1147
- 200: {
1240
+ "200": {
1148
1241
  description: "Successful response",
1149
1242
  content: {
1150
1243
  "*/*": {
@@ -1172,7 +1265,11 @@ exports.default = {
1172
1265
  requestBody: {
1173
1266
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SignUpRequest",
1174
1267
  },
1175
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1268
+ security: [
1269
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1270
+ { apiKeyQuery: [] },
1271
+ { apiKeyHeader: [] },
1272
+ ],
1176
1273
  tags: ["projects"],
1177
1274
  },
1178
1275
  parameters: [
@@ -1192,7 +1289,7 @@ exports.default = {
1192
1289
  description: "Creates a session cookie for the given Identity Platform ID token. The session cookie is used by the client to preserve the user's login state.",
1193
1290
  operationId: "identitytoolkit.projects.tenants.createSessionCookie",
1194
1291
  responses: {
1195
- 200: {
1292
+ "200": {
1196
1293
  description: "Successful response",
1197
1294
  content: {
1198
1295
  "*/*": {
@@ -1222,7 +1319,11 @@ exports.default = {
1222
1319
  requestBody: {
1223
1320
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1CreateSessionCookieRequest",
1224
1321
  },
1225
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1322
+ security: [
1323
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1324
+ { apiKeyQuery: [] },
1325
+ { apiKeyHeader: [] },
1326
+ ],
1226
1327
  tags: ["projects"],
1227
1328
  },
1228
1329
  parameters: [
@@ -1242,7 +1343,7 @@ exports.default = {
1242
1343
  description: "Uploads multiple accounts into the Google Cloud project. If there is a problem uploading one or more of the accounts, the rest will be uploaded, and a list of the errors will be returned. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).",
1243
1344
  operationId: "identitytoolkit.projects.tenants.accounts.batchCreate",
1244
1345
  responses: {
1245
- 200: {
1346
+ "200": {
1246
1347
  description: "Successful response",
1247
1348
  content: {
1248
1349
  "*/*": {
@@ -1275,7 +1376,8 @@ exports.default = {
1275
1376
  security: [
1276
1377
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1277
1378
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
1278
- { apiKey: [] },
1379
+ { apiKeyQuery: [] },
1380
+ { apiKeyHeader: [] },
1279
1381
  ],
1280
1382
  tags: ["projects"],
1281
1383
  },
@@ -1293,10 +1395,10 @@ exports.default = {
1293
1395
  },
1294
1396
  "/v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchDelete": {
1295
1397
  post: {
1296
- description: "Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper permissions. (https://cloud.google.com/identity-platform/docs/access-control)",
1398
+ description: "Batch deletes multiple accounts. For accounts that fail to be deleted, error info is contained in the response. The method ignores accounts that do not exist or are duplicated in the request. This method requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).",
1297
1399
  operationId: "identitytoolkit.projects.tenants.accounts.batchDelete",
1298
1400
  responses: {
1299
- 200: {
1401
+ "200": {
1300
1402
  description: "Successful response",
1301
1403
  content: {
1302
1404
  "*/*": {
@@ -1329,7 +1431,8 @@ exports.default = {
1329
1431
  security: [
1330
1432
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1331
1433
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
1332
- { apiKey: [] },
1434
+ { apiKeyQuery: [] },
1435
+ { apiKeyHeader: [] },
1333
1436
  ],
1334
1437
  tags: ["projects"],
1335
1438
  },
@@ -1350,7 +1453,7 @@ exports.default = {
1350
1453
  description: "Download account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted.",
1351
1454
  operationId: "identitytoolkit.projects.tenants.accounts.batchGet",
1352
1455
  responses: {
1353
- 200: {
1456
+ "200": {
1354
1457
  description: "Successful response",
1355
1458
  content: {
1356
1459
  "*/*": {
@@ -1393,7 +1496,8 @@ exports.default = {
1393
1496
  security: [
1394
1497
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1395
1498
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
1396
- { apiKey: [] },
1499
+ { apiKeyQuery: [] },
1500
+ { apiKeyHeader: [] },
1397
1501
  ],
1398
1502
  tags: ["projects"],
1399
1503
  },
@@ -1414,7 +1518,7 @@ exports.default = {
1414
1518
  description: "Deletes a user's account.",
1415
1519
  operationId: "identitytoolkit.projects.tenants.accounts.delete",
1416
1520
  responses: {
1417
- 200: {
1521
+ "200": {
1418
1522
  description: "Successful response",
1419
1523
  content: {
1420
1524
  "*/*": {
@@ -1444,7 +1548,11 @@ exports.default = {
1444
1548
  requestBody: {
1445
1549
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1DeleteAccountRequest",
1446
1550
  },
1447
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1551
+ security: [
1552
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1553
+ { apiKeyQuery: [] },
1554
+ { apiKeyHeader: [] },
1555
+ ],
1448
1556
  tags: ["projects"],
1449
1557
  },
1450
1558
  parameters: [
@@ -1464,7 +1572,7 @@ exports.default = {
1464
1572
  description: "Gets account information for all matched accounts. For an end user request, retrieves the account of the end user. For an admin request with Google OAuth 2.0 credential, retrieves one or multiple account(s) with matching criteria.",
1465
1573
  operationId: "identitytoolkit.projects.tenants.accounts.lookup",
1466
1574
  responses: {
1467
- 200: {
1575
+ "200": {
1468
1576
  description: "Successful response",
1469
1577
  content: {
1470
1578
  "*/*": {
@@ -1494,7 +1602,11 @@ exports.default = {
1494
1602
  requestBody: {
1495
1603
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetAccountInfoRequest",
1496
1604
  },
1497
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1605
+ security: [
1606
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1607
+ { apiKeyQuery: [] },
1608
+ { apiKeyHeader: [] },
1609
+ ],
1498
1610
  tags: ["projects"],
1499
1611
  },
1500
1612
  parameters: [
@@ -1514,7 +1626,7 @@ exports.default = {
1514
1626
  description: "Looks up user accounts within a project or a tenant based on conditions in the request.",
1515
1627
  operationId: "identitytoolkit.projects.tenants.accounts.query",
1516
1628
  responses: {
1517
- 200: {
1629
+ "200": {
1518
1630
  description: "Successful response",
1519
1631
  content: {
1520
1632
  "*/*": {
@@ -1547,7 +1659,8 @@ exports.default = {
1547
1659
  security: [
1548
1660
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1549
1661
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
1550
- { apiKey: [] },
1662
+ { apiKeyQuery: [] },
1663
+ { apiKeyHeader: [] },
1551
1664
  ],
1552
1665
  tags: ["projects"],
1553
1666
  },
@@ -1568,7 +1681,7 @@ exports.default = {
1568
1681
  description: "Sends an out-of-band confirmation code for an account. Requests from a authenticated request can optionally return a link including the OOB code instead of sending it.",
1569
1682
  operationId: "identitytoolkit.projects.tenants.accounts.sendOobCode",
1570
1683
  responses: {
1571
- 200: {
1684
+ "200": {
1572
1685
  description: "Successful response",
1573
1686
  content: {
1574
1687
  "*/*": {
@@ -1598,7 +1711,11 @@ exports.default = {
1598
1711
  requestBody: {
1599
1712
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1GetOobCodeRequest",
1600
1713
  },
1601
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1714
+ security: [
1715
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1716
+ { apiKeyQuery: [] },
1717
+ { apiKeyHeader: [] },
1718
+ ],
1602
1719
  tags: ["projects"],
1603
1720
  },
1604
1721
  parameters: [
@@ -1618,7 +1735,7 @@ exports.default = {
1618
1735
  description: "Updates account-related information for the specified user by setting specific fields or applying action codes. Requests from administrators and end users are supported.",
1619
1736
  operationId: "identitytoolkit.projects.tenants.accounts.update",
1620
1737
  responses: {
1621
- 200: {
1738
+ "200": {
1622
1739
  description: "Successful response",
1623
1740
  content: {
1624
1741
  "*/*": {
@@ -1633,7 +1750,7 @@ exports.default = {
1633
1750
  {
1634
1751
  name: "targetProjectId",
1635
1752
  in: "path",
1636
- description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
1753
+ description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
1637
1754
  required: true,
1638
1755
  schema: { type: "string" },
1639
1756
  },
@@ -1648,7 +1765,11 @@ exports.default = {
1648
1765
  requestBody: {
1649
1766
  $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitV1SetAccountInfoRequest",
1650
1767
  },
1651
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1768
+ security: [
1769
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1770
+ { apiKeyQuery: [] },
1771
+ { apiKeyHeader: [] },
1772
+ ],
1652
1773
  tags: ["projects"],
1653
1774
  },
1654
1775
  parameters: [
@@ -1668,7 +1789,7 @@ exports.default = {
1668
1789
  description: "Gets a project's public Identity Toolkit configuration. (Legacy) This method also supports authenticated calls from a developer to retrieve non-public configuration.",
1669
1790
  operationId: "identitytoolkit.getProjects",
1670
1791
  responses: {
1671
- 200: {
1792
+ "200": {
1672
1793
  description: "Successful response",
1673
1794
  content: {
1674
1795
  "*/*": {
@@ -1729,7 +1850,11 @@ exports.default = {
1729
1850
  schema: { type: "string" },
1730
1851
  },
1731
1852
  ],
1732
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1853
+ security: [
1854
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1855
+ { apiKeyQuery: [] },
1856
+ { apiKeyHeader: [] },
1857
+ ],
1733
1858
  tags: ["v1"],
1734
1859
  },
1735
1860
  parameters: [
@@ -1749,7 +1874,7 @@ exports.default = {
1749
1874
  description: "Gets parameters needed for generating a reCAPTCHA challenge.",
1750
1875
  operationId: "identitytoolkit.getRecaptchaParams",
1751
1876
  responses: {
1752
- 200: {
1877
+ "200": {
1753
1878
  description: "Successful response",
1754
1879
  content: {
1755
1880
  "*/*": {
@@ -1760,7 +1885,11 @@ exports.default = {
1760
1885
  },
1761
1886
  },
1762
1887
  },
1763
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1888
+ security: [
1889
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1890
+ { apiKeyQuery: [] },
1891
+ { apiKeyHeader: [] },
1892
+ ],
1764
1893
  tags: ["v1"],
1765
1894
  },
1766
1895
  parameters: [
@@ -1780,7 +1909,7 @@ exports.default = {
1780
1909
  description: "Retrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through createSessionCookie.",
1781
1910
  operationId: "identitytoolkit.getSessionCookiePublicKeys",
1782
1911
  responses: {
1783
- 200: {
1912
+ "200": {
1784
1913
  description: "Successful response",
1785
1914
  content: {
1786
1915
  "*/*": {
@@ -1792,7 +1921,7 @@ exports.default = {
1792
1921
  },
1793
1922
  },
1794
1923
  tags: ["v1"],
1795
- security: [{ apiKey: [] }],
1924
+ security: [{ apiKeyQuery: [] }, { apiKeyHeader: [] }],
1796
1925
  },
1797
1926
  parameters: [
1798
1927
  { $ref: "#/components/parameters/access_token" },
@@ -1811,7 +1940,7 @@ exports.default = {
1811
1940
  description: "Finishes enrolling a second factor for the user.",
1812
1941
  operationId: "identitytoolkit.accounts.mfaEnrollment.finalize",
1813
1942
  responses: {
1814
- 200: {
1943
+ "200": {
1815
1944
  description: "Successful response",
1816
1945
  content: {
1817
1946
  "*/*": {
@@ -1831,7 +1960,11 @@ exports.default = {
1831
1960
  },
1832
1961
  },
1833
1962
  },
1834
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1963
+ security: [
1964
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
1965
+ { apiKeyQuery: [] },
1966
+ { apiKeyHeader: [] },
1967
+ ],
1835
1968
  tags: ["accounts"],
1836
1969
  },
1837
1970
  parameters: [
@@ -1851,7 +1984,7 @@ exports.default = {
1851
1984
  description: "Step one of the MFA enrollment process. In SMS case, this sends an SMS verification code to the user.",
1852
1985
  operationId: "identitytoolkit.accounts.mfaEnrollment.start",
1853
1986
  responses: {
1854
- 200: {
1987
+ "200": {
1855
1988
  description: "Successful response",
1856
1989
  content: {
1857
1990
  "*/*": {
@@ -1871,7 +2004,11 @@ exports.default = {
1871
2004
  },
1872
2005
  },
1873
2006
  },
1874
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2007
+ security: [
2008
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2009
+ { apiKeyQuery: [] },
2010
+ { apiKeyHeader: [] },
2011
+ ],
1875
2012
  tags: ["accounts"],
1876
2013
  },
1877
2014
  parameters: [
@@ -1891,7 +2028,7 @@ exports.default = {
1891
2028
  description: "Revokes one second factor from the enrolled second factors for an account.",
1892
2029
  operationId: "identitytoolkit.accounts.mfaEnrollment.withdraw",
1893
2030
  responses: {
1894
- 200: {
2031
+ "200": {
1895
2032
  description: "Successful response",
1896
2033
  content: {
1897
2034
  "*/*": {
@@ -1911,7 +2048,11 @@ exports.default = {
1911
2048
  },
1912
2049
  },
1913
2050
  },
1914
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2051
+ security: [
2052
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2053
+ { apiKeyQuery: [] },
2054
+ { apiKeyHeader: [] },
2055
+ ],
1915
2056
  tags: ["accounts"],
1916
2057
  },
1917
2058
  parameters: [
@@ -1931,7 +2072,7 @@ exports.default = {
1931
2072
  description: "Verifies the MFA challenge and performs sign-in",
1932
2073
  operationId: "identitytoolkit.accounts.mfaSignIn.finalize",
1933
2074
  responses: {
1934
- 200: {
2075
+ "200": {
1935
2076
  description: "Successful response",
1936
2077
  content: {
1937
2078
  "*/*": {
@@ -1951,7 +2092,11 @@ exports.default = {
1951
2092
  },
1952
2093
  },
1953
2094
  },
1954
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2095
+ security: [
2096
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2097
+ { apiKeyQuery: [] },
2098
+ { apiKeyHeader: [] },
2099
+ ],
1955
2100
  tags: ["accounts"],
1956
2101
  },
1957
2102
  parameters: [
@@ -1971,7 +2116,7 @@ exports.default = {
1971
2116
  description: "Sends the MFA challenge",
1972
2117
  operationId: "identitytoolkit.accounts.mfaSignIn.start",
1973
2118
  responses: {
1974
- 200: {
2119
+ "200": {
1975
2120
  description: "Successful response",
1976
2121
  content: {
1977
2122
  "*/*": {
@@ -1991,7 +2136,11 @@ exports.default = {
1991
2136
  },
1992
2137
  },
1993
2138
  },
1994
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2139
+ security: [
2140
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2141
+ { apiKeyQuery: [] },
2142
+ { apiKeyHeader: [] },
2143
+ ],
1995
2144
  tags: ["accounts"],
1996
2145
  },
1997
2146
  parameters: [
@@ -2011,7 +2160,7 @@ exports.default = {
2011
2160
  description: "List all default supported Idps.",
2012
2161
  operationId: "identitytoolkit.defaultSupportedIdps.list",
2013
2162
  responses: {
2014
- 200: {
2163
+ "200": {
2015
2164
  description: "Successful response",
2016
2165
  content: {
2017
2166
  "*/*": {
@@ -2039,7 +2188,8 @@ exports.default = {
2039
2188
  security: [
2040
2189
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2041
2190
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2042
- { apiKey: [] },
2191
+ { apiKeyQuery: [] },
2192
+ { apiKeyHeader: [] },
2043
2193
  ],
2044
2194
  tags: ["defaultSupportedIdps"],
2045
2195
  },
@@ -2060,7 +2210,7 @@ exports.default = {
2060
2210
  description: "Retrieve an Identity Toolkit project configuration.",
2061
2211
  operationId: "identitytoolkit.projects.getConfig",
2062
2212
  responses: {
2063
- 200: {
2213
+ "200": {
2064
2214
  description: "Successful response",
2065
2215
  content: {
2066
2216
  "*/*": {
@@ -2072,14 +2222,18 @@ exports.default = {
2072
2222
  parameters: [
2073
2223
  { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2074
2224
  ],
2075
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2225
+ security: [
2226
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2227
+ { apiKeyQuery: [] },
2228
+ { apiKeyHeader: [] },
2229
+ ],
2076
2230
  tags: ["projects"],
2077
2231
  },
2078
2232
  patch: {
2079
2233
  description: "Update an Identity Toolkit project configuration.",
2080
2234
  operationId: "identitytoolkit.projects.updateConfig",
2081
2235
  responses: {
2082
- 200: {
2236
+ "200": {
2083
2237
  description: "Successful response",
2084
2238
  content: {
2085
2239
  "*/*": {
@@ -2107,7 +2261,8 @@ exports.default = {
2107
2261
  security: [
2108
2262
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2109
2263
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2110
- { apiKey: [] },
2264
+ { apiKeyQuery: [] },
2265
+ { apiKeyHeader: [] },
2111
2266
  ],
2112
2267
  tags: ["projects"],
2113
2268
  },
@@ -2128,7 +2283,7 @@ exports.default = {
2128
2283
  description: "Create a default supported Idp configuration for an Identity Toolkit project.",
2129
2284
  operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.create",
2130
2285
  responses: {
2131
- 200: {
2286
+ "200": {
2132
2287
  description: "Successful response",
2133
2288
  content: {
2134
2289
  "*/*": {
@@ -2154,7 +2309,8 @@ exports.default = {
2154
2309
  security: [
2155
2310
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2156
2311
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2157
- { apiKey: [] },
2312
+ { apiKeyQuery: [] },
2313
+ { apiKeyHeader: [] },
2158
2314
  ],
2159
2315
  tags: ["projects"],
2160
2316
  },
@@ -2162,7 +2318,7 @@ exports.default = {
2162
2318
  description: "List all default supported Idp configurations for an Identity Toolkit project.",
2163
2319
  operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.list",
2164
2320
  responses: {
2165
- 200: {
2321
+ "200": {
2166
2322
  description: "Successful response",
2167
2323
  content: {
2168
2324
  "*/*": {
@@ -2191,7 +2347,8 @@ exports.default = {
2191
2347
  security: [
2192
2348
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2193
2349
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2194
- { apiKey: [] },
2350
+ { apiKeyQuery: [] },
2351
+ { apiKeyHeader: [] },
2195
2352
  ],
2196
2353
  tags: ["projects"],
2197
2354
  },
@@ -2212,7 +2369,7 @@ exports.default = {
2212
2369
  description: "Delete a default supported Idp configuration for an Identity Toolkit project.",
2213
2370
  operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.delete",
2214
2371
  responses: {
2215
- 200: {
2372
+ "200": {
2216
2373
  description: "Successful response",
2217
2374
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2218
2375
  },
@@ -2229,7 +2386,8 @@ exports.default = {
2229
2386
  security: [
2230
2387
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2231
2388
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2232
- { apiKey: [] },
2389
+ { apiKeyQuery: [] },
2390
+ { apiKeyHeader: [] },
2233
2391
  ],
2234
2392
  tags: ["projects"],
2235
2393
  },
@@ -2237,7 +2395,7 @@ exports.default = {
2237
2395
  description: "Retrieve a default supported Idp configuration for an Identity Toolkit project.",
2238
2396
  operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.get",
2239
2397
  responses: {
2240
- 200: {
2398
+ "200": {
2241
2399
  description: "Successful response",
2242
2400
  content: {
2243
2401
  "*/*": {
@@ -2260,7 +2418,8 @@ exports.default = {
2260
2418
  security: [
2261
2419
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2262
2420
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2263
- { apiKey: [] },
2421
+ { apiKeyQuery: [] },
2422
+ { apiKeyHeader: [] },
2264
2423
  ],
2265
2424
  tags: ["projects"],
2266
2425
  },
@@ -2268,7 +2427,7 @@ exports.default = {
2268
2427
  description: "Update a default supported Idp configuration for an Identity Toolkit project.",
2269
2428
  operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.patch",
2270
2429
  responses: {
2271
- 200: {
2430
+ "200": {
2272
2431
  description: "Successful response",
2273
2432
  content: {
2274
2433
  "*/*": {
@@ -2300,7 +2459,55 @@ exports.default = {
2300
2459
  security: [
2301
2460
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2302
2461
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2303
- { apiKey: [] },
2462
+ { apiKeyQuery: [] },
2463
+ { apiKeyHeader: [] },
2464
+ ],
2465
+ tags: ["projects"],
2466
+ },
2467
+ parameters: [
2468
+ { $ref: "#/components/parameters/access_token" },
2469
+ { $ref: "#/components/parameters/alt" },
2470
+ { $ref: "#/components/parameters/callback" },
2471
+ { $ref: "#/components/parameters/fields" },
2472
+ { $ref: "#/components/parameters/oauth_token" },
2473
+ { $ref: "#/components/parameters/prettyPrint" },
2474
+ { $ref: "#/components/parameters/quotaUser" },
2475
+ { $ref: "#/components/parameters/uploadType" },
2476
+ { $ref: "#/components/parameters/upload_protocol" },
2477
+ ],
2478
+ },
2479
+ "/v2/projects/{targetProjectId}/identityPlatform:initializeAuth": {
2480
+ post: {
2481
+ description: "Initialize Identity Platform for a Cloud project. Identity Platform is an end-to-end authentication system for third-party users to access your apps and services. These could include mobile/web apps, games, APIs and beyond. This is the publicly available variant of EnableIdentityPlatform that is only available to billing-enabled projects.",
2482
+ operationId: "identitytoolkit.projects.identityPlatform.initializeAuth",
2483
+ responses: {
2484
+ "200": {
2485
+ description: "Successful response",
2486
+ content: {
2487
+ "*/*": {
2488
+ schema: {
2489
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse",
2490
+ },
2491
+ },
2492
+ },
2493
+ },
2494
+ },
2495
+ parameters: [
2496
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2497
+ ],
2498
+ requestBody: {
2499
+ content: {
2500
+ "application/json": {
2501
+ schema: {
2502
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest",
2503
+ },
2504
+ },
2505
+ },
2506
+ },
2507
+ security: [
2508
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2509
+ { apiKeyQuery: [] },
2510
+ { apiKeyHeader: [] },
2304
2511
  ],
2305
2512
  tags: ["projects"],
2306
2513
  },
@@ -2321,7 +2528,7 @@ exports.default = {
2321
2528
  description: "Create an inbound SAML configuration for an Identity Toolkit project.",
2322
2529
  operationId: "identitytoolkit.projects.inboundSamlConfigs.create",
2323
2530
  responses: {
2324
- 200: {
2531
+ "200": {
2325
2532
  description: "Successful response",
2326
2533
  content: {
2327
2534
  "*/*": {
@@ -2347,7 +2554,8 @@ exports.default = {
2347
2554
  security: [
2348
2555
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2349
2556
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2350
- { apiKey: [] },
2557
+ { apiKeyQuery: [] },
2558
+ { apiKeyHeader: [] },
2351
2559
  ],
2352
2560
  tags: ["projects"],
2353
2561
  },
@@ -2355,7 +2563,7 @@ exports.default = {
2355
2563
  description: "List all inbound SAML configurations for an Identity Toolkit project.",
2356
2564
  operationId: "identitytoolkit.projects.inboundSamlConfigs.list",
2357
2565
  responses: {
2358
- 200: {
2566
+ "200": {
2359
2567
  description: "Successful response",
2360
2568
  content: {
2361
2569
  "*/*": {
@@ -2384,7 +2592,8 @@ exports.default = {
2384
2592
  security: [
2385
2593
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2386
2594
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2387
- { apiKey: [] },
2595
+ { apiKeyQuery: [] },
2596
+ { apiKeyHeader: [] },
2388
2597
  ],
2389
2598
  tags: ["projects"],
2390
2599
  },
@@ -2405,7 +2614,7 @@ exports.default = {
2405
2614
  description: "Delete an inbound SAML configuration for an Identity Toolkit project.",
2406
2615
  operationId: "identitytoolkit.projects.inboundSamlConfigs.delete",
2407
2616
  responses: {
2408
- 200: {
2617
+ "200": {
2409
2618
  description: "Successful response",
2410
2619
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2411
2620
  },
@@ -2417,7 +2626,8 @@ exports.default = {
2417
2626
  security: [
2418
2627
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2419
2628
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2420
- { apiKey: [] },
2629
+ { apiKeyQuery: [] },
2630
+ { apiKeyHeader: [] },
2421
2631
  ],
2422
2632
  tags: ["projects"],
2423
2633
  },
@@ -2425,7 +2635,7 @@ exports.default = {
2425
2635
  description: "Retrieve an inbound SAML configuration for an Identity Toolkit project.",
2426
2636
  operationId: "identitytoolkit.projects.inboundSamlConfigs.get",
2427
2637
  responses: {
2428
- 200: {
2638
+ "200": {
2429
2639
  description: "Successful response",
2430
2640
  content: {
2431
2641
  "*/*": {
@@ -2443,7 +2653,8 @@ exports.default = {
2443
2653
  security: [
2444
2654
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2445
2655
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2446
- { apiKey: [] },
2656
+ { apiKeyQuery: [] },
2657
+ { apiKeyHeader: [] },
2447
2658
  ],
2448
2659
  tags: ["projects"],
2449
2660
  },
@@ -2451,7 +2662,7 @@ exports.default = {
2451
2662
  description: "Update an inbound SAML configuration for an Identity Toolkit project.",
2452
2663
  operationId: "identitytoolkit.projects.inboundSamlConfigs.patch",
2453
2664
  responses: {
2454
- 200: {
2665
+ "200": {
2455
2666
  description: "Successful response",
2456
2667
  content: {
2457
2668
  "*/*": {
@@ -2478,7 +2689,8 @@ exports.default = {
2478
2689
  security: [
2479
2690
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2480
2691
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2481
- { apiKey: [] },
2692
+ { apiKeyQuery: [] },
2693
+ { apiKeyHeader: [] },
2482
2694
  ],
2483
2695
  tags: ["projects"],
2484
2696
  },
@@ -2499,7 +2711,7 @@ exports.default = {
2499
2711
  description: "Create an Oidc Idp configuration for an Identity Toolkit project.",
2500
2712
  operationId: "identitytoolkit.projects.oauthIdpConfigs.create",
2501
2713
  responses: {
2502
- 200: {
2714
+ "200": {
2503
2715
  description: "Successful response",
2504
2716
  content: {
2505
2717
  "*/*": {
@@ -2525,7 +2737,8 @@ exports.default = {
2525
2737
  security: [
2526
2738
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2527
2739
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2528
- { apiKey: [] },
2740
+ { apiKeyQuery: [] },
2741
+ { apiKeyHeader: [] },
2529
2742
  ],
2530
2743
  tags: ["projects"],
2531
2744
  },
@@ -2533,7 +2746,7 @@ exports.default = {
2533
2746
  description: "List all Oidc Idp configurations for an Identity Toolkit project.",
2534
2747
  operationId: "identitytoolkit.projects.oauthIdpConfigs.list",
2535
2748
  responses: {
2536
- 200: {
2749
+ "200": {
2537
2750
  description: "Successful response",
2538
2751
  content: {
2539
2752
  "*/*": {
@@ -2562,7 +2775,8 @@ exports.default = {
2562
2775
  security: [
2563
2776
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2564
2777
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2565
- { apiKey: [] },
2778
+ { apiKeyQuery: [] },
2779
+ { apiKeyHeader: [] },
2566
2780
  ],
2567
2781
  tags: ["projects"],
2568
2782
  },
@@ -2583,7 +2797,7 @@ exports.default = {
2583
2797
  description: "Delete an Oidc Idp configuration for an Identity Toolkit project.",
2584
2798
  operationId: "identitytoolkit.projects.oauthIdpConfigs.delete",
2585
2799
  responses: {
2586
- 200: {
2800
+ "200": {
2587
2801
  description: "Successful response",
2588
2802
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2589
2803
  },
@@ -2595,7 +2809,8 @@ exports.default = {
2595
2809
  security: [
2596
2810
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2597
2811
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2598
- { apiKey: [] },
2812
+ { apiKeyQuery: [] },
2813
+ { apiKeyHeader: [] },
2599
2814
  ],
2600
2815
  tags: ["projects"],
2601
2816
  },
@@ -2603,7 +2818,7 @@ exports.default = {
2603
2818
  description: "Retrieve an Oidc Idp configuration for an Identity Toolkit project.",
2604
2819
  operationId: "identitytoolkit.projects.oauthIdpConfigs.get",
2605
2820
  responses: {
2606
- 200: {
2821
+ "200": {
2607
2822
  description: "Successful response",
2608
2823
  content: {
2609
2824
  "*/*": {
@@ -2621,7 +2836,8 @@ exports.default = {
2621
2836
  security: [
2622
2837
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2623
2838
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2624
- { apiKey: [] },
2839
+ { apiKeyQuery: [] },
2840
+ { apiKeyHeader: [] },
2625
2841
  ],
2626
2842
  tags: ["projects"],
2627
2843
  },
@@ -2629,7 +2845,7 @@ exports.default = {
2629
2845
  description: "Update an Oidc Idp configuration for an Identity Toolkit project.",
2630
2846
  operationId: "identitytoolkit.projects.oauthIdpConfigs.patch",
2631
2847
  responses: {
2632
- 200: {
2848
+ "200": {
2633
2849
  description: "Successful response",
2634
2850
  content: {
2635
2851
  "*/*": {
@@ -2656,7 +2872,8 @@ exports.default = {
2656
2872
  security: [
2657
2873
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2658
2874
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2659
- { apiKey: [] },
2875
+ { apiKeyQuery: [] },
2876
+ { apiKeyHeader: [] },
2660
2877
  ],
2661
2878
  tags: ["projects"],
2662
2879
  },
@@ -2677,7 +2894,7 @@ exports.default = {
2677
2894
  description: "Create a tenant. Requires write permission on the Agent project.",
2678
2895
  operationId: "identitytoolkit.projects.tenants.create",
2679
2896
  responses: {
2680
- 200: {
2897
+ "200": {
2681
2898
  description: "Successful response",
2682
2899
  content: {
2683
2900
  "*/*": {
@@ -2693,7 +2910,8 @@ exports.default = {
2693
2910
  security: [
2694
2911
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2695
2912
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2696
- { apiKey: [] },
2913
+ { apiKeyQuery: [] },
2914
+ { apiKeyHeader: [] },
2697
2915
  ],
2698
2916
  tags: ["projects"],
2699
2917
  },
@@ -2701,7 +2919,7 @@ exports.default = {
2701
2919
  description: "List tenants under the given agent project. Requires read permission on the Agent project.",
2702
2920
  operationId: "identitytoolkit.projects.tenants.list",
2703
2921
  responses: {
2704
- 200: {
2922
+ "200": {
2705
2923
  description: "Successful response",
2706
2924
  content: {
2707
2925
  "*/*": {
@@ -2730,7 +2948,8 @@ exports.default = {
2730
2948
  security: [
2731
2949
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2732
2950
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2733
- { apiKey: [] },
2951
+ { apiKeyQuery: [] },
2952
+ { apiKeyHeader: [] },
2734
2953
  ],
2735
2954
  tags: ["projects"],
2736
2955
  },
@@ -2751,7 +2970,7 @@ exports.default = {
2751
2970
  description: "Delete a tenant. Requires write permission on the Agent project.",
2752
2971
  operationId: "identitytoolkit.projects.tenants.delete",
2753
2972
  responses: {
2754
- 200: {
2973
+ "200": {
2755
2974
  description: "Successful response",
2756
2975
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2757
2976
  },
@@ -2763,7 +2982,8 @@ exports.default = {
2763
2982
  security: [
2764
2983
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2765
2984
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2766
- { apiKey: [] },
2985
+ { apiKeyQuery: [] },
2986
+ { apiKeyHeader: [] },
2767
2987
  ],
2768
2988
  tags: ["projects"],
2769
2989
  },
@@ -2771,7 +2991,7 @@ exports.default = {
2771
2991
  description: "Get a tenant. Requires read permission on the Tenant resource.",
2772
2992
  operationId: "identitytoolkit.projects.tenants.get",
2773
2993
  responses: {
2774
- 200: {
2994
+ "200": {
2775
2995
  description: "Successful response",
2776
2996
  content: {
2777
2997
  "*/*": {
@@ -2787,7 +3007,8 @@ exports.default = {
2787
3007
  security: [
2788
3008
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2789
3009
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2790
- { apiKey: [] },
3010
+ { apiKeyQuery: [] },
3011
+ { apiKeyHeader: [] },
2791
3012
  ],
2792
3013
  tags: ["projects"],
2793
3014
  },
@@ -2795,7 +3016,7 @@ exports.default = {
2795
3016
  description: "Update a tenant. Requires write permission on the Tenant resource.",
2796
3017
  operationId: "identitytoolkit.projects.tenants.patch",
2797
3018
  responses: {
2798
- 200: {
3019
+ "200": {
2799
3020
  description: "Successful response",
2800
3021
  content: {
2801
3022
  "*/*": {
@@ -2818,7 +3039,8 @@ exports.default = {
2818
3039
  security: [
2819
3040
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2820
3041
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2821
- { apiKey: [] },
3042
+ { apiKeyQuery: [] },
3043
+ { apiKeyHeader: [] },
2822
3044
  ],
2823
3045
  tags: ["projects"],
2824
3046
  },
@@ -2839,7 +3061,7 @@ exports.default = {
2839
3061
  description: "Gets the access control policy for a resource. An error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Caller must have the right Google IAM permission on the resource.",
2840
3062
  operationId: "identitytoolkit.projects.tenants.getIamPolicy",
2841
3063
  responses: {
2842
- 200: {
3064
+ "200": {
2843
3065
  description: "Successful response",
2844
3066
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
2845
3067
  },
@@ -2858,7 +3080,8 @@ exports.default = {
2858
3080
  security: [
2859
3081
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2860
3082
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2861
- { apiKey: [] },
3083
+ { apiKeyQuery: [] },
3084
+ { apiKeyHeader: [] },
2862
3085
  ],
2863
3086
  tags: ["projects"],
2864
3087
  },
@@ -2879,7 +3102,7 @@ exports.default = {
2879
3102
  description: "Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource.",
2880
3103
  operationId: "identitytoolkit.projects.tenants.setIamPolicy",
2881
3104
  responses: {
2882
- 200: {
3105
+ "200": {
2883
3106
  description: "Successful response",
2884
3107
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
2885
3108
  },
@@ -2898,7 +3121,8 @@ exports.default = {
2898
3121
  security: [
2899
3122
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2900
3123
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2901
- { apiKey: [] },
3124
+ { apiKeyQuery: [] },
3125
+ { apiKeyHeader: [] },
2902
3126
  ],
2903
3127
  tags: ["projects"],
2904
3128
  },
@@ -2919,7 +3143,7 @@ exports.default = {
2919
3143
  description: "Returns the caller's permissions on a resource. An error is returned if the resource does not exist. A caller is not required to have Google IAM permission to make this request.",
2920
3144
  operationId: "identitytoolkit.projects.tenants.testIamPermissions",
2921
3145
  responses: {
2922
- 200: {
3146
+ "200": {
2923
3147
  description: "Successful response",
2924
3148
  content: {
2925
3149
  "*/*": {
@@ -2942,7 +3166,8 @@ exports.default = {
2942
3166
  security: [
2943
3167
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2944
3168
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2945
- { apiKey: [] },
3169
+ { apiKeyQuery: [] },
3170
+ { apiKeyHeader: [] },
2946
3171
  ],
2947
3172
  tags: ["projects"],
2948
3173
  },
@@ -2963,7 +3188,7 @@ exports.default = {
2963
3188
  description: "Create a default supported Idp configuration for an Identity Toolkit project.",
2964
3189
  operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.create",
2965
3190
  responses: {
2966
- 200: {
3191
+ "200": {
2967
3192
  description: "Successful response",
2968
3193
  content: {
2969
3194
  "*/*": {
@@ -2990,7 +3215,8 @@ exports.default = {
2990
3215
  security: [
2991
3216
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2992
3217
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2993
- { apiKey: [] },
3218
+ { apiKeyQuery: [] },
3219
+ { apiKeyHeader: [] },
2994
3220
  ],
2995
3221
  tags: ["projects"],
2996
3222
  },
@@ -2998,7 +3224,7 @@ exports.default = {
2998
3224
  description: "List all default supported Idp configurations for an Identity Toolkit project.",
2999
3225
  operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.list",
3000
3226
  responses: {
3001
- 200: {
3227
+ "200": {
3002
3228
  description: "Successful response",
3003
3229
  content: {
3004
3230
  "*/*": {
@@ -3028,7 +3254,8 @@ exports.default = {
3028
3254
  security: [
3029
3255
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3030
3256
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3031
- { apiKey: [] },
3257
+ { apiKeyQuery: [] },
3258
+ { apiKeyHeader: [] },
3032
3259
  ],
3033
3260
  tags: ["projects"],
3034
3261
  },
@@ -3049,7 +3276,7 @@ exports.default = {
3049
3276
  description: "Delete a default supported Idp configuration for an Identity Toolkit project.",
3050
3277
  operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.delete",
3051
3278
  responses: {
3052
- 200: {
3279
+ "200": {
3053
3280
  description: "Successful response",
3054
3281
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
3055
3282
  },
@@ -3067,7 +3294,8 @@ exports.default = {
3067
3294
  security: [
3068
3295
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3069
3296
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3070
- { apiKey: [] },
3297
+ { apiKeyQuery: [] },
3298
+ { apiKeyHeader: [] },
3071
3299
  ],
3072
3300
  tags: ["projects"],
3073
3301
  },
@@ -3075,7 +3303,7 @@ exports.default = {
3075
3303
  description: "Retrieve a default supported Idp configuration for an Identity Toolkit project.",
3076
3304
  operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.get",
3077
3305
  responses: {
3078
- 200: {
3306
+ "200": {
3079
3307
  description: "Successful response",
3080
3308
  content: {
3081
3309
  "*/*": {
@@ -3099,7 +3327,8 @@ exports.default = {
3099
3327
  security: [
3100
3328
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3101
3329
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3102
- { apiKey: [] },
3330
+ { apiKeyQuery: [] },
3331
+ { apiKeyHeader: [] },
3103
3332
  ],
3104
3333
  tags: ["projects"],
3105
3334
  },
@@ -3107,7 +3336,7 @@ exports.default = {
3107
3336
  description: "Update a default supported Idp configuration for an Identity Toolkit project.",
3108
3337
  operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.patch",
3109
3338
  responses: {
3110
- 200: {
3339
+ "200": {
3111
3340
  description: "Successful response",
3112
3341
  content: {
3113
3342
  "*/*": {
@@ -3140,7 +3369,8 @@ exports.default = {
3140
3369
  security: [
3141
3370
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3142
3371
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3143
- { apiKey: [] },
3372
+ { apiKeyQuery: [] },
3373
+ { apiKeyHeader: [] },
3144
3374
  ],
3145
3375
  tags: ["projects"],
3146
3376
  },
@@ -3161,7 +3391,7 @@ exports.default = {
3161
3391
  description: "Create an inbound SAML configuration for an Identity Toolkit project.",
3162
3392
  operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.create",
3163
3393
  responses: {
3164
- 200: {
3394
+ "200": {
3165
3395
  description: "Successful response",
3166
3396
  content: {
3167
3397
  "*/*": {
@@ -3188,7 +3418,8 @@ exports.default = {
3188
3418
  security: [
3189
3419
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3190
3420
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3191
- { apiKey: [] },
3421
+ { apiKeyQuery: [] },
3422
+ { apiKeyHeader: [] },
3192
3423
  ],
3193
3424
  tags: ["projects"],
3194
3425
  },
@@ -3196,7 +3427,7 @@ exports.default = {
3196
3427
  description: "List all inbound SAML configurations for an Identity Toolkit project.",
3197
3428
  operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.list",
3198
3429
  responses: {
3199
- 200: {
3430
+ "200": {
3200
3431
  description: "Successful response",
3201
3432
  content: {
3202
3433
  "*/*": {
@@ -3226,7 +3457,8 @@ exports.default = {
3226
3457
  security: [
3227
3458
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3228
3459
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3229
- { apiKey: [] },
3460
+ { apiKeyQuery: [] },
3461
+ { apiKeyHeader: [] },
3230
3462
  ],
3231
3463
  tags: ["projects"],
3232
3464
  },
@@ -3247,7 +3479,7 @@ exports.default = {
3247
3479
  description: "Delete an inbound SAML configuration for an Identity Toolkit project.",
3248
3480
  operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.delete",
3249
3481
  responses: {
3250
- 200: {
3482
+ "200": {
3251
3483
  description: "Successful response",
3252
3484
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
3253
3485
  },
@@ -3260,7 +3492,8 @@ exports.default = {
3260
3492
  security: [
3261
3493
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3262
3494
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3263
- { apiKey: [] },
3495
+ { apiKeyQuery: [] },
3496
+ { apiKeyHeader: [] },
3264
3497
  ],
3265
3498
  tags: ["projects"],
3266
3499
  },
@@ -3268,7 +3501,7 @@ exports.default = {
3268
3501
  description: "Retrieve an inbound SAML configuration for an Identity Toolkit project.",
3269
3502
  operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.get",
3270
3503
  responses: {
3271
- 200: {
3504
+ "200": {
3272
3505
  description: "Successful response",
3273
3506
  content: {
3274
3507
  "*/*": {
@@ -3287,7 +3520,8 @@ exports.default = {
3287
3520
  security: [
3288
3521
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3289
3522
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3290
- { apiKey: [] },
3523
+ { apiKeyQuery: [] },
3524
+ { apiKeyHeader: [] },
3291
3525
  ],
3292
3526
  tags: ["projects"],
3293
3527
  },
@@ -3295,7 +3529,7 @@ exports.default = {
3295
3529
  description: "Update an inbound SAML configuration for an Identity Toolkit project.",
3296
3530
  operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.patch",
3297
3531
  responses: {
3298
- 200: {
3532
+ "200": {
3299
3533
  description: "Successful response",
3300
3534
  content: {
3301
3535
  "*/*": {
@@ -3323,7 +3557,8 @@ exports.default = {
3323
3557
  security: [
3324
3558
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3325
3559
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3326
- { apiKey: [] },
3560
+ { apiKeyQuery: [] },
3561
+ { apiKeyHeader: [] },
3327
3562
  ],
3328
3563
  tags: ["projects"],
3329
3564
  },
@@ -3344,7 +3579,7 @@ exports.default = {
3344
3579
  description: "Create an Oidc Idp configuration for an Identity Toolkit project.",
3345
3580
  operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.create",
3346
3581
  responses: {
3347
- 200: {
3582
+ "200": {
3348
3583
  description: "Successful response",
3349
3584
  content: {
3350
3585
  "*/*": {
@@ -3371,7 +3606,8 @@ exports.default = {
3371
3606
  security: [
3372
3607
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3373
3608
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3374
- { apiKey: [] },
3609
+ { apiKeyQuery: [] },
3610
+ { apiKeyHeader: [] },
3375
3611
  ],
3376
3612
  tags: ["projects"],
3377
3613
  },
@@ -3379,7 +3615,7 @@ exports.default = {
3379
3615
  description: "List all Oidc Idp configurations for an Identity Toolkit project.",
3380
3616
  operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.list",
3381
3617
  responses: {
3382
- 200: {
3618
+ "200": {
3383
3619
  description: "Successful response",
3384
3620
  content: {
3385
3621
  "*/*": {
@@ -3409,7 +3645,8 @@ exports.default = {
3409
3645
  security: [
3410
3646
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3411
3647
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3412
- { apiKey: [] },
3648
+ { apiKeyQuery: [] },
3649
+ { apiKeyHeader: [] },
3413
3650
  ],
3414
3651
  tags: ["projects"],
3415
3652
  },
@@ -3430,7 +3667,7 @@ exports.default = {
3430
3667
  description: "Delete an Oidc Idp configuration for an Identity Toolkit project.",
3431
3668
  operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.delete",
3432
3669
  responses: {
3433
- 200: {
3670
+ "200": {
3434
3671
  description: "Successful response",
3435
3672
  content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
3436
3673
  },
@@ -3443,7 +3680,8 @@ exports.default = {
3443
3680
  security: [
3444
3681
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3445
3682
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3446
- { apiKey: [] },
3683
+ { apiKeyQuery: [] },
3684
+ { apiKeyHeader: [] },
3447
3685
  ],
3448
3686
  tags: ["projects"],
3449
3687
  },
@@ -3451,7 +3689,7 @@ exports.default = {
3451
3689
  description: "Retrieve an Oidc Idp configuration for an Identity Toolkit project.",
3452
3690
  operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.get",
3453
3691
  responses: {
3454
- 200: {
3692
+ "200": {
3455
3693
  description: "Successful response",
3456
3694
  content: {
3457
3695
  "*/*": {
@@ -3470,7 +3708,8 @@ exports.default = {
3470
3708
  security: [
3471
3709
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3472
3710
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3473
- { apiKey: [] },
3711
+ { apiKeyQuery: [] },
3712
+ { apiKeyHeader: [] },
3474
3713
  ],
3475
3714
  tags: ["projects"],
3476
3715
  },
@@ -3478,7 +3717,7 @@ exports.default = {
3478
3717
  description: "Update an Oidc Idp configuration for an Identity Toolkit project.",
3479
3718
  operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.patch",
3480
3719
  responses: {
3481
- 200: {
3720
+ "200": {
3482
3721
  description: "Successful response",
3483
3722
  content: {
3484
3723
  "*/*": {
@@ -3506,7 +3745,8 @@ exports.default = {
3506
3745
  security: [
3507
3746
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3508
3747
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3509
- { apiKey: [] },
3748
+ { apiKeyQuery: [] },
3749
+ { apiKeyHeader: [] },
3510
3750
  ],
3511
3751
  tags: ["projects"],
3512
3752
  },
@@ -3527,7 +3767,7 @@ exports.default = {
3527
3767
  description: "The Token Service API lets you exchange either an ID token or a refresh token for an access token and a new refresh token. You can use the access token to securely call APIs that require user authorization.",
3528
3768
  operationId: "securetoken.token",
3529
3769
  responses: {
3530
- 200: {
3770
+ "200": {
3531
3771
  description: "Successful response",
3532
3772
  content: { "*/*": { schema: { $ref: "#/components/schemas/GrantTokenResponse" } } },
3533
3773
  },
@@ -3541,7 +3781,7 @@ exports.default = {
3541
3781
  },
3542
3782
  },
3543
3783
  tags: ["secureToken"],
3544
- security: [{ apiKey: [] }],
3784
+ security: [{ apiKeyQuery: [] }, { apiKeyHeader: [] }],
3545
3785
  },
3546
3786
  parameters: [
3547
3787
  { $ref: "#/components/parameters/access_token" },
@@ -3571,7 +3811,7 @@ exports.default = {
3571
3811
  description: "Remove all accounts in the project, regardless of state.",
3572
3812
  operationId: "emulator.projects.accounts.delete",
3573
3813
  responses: {
3574
- 200: {
3814
+ "200": {
3575
3815
  description: "Successful response",
3576
3816
  content: { "application/json": { schema: { type: "object" } } },
3577
3817
  },
@@ -3602,7 +3842,7 @@ exports.default = {
3602
3842
  description: "Remove all accounts in the project, regardless of state.",
3603
3843
  operationId: "emulator.projects.accounts.delete",
3604
3844
  responses: {
3605
- 200: {
3845
+ "200": {
3606
3846
  description: "Successful response",
3607
3847
  content: { "application/json": { schema: { type: "object" } } },
3608
3848
  },
@@ -3626,7 +3866,7 @@ exports.default = {
3626
3866
  description: "Get emulator-specific configuration for the project.",
3627
3867
  operationId: "emulator.projects.config.get",
3628
3868
  responses: {
3629
- 200: {
3869
+ "200": {
3630
3870
  description: "Successful response",
3631
3871
  content: {
3632
3872
  "application/json": {
@@ -3649,7 +3889,7 @@ exports.default = {
3649
3889
  },
3650
3890
  },
3651
3891
  responses: {
3652
- 200: {
3892
+ "200": {
3653
3893
  description: "Successful response",
3654
3894
  content: {
3655
3895
  "application/json": {
@@ -3677,7 +3917,7 @@ exports.default = {
3677
3917
  description: "List all pending confirmation codes for the project.",
3678
3918
  operationId: "emulator.projects.oobCodes.list",
3679
3919
  responses: {
3680
- 200: {
3920
+ "200": {
3681
3921
  description: "Successful response",
3682
3922
  content: {
3683
3923
  "application/json": {
@@ -3712,7 +3952,7 @@ exports.default = {
3712
3952
  description: "List all pending confirmation codes for the project.",
3713
3953
  operationId: "emulator.projects.oobCodes.list",
3714
3954
  responses: {
3715
- 200: {
3955
+ "200": {
3716
3956
  description: "Successful response",
3717
3957
  content: {
3718
3958
  "application/json": {
@@ -3740,7 +3980,7 @@ exports.default = {
3740
3980
  description: "List all pending phone verification codes for the project.",
3741
3981
  operationId: "emulator.projects.verificationCodes.list",
3742
3982
  responses: {
3743
- 200: {
3983
+ "200": {
3744
3984
  description: "Successful response",
3745
3985
  content: {
3746
3986
  "application/json": {
@@ -3775,7 +4015,7 @@ exports.default = {
3775
4015
  description: "List all pending phone verification codes for the project.",
3776
4016
  operationId: "emulator.projects.verificationCodes.list",
3777
4017
  responses: {
3778
- 200: {
4018
+ "200": {
3779
4019
  description: "Successful response",
3780
4020
  content: {
3781
4021
  "application/json": {
@@ -4692,7 +4932,7 @@ exports.default = {
4692
4932
  type: "string",
4693
4933
  },
4694
4934
  customAttributes: {
4695
- description: "JSON formatted custom attributes to be stored in the Identity Platform ID token. Specifying this field requires a Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control).",
4935
+ description: "JSON formatted custom attributes to be stored in the Identity Platform ID token. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).",
4696
4936
  type: "string",
4697
4937
  },
4698
4938
  delegatedProjectNumber: { format: "int64", type: "string" },
@@ -4730,7 +4970,7 @@ exports.default = {
4730
4970
  type: "string",
4731
4971
  },
4732
4972
  emailVerified: {
4733
- description: "Whether the user's email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control).",
4973
+ description: "Whether the user's email has been verified. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).",
4734
4974
  type: "boolean",
4735
4975
  },
4736
4976
  idToken: {
@@ -4747,7 +4987,7 @@ exports.default = {
4747
4987
  $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1ProviderUserInfo",
4748
4988
  },
4749
4989
  localId: {
4750
- description: "The ID of the user. Specifying this field requires a Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control). For requests from end-users, an ID token should be passed instead.",
4990
+ description: "The ID of the user. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). For requests from end-users, an ID token should be passed instead.",
4751
4991
  type: "string",
4752
4992
  },
4753
4993
  mfa: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1MfaInfo" },
@@ -4777,7 +5017,7 @@ exports.default = {
4777
5017
  type: "boolean",
4778
5018
  },
4779
5019
  targetProjectId: {
4780
- description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper permissions (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
5020
+ description: "The project ID for the project that the account belongs to. Specifying this field requires Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control). Requests from end users should pass an Identity Platform ID token instead.",
4781
5021
  type: "string",
4782
5022
  },
4783
5023
  tenantId: {
@@ -5492,11 +5732,7 @@ exports.default = {
5492
5732
  format: "int32",
5493
5733
  type: "integer",
5494
5734
  },
5495
- delegatedProjectNumber: {
5496
- description: "If true, the service will do the following list of checks before an account is uploaded: * Duplicate emails * Duplicate federated IDs * Federated ID provider validation If the duplication exists within the list of accounts to be uploaded, it will prevent the entire list from being uploaded. If the email or federated ID is a duplicate of a user already within the project/tenant, the account will not be uploaded, but the rest of the accounts will be unaffected. If false, these checks will be skipped.",
5497
- format: "int64",
5498
- type: "string",
5499
- },
5735
+ delegatedProjectNumber: { format: "int64", type: "string" },
5500
5736
  dkLen: {
5501
5737
  description: "The desired key length for the STANDARD_SCRYPT hashing function. Must be at least 1.",
5502
5738
  format: "int32",
@@ -5531,7 +5767,10 @@ exports.default = {
5531
5767
  format: "byte",
5532
5768
  type: "string",
5533
5769
  },
5534
- sanityCheck: { type: "boolean" },
5770
+ sanityCheck: {
5771
+ description: "If true, the service will do the following list of checks before an account is uploaded: * Duplicate emails * Duplicate federated IDs * Federated ID provider validation If the duplication exists within the list of accounts to be uploaded, it will prevent the entire list from being uploaded. If the email or federated ID is a duplicate of a user already within the project/tenant, the account will not be uploaded, but the rest of the accounts will be unaffected. If false, these checks will be skipped.",
5772
+ type: "boolean",
5773
+ },
5535
5774
  signerKey: {
5536
5775
  description: "The signer key used to hash the password. Required for the following hashing functions: * SCRYPT, * HMAC_MD5, * HMAC_SHA1, * HMAC_SHA256, * HMAC_SHA512",
5537
5776
  format: "byte",
@@ -5542,7 +5781,7 @@ exports.default = {
5542
5781
  type: "string",
5543
5782
  },
5544
5783
  users: {
5545
- description: "A list of accounts to upload.",
5784
+ description: "A list of accounts to upload. `local_id` is required for each user; everything else is optional.",
5546
5785
  items: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1UserInfo" },
5547
5786
  type: "array",
5548
5787
  },
@@ -5711,6 +5950,28 @@ exports.default = {
5711
5950
  },
5712
5951
  type: "object",
5713
5952
  },
5953
+ GoogleCloudIdentitytoolkitAdminV2AllowByDefault: {
5954
+ description: "Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.",
5955
+ properties: {
5956
+ disallowedRegions: {
5957
+ description: "Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
5958
+ items: { type: "string" },
5959
+ type: "array",
5960
+ },
5961
+ },
5962
+ type: "object",
5963
+ },
5964
+ GoogleCloudIdentitytoolkitAdminV2AllowlistOnly: {
5965
+ description: "Defines a policy of only allowing regions by explicitly adding them to an allowlist.",
5966
+ properties: {
5967
+ allowedRegions: {
5968
+ description: "Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
5969
+ items: { type: "string" },
5970
+ type: "array",
5971
+ },
5972
+ },
5973
+ type: "object",
5974
+ },
5714
5975
  GoogleCloudIdentitytoolkitAdminV2Anonymous: {
5715
5976
  description: "Configuration options related to authenticating an anonymous user.",
5716
5977
  properties: {
@@ -5770,6 +6031,29 @@ exports.default = {
5770
6031
  },
5771
6032
  type: "object",
5772
6033
  },
6034
+ GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig: {
6035
+ description: "Options related to how clients making requests on behalf of a tenant should be configured.",
6036
+ properties: {
6037
+ permissions: {
6038
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ClientPermissions",
6039
+ },
6040
+ },
6041
+ type: "object",
6042
+ },
6043
+ GoogleCloudIdentitytoolkitAdminV2ClientPermissions: {
6044
+ description: "Configuration related to restricting a user's ability to affect their account.",
6045
+ properties: {
6046
+ disabledUserDeletion: {
6047
+ description: "When true, end users cannot delete their account on the associated project through any of our API methods",
6048
+ type: "boolean",
6049
+ },
6050
+ disabledUserSignup: {
6051
+ description: "When true, end users cannot sign up for a new account on the associated project through any of our API methods",
6052
+ type: "boolean",
6053
+ },
6054
+ },
6055
+ type: "object",
6056
+ },
5773
6057
  GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig: {
5774
6058
  description: "Additional config for Apple for code flow.",
5775
6059
  properties: {
@@ -5790,10 +6074,17 @@ exports.default = {
5790
6074
  items: { type: "string" },
5791
6075
  type: "array",
5792
6076
  },
6077
+ autodeleteAnonymousUsers: {
6078
+ description: "Whether anonymous users will be auto-deleted after a period of 30 days.",
6079
+ type: "boolean",
6080
+ },
5793
6081
  blockingFunctions: {
5794
6082
  $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig",
5795
6083
  },
5796
6084
  client: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ClientConfig" },
6085
+ emailPrivacyConfig: {
6086
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig",
6087
+ },
5797
6088
  mfa: {
5798
6089
  $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
5799
6090
  },
@@ -5813,6 +6104,9 @@ exports.default = {
5813
6104
  },
5814
6105
  quota: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2QuotaConfig" },
5815
6106
  signIn: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SignInConfig" },
6107
+ smsRegionConfig: {
6108
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
6109
+ },
5816
6110
  subtype: {
5817
6111
  description: "Output only. The subtype of this config.",
5818
6112
  enum: ["SUBTYPE_UNSPECIFIED", "IDENTITY_PLATFORM", "FIREBASE_AUTH"],
@@ -5898,6 +6192,16 @@ exports.default = {
5898
6192
  },
5899
6193
  type: "object",
5900
6194
  },
6195
+ GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig: {
6196
+ description: "Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness.",
6197
+ properties: {
6198
+ enableImprovedEmailPrivacy: {
6199
+ description: "Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user's email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy.",
6200
+ type: "boolean",
6201
+ },
6202
+ },
6203
+ type: "object",
6204
+ },
5901
6205
  GoogleCloudIdentitytoolkitAdminV2EmailTemplate: {
5902
6206
  description: "Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The GCP project's display name. %DISPLAY_NAME% - The user's display name.",
5903
6207
  properties: {
@@ -6038,6 +6342,16 @@ exports.default = {
6038
6342
  },
6039
6343
  type: "object",
6040
6344
  },
6345
+ GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest: {
6346
+ description: "Request for InitializeIdentityPlatform.",
6347
+ properties: {},
6348
+ type: "object",
6349
+ },
6350
+ GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse: {
6351
+ description: "Response for InitializeIdentityPlatform. Empty for now.",
6352
+ properties: {},
6353
+ type: "object",
6354
+ },
6041
6355
  GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse: {
6042
6356
  description: "Response for DefaultSupportedIdpConfigs",
6043
6357
  properties: {
@@ -6321,6 +6635,18 @@ exports.default = {
6321
6635
  },
6322
6636
  type: "object",
6323
6637
  },
6638
+ GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig: {
6639
+ description: "Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number.",
6640
+ properties: {
6641
+ allowByDefault: {
6642
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2AllowByDefault",
6643
+ },
6644
+ allowlistOnly: {
6645
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2AllowlistOnly",
6646
+ },
6647
+ },
6648
+ type: "object",
6649
+ },
6324
6650
  GoogleCloudIdentitytoolkitAdminV2SmsTemplate: {
6325
6651
  description: "The template to use when sending an SMS.",
6326
6652
  properties: {
@@ -6405,11 +6731,21 @@ exports.default = {
6405
6731
  description: "Whether to allow email/password user authentication.",
6406
6732
  type: "boolean",
6407
6733
  },
6734
+ autodeleteAnonymousUsers: {
6735
+ description: "Whether anonymous users will be auto-deleted after a period of 30 days.",
6736
+ type: "boolean",
6737
+ },
6738
+ client: {
6739
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig",
6740
+ },
6408
6741
  disableAuth: {
6409
6742
  description: "Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.",
6410
6743
  type: "boolean",
6411
6744
  },
6412
6745
  displayName: { description: "Display name of the tenant.", type: "string" },
6746
+ emailPrivacyConfig: {
6747
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig",
6748
+ },
6413
6749
  enableAnonymousUser: {
6414
6750
  description: "Whether to enable anonymous user authentication.",
6415
6751
  type: "boolean",
@@ -6425,11 +6761,17 @@ exports.default = {
6425
6761
  mfaConfig: {
6426
6762
  $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
6427
6763
  },
6764
+ monitoring: {
6765
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
6766
+ },
6428
6767
  name: {
6429
6768
  description: 'Output only. Resource name of a tenant. For example: "projects/{project-id}/tenants/{tenant-id}"',
6430
6769
  readOnly: true,
6431
6770
  type: "string",
6432
6771
  },
6772
+ smsRegionConfig: {
6773
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
6774
+ },
6433
6775
  testPhoneNumbers: {
6434
6776
  additionalProperties: { type: "string" },
6435
6777
  description: "A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).",
@@ -6712,7 +7054,7 @@ exports.default = {
6712
7054
  properties: {
6713
7055
  condition: { $ref: "#/components/schemas/GoogleTypeExpr" },
6714
7056
  members: {
6715
- description: "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
7057
+ description: "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
6716
7058
  items: { type: "string" },
6717
7059
  type: "array",
6718
7060
  },
@@ -7098,12 +7440,18 @@ exports.default = {
7098
7440
  },
7099
7441
  },
7100
7442
  },
7101
- apiKey: {
7443
+ apiKeyQuery: {
7102
7444
  type: "apiKey",
7103
7445
  name: "key",
7104
7446
  in: "query",
7105
7447
  description: "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
7106
7448
  },
7449
+ apiKeyHeader: {
7450
+ type: "apiKey",
7451
+ name: "x-goog-api-key",
7452
+ in: "header",
7453
+ description: "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
7454
+ },
7107
7455
  },
7108
7456
  },
7109
7457
  };