firebase-tools 9.16.6 → 9.20.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 (82) hide show
  1. package/CHANGELOG.md +1 -3
  2. package/lib/api.js +1 -0
  3. package/lib/apiv2.js +1 -1
  4. package/lib/appdistribution/client.js +84 -72
  5. package/lib/appdistribution/distribution.js +8 -26
  6. package/lib/appdistribution/options-parser-util.js +51 -0
  7. package/lib/command.js +8 -6
  8. package/lib/commands/appdistribution-distribute.js +74 -91
  9. package/lib/commands/appdistribution-testers-add.js +18 -0
  10. package/lib/commands/appdistribution-testers-remove.js +32 -0
  11. package/lib/commands/crashlytics-symbols-upload.js +146 -0
  12. package/lib/commands/ext-configure.js +9 -1
  13. package/lib/commands/ext-dev-extension-delete.js +2 -1
  14. package/lib/commands/ext-dev-init.js +18 -9
  15. package/lib/commands/ext-dev-publish.js +11 -4
  16. package/lib/commands/ext-dev-unpublish.js +2 -1
  17. package/lib/commands/ext-install.js +115 -48
  18. package/lib/commands/ext-uninstall.js +6 -0
  19. package/lib/commands/ext-update.js +67 -43
  20. package/lib/commands/functions-config-export.js +115 -0
  21. package/lib/commands/functions-delete.js +44 -35
  22. package/lib/commands/functions-list.js +54 -0
  23. package/lib/commands/functions-log.js +5 -22
  24. package/lib/commands/hosting-channel-deploy.js +6 -4
  25. package/lib/commands/index.js +12 -0
  26. package/lib/deploy/functions/backend.js +47 -12
  27. package/lib/deploy/functions/containerCleaner.js +5 -1
  28. package/lib/deploy/functions/deploy.js +7 -5
  29. package/lib/deploy/functions/prepare.js +9 -7
  30. package/lib/deploy/functions/prompts.js +3 -21
  31. package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +2 -1
  32. package/lib/deploy/functions/runtimes/index.js +2 -1
  33. package/lib/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.js +4 -3
  34. package/lib/deploy/functions/runtimes/node/parseTriggers.js +14 -9
  35. package/lib/deploy/functions/triggerRegionHelper.js +32 -0
  36. package/lib/downloadUtils.js +37 -0
  37. package/lib/emulator/auth/apiSpec.js +1758 -404
  38. package/lib/emulator/auth/handlers.js +6 -5
  39. package/lib/emulator/auth/operations.js +429 -40
  40. package/lib/emulator/auth/server.js +18 -11
  41. package/lib/emulator/auth/state.js +186 -5
  42. package/lib/emulator/auth/widget_ui.js +2 -2
  43. package/lib/emulator/download.js +2 -31
  44. package/lib/emulator/downloadableEmulators.js +7 -7
  45. package/lib/emulator/emulatorLogger.js +0 -3
  46. package/lib/emulator/events/types.js +16 -0
  47. package/lib/emulator/functionsEmulator.js +102 -17
  48. package/lib/emulator/functionsEmulatorRuntime.js +46 -121
  49. package/lib/emulator/functionsEmulatorShared.js +51 -7
  50. package/lib/emulator/functionsEmulatorShell.js +1 -1
  51. package/lib/emulator/pubsubEmulator.js +61 -40
  52. package/lib/extensions/askUserForConsent.js +16 -13
  53. package/lib/extensions/askUserForParam.js +72 -3
  54. package/lib/extensions/billingMigrationHelper.js +1 -11
  55. package/lib/extensions/changelog.js +93 -0
  56. package/lib/extensions/displayExtensionInfo.js +38 -38
  57. package/lib/extensions/emulator/optionsHelper.js +3 -3
  58. package/lib/extensions/emulator/triggerHelper.js +2 -32
  59. package/lib/extensions/extensionsApi.js +69 -95
  60. package/lib/extensions/extensionsHelper.js +75 -50
  61. package/lib/extensions/paramHelper.js +79 -36
  62. package/lib/extensions/refs.js +59 -0
  63. package/lib/extensions/resolveSource.js +2 -20
  64. package/lib/extensions/secretsUtils.js +58 -0
  65. package/lib/extensions/updateHelper.js +39 -105
  66. package/lib/extensions/warnings.js +1 -7
  67. package/lib/functional.js +64 -0
  68. package/lib/functions/env.js +26 -13
  69. package/lib/functions/functionslog.js +40 -0
  70. package/lib/functions/listFunctions.js +10 -0
  71. package/lib/functions/runtimeConfigExport.js +137 -0
  72. package/lib/gcp/cloudfunctions.js +84 -9
  73. package/lib/gcp/cloudfunctionsv2.js +99 -7
  74. package/lib/gcp/cloudlogging.js +27 -21
  75. package/lib/gcp/secretManager.js +111 -0
  76. package/lib/gcp/storage.js +16 -0
  77. package/lib/previews.js +1 -1
  78. package/lib/requireInteractive.js +12 -0
  79. package/package.json +5 -4
  80. package/schema/firebase-config.json +2 -1
  81. package/templates/extensions/CHANGELOG.md +7 -0
  82. package/templates/init/hosting/index.html +10 -10
@@ -632,149 +632,6 @@ exports.default = {
632
632
  { $ref: "#/components/parameters/upload_protocol" },
633
633
  ],
634
634
  },
635
- "/v1/projects": {
636
- get: {
637
- description: "Gets a project's public Identity Toolkit configuration. (Legacy) This method also supports authenticated calls from a developer to retrieve non-public configuration.",
638
- operationId: "identitytoolkit.getProjects",
639
- responses: {
640
- 200: {
641
- description: "Successful response",
642
- content: {
643
- "*/*": {
644
- schema: {
645
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetProjectConfigResponse",
646
- },
647
- },
648
- },
649
- },
650
- },
651
- parameters: [
652
- {
653
- name: "androidPackageName",
654
- in: "query",
655
- description: "Android package name to check against the real android package name. If this field is provided, and sha1_cert_hash is not provided, the action will throw an error if this does not match the real android package name.",
656
- schema: { type: "string" },
657
- },
658
- {
659
- name: "clientId",
660
- in: "query",
661
- description: "The RP OAuth client ID. If set, a check will be performed to ensure that the OAuth client is valid for the retrieved project and the request rejected with a client error if not valid.",
662
- schema: { type: "string" },
663
- },
664
- {
665
- name: "delegatedProjectNumber",
666
- in: "query",
667
- description: "Project Number of the delegated project request. This field should only be used as part of the Firebase V1 migration.",
668
- schema: { type: "string" },
669
- },
670
- {
671
- name: "firebaseAppId",
672
- in: "query",
673
- description: "The Firebase app ID, for applications that use Firebase. This can be found in the Firebase console for your project. If set, a check will be performed to ensure that the app ID is valid for the retrieved project. If not valid, the request will be rejected with a client error.",
674
- schema: { type: "string" },
675
- },
676
- {
677
- name: "iosBundleId",
678
- in: "query",
679
- description: "iOS bundle id to check against the real ios bundle id. If this field is provided, the action will throw an error if this does not match the real iOS bundle id.",
680
- schema: { type: "string" },
681
- },
682
- {
683
- name: "projectNumber",
684
- in: "query",
685
- description: "Project number of the configuration to retrieve. This field is deprecated and should not be used by new integrations.",
686
- schema: { type: "string" },
687
- },
688
- {
689
- name: "returnDynamicLink",
690
- in: "query",
691
- description: "Whether dynamic link should be returned.",
692
- schema: { type: "boolean" },
693
- },
694
- {
695
- name: "sha1Cert",
696
- in: "query",
697
- description: "SHA-1 Android application cert hash. If set, a check will be performed to ensure that the cert hash is valid for the retrieved project and android_package_name.",
698
- schema: { type: "string" },
699
- },
700
- ],
701
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
702
- tags: ["v1"],
703
- },
704
- parameters: [
705
- { $ref: "#/components/parameters/access_token" },
706
- { $ref: "#/components/parameters/alt" },
707
- { $ref: "#/components/parameters/callback" },
708
- { $ref: "#/components/parameters/fields" },
709
- { $ref: "#/components/parameters/oauth_token" },
710
- { $ref: "#/components/parameters/prettyPrint" },
711
- { $ref: "#/components/parameters/quotaUser" },
712
- { $ref: "#/components/parameters/uploadType" },
713
- { $ref: "#/components/parameters/upload_protocol" },
714
- ],
715
- },
716
- "/v1/recaptchaParams": {
717
- get: {
718
- description: "Gets parameters needed for generating a reCAPTCHA challenge.",
719
- operationId: "identitytoolkit.getRecaptchaParams",
720
- responses: {
721
- 200: {
722
- description: "Successful response",
723
- content: {
724
- "*/*": {
725
- schema: {
726
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse",
727
- },
728
- },
729
- },
730
- },
731
- },
732
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
733
- tags: ["v1"],
734
- },
735
- parameters: [
736
- { $ref: "#/components/parameters/access_token" },
737
- { $ref: "#/components/parameters/alt" },
738
- { $ref: "#/components/parameters/callback" },
739
- { $ref: "#/components/parameters/fields" },
740
- { $ref: "#/components/parameters/oauth_token" },
741
- { $ref: "#/components/parameters/prettyPrint" },
742
- { $ref: "#/components/parameters/quotaUser" },
743
- { $ref: "#/components/parameters/uploadType" },
744
- { $ref: "#/components/parameters/upload_protocol" },
745
- ],
746
- },
747
- "/v1/sessionCookiePublicKeys": {
748
- get: {
749
- 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.",
750
- operationId: "identitytoolkit.getSessionCookiePublicKeys",
751
- responses: {
752
- 200: {
753
- description: "Successful response",
754
- content: {
755
- "*/*": {
756
- schema: {
757
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetSessionCookiePublicKeysResponse",
758
- },
759
- },
760
- },
761
- },
762
- },
763
- tags: ["v1"],
764
- security: [{ apiKey: [] }],
765
- },
766
- parameters: [
767
- { $ref: "#/components/parameters/access_token" },
768
- { $ref: "#/components/parameters/alt" },
769
- { $ref: "#/components/parameters/callback" },
770
- { $ref: "#/components/parameters/fields" },
771
- { $ref: "#/components/parameters/oauth_token" },
772
- { $ref: "#/components/parameters/prettyPrint" },
773
- { $ref: "#/components/parameters/quotaUser" },
774
- { $ref: "#/components/parameters/uploadType" },
775
- { $ref: "#/components/parameters/upload_protocol" },
776
- ],
777
- },
778
635
  "/v1/projects/{targetProjectId}/accounts": {
779
636
  post: {
780
637
  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.",
@@ -1806,33 +1663,74 @@ exports.default = {
1806
1663
  { $ref: "#/components/parameters/upload_protocol" },
1807
1664
  ],
1808
1665
  },
1809
- "/v2/accounts/mfaEnrollment:finalize": {
1810
- post: {
1811
- description: "Finishes enrolling a second factor for the user.",
1812
- operationId: "identitytoolkit.accounts.mfaEnrollment.finalize",
1666
+ "/v1/projects": {
1667
+ get: {
1668
+ 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
+ operationId: "identitytoolkit.getProjects",
1813
1670
  responses: {
1814
1671
  200: {
1815
1672
  description: "Successful response",
1816
1673
  content: {
1817
1674
  "*/*": {
1818
1675
  schema: {
1819
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse",
1676
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetProjectConfigResponse",
1820
1677
  },
1821
1678
  },
1822
1679
  },
1823
1680
  },
1824
1681
  },
1825
- requestBody: {
1826
- content: {
1827
- "application/json": {
1828
- schema: {
1829
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest",
1830
- },
1831
- },
1682
+ parameters: [
1683
+ {
1684
+ name: "androidPackageName",
1685
+ in: "query",
1686
+ description: "Android package name to check against the real android package name. If this field is provided, and sha1_cert_hash is not provided, the action will throw an error if this does not match the real android package name.",
1687
+ schema: { type: "string" },
1832
1688
  },
1833
- },
1689
+ {
1690
+ name: "clientId",
1691
+ in: "query",
1692
+ description: "The RP OAuth client ID. If set, a check will be performed to ensure that the OAuth client is valid for the retrieved project and the request rejected with a client error if not valid.",
1693
+ schema: { type: "string" },
1694
+ },
1695
+ {
1696
+ name: "delegatedProjectNumber",
1697
+ in: "query",
1698
+ description: "Project Number of the delegated project request. This field should only be used as part of the Firebase V1 migration.",
1699
+ schema: { type: "string" },
1700
+ },
1701
+ {
1702
+ name: "firebaseAppId",
1703
+ in: "query",
1704
+ description: "The Firebase app ID, for applications that use Firebase. This can be found in the Firebase console for your project. If set, a check will be performed to ensure that the app ID is valid for the retrieved project. If not valid, the request will be rejected with a client error.",
1705
+ schema: { type: "string" },
1706
+ },
1707
+ {
1708
+ name: "iosBundleId",
1709
+ in: "query",
1710
+ description: "iOS bundle id to check against the real ios bundle id. If this field is provided, the action will throw an error if this does not match the real iOS bundle id.",
1711
+ schema: { type: "string" },
1712
+ },
1713
+ {
1714
+ name: "projectNumber",
1715
+ in: "query",
1716
+ description: "Project number of the configuration to retrieve. This field is deprecated and should not be used by new integrations.",
1717
+ schema: { type: "string" },
1718
+ },
1719
+ {
1720
+ name: "returnDynamicLink",
1721
+ in: "query",
1722
+ description: "Whether dynamic link should be returned.",
1723
+ schema: { type: "boolean" },
1724
+ },
1725
+ {
1726
+ name: "sha1Cert",
1727
+ in: "query",
1728
+ description: "SHA-1 Android application cert hash. If set, a check will be performed to ensure that the cert hash is valid for the retrieved project and android_package_name.",
1729
+ schema: { type: "string" },
1730
+ },
1731
+ ],
1834
1732
  security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1835
- tags: ["accounts"],
1733
+ tags: ["v1"],
1836
1734
  },
1837
1735
  parameters: [
1838
1736
  { $ref: "#/components/parameters/access_token" },
@@ -1846,33 +1744,24 @@ exports.default = {
1846
1744
  { $ref: "#/components/parameters/upload_protocol" },
1847
1745
  ],
1848
1746
  },
1849
- "/v2/accounts/mfaEnrollment:start": {
1850
- post: {
1851
- description: "Step one of the MFA enrollment process. In SMS case, this sends an SMS verification code to the user.",
1852
- operationId: "identitytoolkit.accounts.mfaEnrollment.start",
1747
+ "/v1/recaptchaParams": {
1748
+ get: {
1749
+ description: "Gets parameters needed for generating a reCAPTCHA challenge.",
1750
+ operationId: "identitytoolkit.getRecaptchaParams",
1853
1751
  responses: {
1854
1752
  200: {
1855
1753
  description: "Successful response",
1856
1754
  content: {
1857
1755
  "*/*": {
1858
1756
  schema: {
1859
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse",
1757
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetRecaptchaParamResponse",
1860
1758
  },
1861
1759
  },
1862
1760
  },
1863
1761
  },
1864
1762
  },
1865
- requestBody: {
1866
- content: {
1867
- "application/json": {
1868
- schema: {
1869
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest",
1870
- },
1871
- },
1872
- },
1873
- },
1874
1763
  security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1875
- tags: ["accounts"],
1764
+ tags: ["v1"],
1876
1765
  },
1877
1766
  parameters: [
1878
1767
  { $ref: "#/components/parameters/access_token" },
@@ -1886,33 +1775,144 @@ exports.default = {
1886
1775
  { $ref: "#/components/parameters/upload_protocol" },
1887
1776
  ],
1888
1777
  },
1889
- "/v2/accounts/mfaEnrollment:withdraw": {
1890
- post: {
1891
- description: "Revokes one second factor from the enrolled second factors for an account.",
1892
- operationId: "identitytoolkit.accounts.mfaEnrollment.withdraw",
1778
+ "/v1/sessionCookiePublicKeys": {
1779
+ get: {
1780
+ 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
+ operationId: "identitytoolkit.getSessionCookiePublicKeys",
1893
1782
  responses: {
1894
1783
  200: {
1895
1784
  description: "Successful response",
1896
1785
  content: {
1897
1786
  "*/*": {
1898
1787
  schema: {
1899
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaResponse",
1788
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1GetSessionCookiePublicKeysResponse",
1900
1789
  },
1901
1790
  },
1902
1791
  },
1903
1792
  },
1904
1793
  },
1905
- requestBody: {
1906
- content: {
1907
- "application/json": {
1908
- schema: {
1909
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaRequest",
1910
- },
1911
- },
1912
- },
1913
- },
1914
- security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1915
- tags: ["accounts"],
1794
+ tags: ["v1"],
1795
+ security: [{ apiKey: [] }],
1796
+ },
1797
+ parameters: [
1798
+ { $ref: "#/components/parameters/access_token" },
1799
+ { $ref: "#/components/parameters/alt" },
1800
+ { $ref: "#/components/parameters/callback" },
1801
+ { $ref: "#/components/parameters/fields" },
1802
+ { $ref: "#/components/parameters/oauth_token" },
1803
+ { $ref: "#/components/parameters/prettyPrint" },
1804
+ { $ref: "#/components/parameters/quotaUser" },
1805
+ { $ref: "#/components/parameters/uploadType" },
1806
+ { $ref: "#/components/parameters/upload_protocol" },
1807
+ ],
1808
+ },
1809
+ "/v2/accounts/mfaEnrollment:finalize": {
1810
+ post: {
1811
+ description: "Finishes enrolling a second factor for the user.",
1812
+ operationId: "identitytoolkit.accounts.mfaEnrollment.finalize",
1813
+ responses: {
1814
+ 200: {
1815
+ description: "Successful response",
1816
+ content: {
1817
+ "*/*": {
1818
+ schema: {
1819
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse",
1820
+ },
1821
+ },
1822
+ },
1823
+ },
1824
+ },
1825
+ requestBody: {
1826
+ content: {
1827
+ "application/json": {
1828
+ schema: {
1829
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest",
1830
+ },
1831
+ },
1832
+ },
1833
+ },
1834
+ security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1835
+ tags: ["accounts"],
1836
+ },
1837
+ parameters: [
1838
+ { $ref: "#/components/parameters/access_token" },
1839
+ { $ref: "#/components/parameters/alt" },
1840
+ { $ref: "#/components/parameters/callback" },
1841
+ { $ref: "#/components/parameters/fields" },
1842
+ { $ref: "#/components/parameters/oauth_token" },
1843
+ { $ref: "#/components/parameters/prettyPrint" },
1844
+ { $ref: "#/components/parameters/quotaUser" },
1845
+ { $ref: "#/components/parameters/uploadType" },
1846
+ { $ref: "#/components/parameters/upload_protocol" },
1847
+ ],
1848
+ },
1849
+ "/v2/accounts/mfaEnrollment:start": {
1850
+ post: {
1851
+ description: "Step one of the MFA enrollment process. In SMS case, this sends an SMS verification code to the user.",
1852
+ operationId: "identitytoolkit.accounts.mfaEnrollment.start",
1853
+ responses: {
1854
+ 200: {
1855
+ description: "Successful response",
1856
+ content: {
1857
+ "*/*": {
1858
+ schema: {
1859
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse",
1860
+ },
1861
+ },
1862
+ },
1863
+ },
1864
+ },
1865
+ requestBody: {
1866
+ content: {
1867
+ "application/json": {
1868
+ schema: {
1869
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest",
1870
+ },
1871
+ },
1872
+ },
1873
+ },
1874
+ security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1875
+ tags: ["accounts"],
1876
+ },
1877
+ parameters: [
1878
+ { $ref: "#/components/parameters/access_token" },
1879
+ { $ref: "#/components/parameters/alt" },
1880
+ { $ref: "#/components/parameters/callback" },
1881
+ { $ref: "#/components/parameters/fields" },
1882
+ { $ref: "#/components/parameters/oauth_token" },
1883
+ { $ref: "#/components/parameters/prettyPrint" },
1884
+ { $ref: "#/components/parameters/quotaUser" },
1885
+ { $ref: "#/components/parameters/uploadType" },
1886
+ { $ref: "#/components/parameters/upload_protocol" },
1887
+ ],
1888
+ },
1889
+ "/v2/accounts/mfaEnrollment:withdraw": {
1890
+ post: {
1891
+ description: "Revokes one second factor from the enrolled second factors for an account.",
1892
+ operationId: "identitytoolkit.accounts.mfaEnrollment.withdraw",
1893
+ responses: {
1894
+ 200: {
1895
+ description: "Successful response",
1896
+ content: {
1897
+ "*/*": {
1898
+ schema: {
1899
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaResponse",
1900
+ },
1901
+ },
1902
+ },
1903
+ },
1904
+ },
1905
+ requestBody: {
1906
+ content: {
1907
+ "application/json": {
1908
+ schema: {
1909
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaRequest",
1910
+ },
1911
+ },
1912
+ },
1913
+ },
1914
+ security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
1915
+ tags: ["accounts"],
1916
1916
  },
1917
1917
  parameters: [
1918
1918
  { $ref: "#/components/parameters/access_token" },
@@ -2055,10 +2055,78 @@ exports.default = {
2055
2055
  { $ref: "#/components/parameters/upload_protocol" },
2056
2056
  ],
2057
2057
  },
2058
- "/v2/{parent}/defaultSupportedIdpConfigs": {
2058
+ "/v2/projects/{targetProjectId}/config": {
2059
+ get: {
2060
+ description: "Retrieve an Identity Toolkit project configuration.",
2061
+ operationId: "identitytoolkit.projects.getConfig",
2062
+ responses: {
2063
+ 200: {
2064
+ description: "Successful response",
2065
+ content: {
2066
+ "*/*": {
2067
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Config" },
2068
+ },
2069
+ },
2070
+ },
2071
+ },
2072
+ parameters: [
2073
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2074
+ ],
2075
+ security: [{ Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] }, { apiKey: [] }],
2076
+ tags: ["projects"],
2077
+ },
2078
+ patch: {
2079
+ description: "Update an Identity Toolkit project configuration.",
2080
+ operationId: "identitytoolkit.projects.updateConfig",
2081
+ responses: {
2082
+ 200: {
2083
+ description: "Successful response",
2084
+ content: {
2085
+ "*/*": {
2086
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Config" },
2087
+ },
2088
+ },
2089
+ },
2090
+ },
2091
+ parameters: [
2092
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2093
+ {
2094
+ name: "updateMask",
2095
+ in: "query",
2096
+ description: "The update mask applies to the resource. Fields set in the config but not included in this update mask will be ignored. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2097
+ schema: { type: "string" },
2098
+ },
2099
+ ],
2100
+ requestBody: {
2101
+ content: {
2102
+ "application/json": {
2103
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Config" },
2104
+ },
2105
+ },
2106
+ },
2107
+ security: [
2108
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2109
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2110
+ { apiKey: [] },
2111
+ ],
2112
+ tags: ["projects"],
2113
+ },
2114
+ parameters: [
2115
+ { $ref: "#/components/parameters/access_token" },
2116
+ { $ref: "#/components/parameters/alt" },
2117
+ { $ref: "#/components/parameters/callback" },
2118
+ { $ref: "#/components/parameters/fields" },
2119
+ { $ref: "#/components/parameters/oauth_token" },
2120
+ { $ref: "#/components/parameters/prettyPrint" },
2121
+ { $ref: "#/components/parameters/quotaUser" },
2122
+ { $ref: "#/components/parameters/uploadType" },
2123
+ { $ref: "#/components/parameters/upload_protocol" },
2124
+ ],
2125
+ },
2126
+ "/v2/projects/{targetProjectId}/defaultSupportedIdpConfigs": {
2059
2127
  post: {
2060
2128
  description: "Create a default supported Idp configuration for an Identity Toolkit project.",
2061
- operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.create",
2129
+ operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.create",
2062
2130
  responses: {
2063
2131
  200: {
2064
2132
  description: "Successful response",
@@ -2072,13 +2140,7 @@ exports.default = {
2072
2140
  },
2073
2141
  },
2074
2142
  parameters: [
2075
- {
2076
- name: "parent",
2077
- in: "path",
2078
- description: 'The parent resource name where the config to be created, for example: "projects/my-awesome-project"',
2079
- required: true,
2080
- schema: { type: "string" },
2081
- },
2143
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2082
2144
  {
2083
2145
  name: "idpId",
2084
2146
  in: "query",
@@ -2087,13 +2149,7 @@ exports.default = {
2087
2149
  },
2088
2150
  ],
2089
2151
  requestBody: {
2090
- content: {
2091
- "application/json": {
2092
- schema: {
2093
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2094
- },
2095
- },
2096
- },
2152
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2097
2153
  },
2098
2154
  security: [
2099
2155
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
@@ -2104,7 +2160,7 @@ exports.default = {
2104
2160
  },
2105
2161
  get: {
2106
2162
  description: "List all default supported Idp configurations for an Identity Toolkit project.",
2107
- operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.list",
2163
+ operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.list",
2108
2164
  responses: {
2109
2165
  200: {
2110
2166
  description: "Successful response",
@@ -2118,13 +2174,7 @@ exports.default = {
2118
2174
  },
2119
2175
  },
2120
2176
  parameters: [
2121
- {
2122
- name: "parent",
2123
- in: "path",
2124
- description: 'The parent resource name, for example, "projects/my-awesome-project".',
2125
- required: true,
2126
- schema: { type: "string" },
2127
- },
2177
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2128
2178
  {
2129
2179
  name: "pageSize",
2130
2180
  in: "query",
@@ -2157,10 +2207,10 @@ exports.default = {
2157
2207
  { $ref: "#/components/parameters/upload_protocol" },
2158
2208
  ],
2159
2209
  },
2160
- "/v2/{name}": {
2210
+ "/v2/projects/{targetProjectId}/defaultSupportedIdpConfigs/{defaultSupportedIdpConfigsId}": {
2161
2211
  delete: {
2162
- description: "Delete an Oidc Idp configuration for an Identity Toolkit project.",
2163
- operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.delete",
2212
+ description: "Delete a default supported Idp configuration for an Identity Toolkit project.",
2213
+ operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.delete",
2164
2214
  responses: {
2165
2215
  200: {
2166
2216
  description: "Successful response",
@@ -2168,10 +2218,10 @@ exports.default = {
2168
2218
  },
2169
2219
  },
2170
2220
  parameters: [
2221
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2171
2222
  {
2172
- name: "name",
2223
+ name: "defaultSupportedIdpConfigsId",
2173
2224
  in: "path",
2174
- description: "The resource name of the config to be deleted, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.",
2175
2225
  required: true,
2176
2226
  schema: { type: "string" },
2177
2227
  },
@@ -2184,25 +2234,25 @@ exports.default = {
2184
2234
  tags: ["projects"],
2185
2235
  },
2186
2236
  get: {
2187
- description: "Retrieve an Oidc Idp configuration for an Identity Toolkit project.",
2188
- operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.get",
2237
+ description: "Retrieve a default supported Idp configuration for an Identity Toolkit project.",
2238
+ operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.get",
2189
2239
  responses: {
2190
2240
  200: {
2191
2241
  description: "Successful response",
2192
2242
  content: {
2193
2243
  "*/*": {
2194
2244
  schema: {
2195
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2245
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2196
2246
  },
2197
2247
  },
2198
2248
  },
2199
2249
  },
2200
2250
  },
2201
2251
  parameters: [
2252
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2202
2253
  {
2203
- name: "name",
2254
+ name: "defaultSupportedIdpConfigsId",
2204
2255
  in: "path",
2205
- description: "The resource name of the config, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'.",
2206
2256
  required: true,
2207
2257
  schema: { type: "string" },
2208
2258
  },
@@ -2215,37 +2265,37 @@ exports.default = {
2215
2265
  tags: ["projects"],
2216
2266
  },
2217
2267
  patch: {
2218
- description: "Update an Oidc Idp configuration for an Identity Toolkit project.",
2219
- operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.patch",
2268
+ description: "Update a default supported Idp configuration for an Identity Toolkit project.",
2269
+ operationId: "identitytoolkit.projects.defaultSupportedIdpConfigs.patch",
2220
2270
  responses: {
2221
2271
  200: {
2222
2272
  description: "Successful response",
2223
2273
  content: {
2224
2274
  "*/*": {
2225
2275
  schema: {
2226
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2276
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2227
2277
  },
2228
2278
  },
2229
2279
  },
2230
2280
  },
2231
2281
  },
2232
2282
  parameters: [
2283
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2233
2284
  {
2234
- name: "name",
2285
+ name: "defaultSupportedIdpConfigsId",
2235
2286
  in: "path",
2236
- description: "The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.",
2237
2287
  required: true,
2238
2288
  schema: { type: "string" },
2239
2289
  },
2240
2290
  {
2241
2291
  name: "updateMask",
2242
2292
  in: "query",
2243
- description: "The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2293
+ description: "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2244
2294
  schema: { type: "string" },
2245
2295
  },
2246
2296
  ],
2247
2297
  requestBody: {
2248
- $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2298
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2249
2299
  },
2250
2300
  security: [
2251
2301
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
@@ -2266,10 +2316,10 @@ exports.default = {
2266
2316
  { $ref: "#/components/parameters/upload_protocol" },
2267
2317
  ],
2268
2318
  },
2269
- "/v2/{parent}/inboundSamlConfigs": {
2319
+ "/v2/projects/{targetProjectId}/inboundSamlConfigs": {
2270
2320
  post: {
2271
2321
  description: "Create an inbound SAML configuration for an Identity Toolkit project.",
2272
- operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.create",
2322
+ operationId: "identitytoolkit.projects.inboundSamlConfigs.create",
2273
2323
  responses: {
2274
2324
  200: {
2275
2325
  description: "Successful response",
@@ -2283,13 +2333,7 @@ exports.default = {
2283
2333
  },
2284
2334
  },
2285
2335
  parameters: [
2286
- {
2287
- name: "parent",
2288
- in: "path",
2289
- description: 'The parent resource name where the config to be created, for example: "projects/my-awesome-project"',
2290
- required: true,
2291
- schema: { type: "string" },
2292
- },
2336
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2293
2337
  {
2294
2338
  name: "inboundSamlConfigId",
2295
2339
  in: "query",
@@ -2298,13 +2342,7 @@ exports.default = {
2298
2342
  },
2299
2343
  ],
2300
2344
  requestBody: {
2301
- content: {
2302
- "application/json": {
2303
- schema: {
2304
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
2305
- },
2306
- },
2307
- },
2345
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
2308
2346
  },
2309
2347
  security: [
2310
2348
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
@@ -2315,7 +2353,7 @@ exports.default = {
2315
2353
  },
2316
2354
  get: {
2317
2355
  description: "List all inbound SAML configurations for an Identity Toolkit project.",
2318
- operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.list",
2356
+ operationId: "identitytoolkit.projects.inboundSamlConfigs.list",
2319
2357
  responses: {
2320
2358
  200: {
2321
2359
  description: "Successful response",
@@ -2329,13 +2367,7 @@ exports.default = {
2329
2367
  },
2330
2368
  },
2331
2369
  parameters: [
2332
- {
2333
- name: "parent",
2334
- in: "path",
2335
- description: 'The parent resource name, for example, "projects/my-awesome-project".',
2336
- required: true,
2337
- schema: { type: "string" },
2338
- },
2370
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2339
2371
  {
2340
2372
  name: "pageSize",
2341
2373
  in: "query",
@@ -2368,40 +2400,20 @@ exports.default = {
2368
2400
  { $ref: "#/components/parameters/upload_protocol" },
2369
2401
  ],
2370
2402
  },
2371
- "/v2/{parent}/oauthIdpConfigs": {
2372
- post: {
2373
- description: "Create an Oidc Idp configuration for an Identity Toolkit project.",
2374
- operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.create",
2403
+ "/v2/projects/{targetProjectId}/inboundSamlConfigs/{inboundSamlConfigsId}": {
2404
+ delete: {
2405
+ description: "Delete an inbound SAML configuration for an Identity Toolkit project.",
2406
+ operationId: "identitytoolkit.projects.inboundSamlConfigs.delete",
2375
2407
  responses: {
2376
2408
  200: {
2377
2409
  description: "Successful response",
2378
- content: {
2379
- "*/*": {
2380
- schema: {
2381
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2382
- },
2383
- },
2384
- },
2410
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2385
2411
  },
2386
2412
  },
2387
2413
  parameters: [
2388
- {
2389
- name: "parent",
2390
- in: "path",
2391
- description: 'The parent resource name where the config to be created, for example: "projects/my-awesome-project"',
2392
- required: true,
2393
- schema: { type: "string" },
2394
- },
2395
- {
2396
- name: "oauthIdpConfigId",
2397
- in: "query",
2398
- description: "The id to use for this config.",
2399
- schema: { type: "string" },
2400
- },
2414
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2415
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
2401
2416
  ],
2402
- requestBody: {
2403
- $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2404
- },
2405
2417
  security: [
2406
2418
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2407
2419
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
@@ -2410,41 +2422,904 @@ exports.default = {
2410
2422
  tags: ["projects"],
2411
2423
  },
2412
2424
  get: {
2413
- description: "List all Oidc Idp configurations for an Identity Toolkit project.",
2414
- operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.list",
2425
+ description: "Retrieve an inbound SAML configuration for an Identity Toolkit project.",
2426
+ operationId: "identitytoolkit.projects.inboundSamlConfigs.get",
2415
2427
  responses: {
2416
2428
  200: {
2417
2429
  description: "Successful response",
2418
2430
  content: {
2419
2431
  "*/*": {
2420
2432
  schema: {
2421
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse",
2433
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
2422
2434
  },
2423
2435
  },
2424
2436
  },
2425
2437
  },
2426
2438
  },
2427
2439
  parameters: [
2440
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2441
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
2442
+ ],
2443
+ security: [
2444
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2445
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2446
+ { apiKey: [] },
2447
+ ],
2448
+ tags: ["projects"],
2449
+ },
2450
+ patch: {
2451
+ description: "Update an inbound SAML configuration for an Identity Toolkit project.",
2452
+ operationId: "identitytoolkit.projects.inboundSamlConfigs.patch",
2453
+ responses: {
2454
+ 200: {
2455
+ description: "Successful response",
2456
+ content: {
2457
+ "*/*": {
2458
+ schema: {
2459
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
2460
+ },
2461
+ },
2462
+ },
2463
+ },
2464
+ },
2465
+ parameters: [
2466
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2467
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
2468
+ {
2469
+ name: "updateMask",
2470
+ in: "query",
2471
+ description: "The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2472
+ schema: { type: "string" },
2473
+ },
2474
+ ],
2475
+ requestBody: {
2476
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
2477
+ },
2478
+ security: [
2479
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2480
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2481
+ { apiKey: [] },
2482
+ ],
2483
+ tags: ["projects"],
2484
+ },
2485
+ parameters: [
2486
+ { $ref: "#/components/parameters/access_token" },
2487
+ { $ref: "#/components/parameters/alt" },
2488
+ { $ref: "#/components/parameters/callback" },
2489
+ { $ref: "#/components/parameters/fields" },
2490
+ { $ref: "#/components/parameters/oauth_token" },
2491
+ { $ref: "#/components/parameters/prettyPrint" },
2492
+ { $ref: "#/components/parameters/quotaUser" },
2493
+ { $ref: "#/components/parameters/uploadType" },
2494
+ { $ref: "#/components/parameters/upload_protocol" },
2495
+ ],
2496
+ },
2497
+ "/v2/projects/{targetProjectId}/oauthIdpConfigs": {
2498
+ post: {
2499
+ description: "Create an Oidc Idp configuration for an Identity Toolkit project.",
2500
+ operationId: "identitytoolkit.projects.oauthIdpConfigs.create",
2501
+ responses: {
2502
+ 200: {
2503
+ description: "Successful response",
2504
+ content: {
2505
+ "*/*": {
2506
+ schema: {
2507
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2508
+ },
2509
+ },
2510
+ },
2511
+ },
2512
+ },
2513
+ parameters: [
2514
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2515
+ {
2516
+ name: "oauthIdpConfigId",
2517
+ in: "query",
2518
+ description: "The id to use for this config.",
2519
+ schema: { type: "string" },
2520
+ },
2521
+ ],
2522
+ requestBody: {
2523
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2524
+ },
2525
+ security: [
2526
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2527
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2528
+ { apiKey: [] },
2529
+ ],
2530
+ tags: ["projects"],
2531
+ },
2532
+ get: {
2533
+ description: "List all Oidc Idp configurations for an Identity Toolkit project.",
2534
+ operationId: "identitytoolkit.projects.oauthIdpConfigs.list",
2535
+ responses: {
2536
+ 200: {
2537
+ description: "Successful response",
2538
+ content: {
2539
+ "*/*": {
2540
+ schema: {
2541
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse",
2542
+ },
2543
+ },
2544
+ },
2545
+ },
2546
+ },
2547
+ parameters: [
2548
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2549
+ {
2550
+ name: "pageSize",
2551
+ in: "query",
2552
+ description: "The maximum number of items to return.",
2553
+ schema: { type: "integer" },
2554
+ },
2555
+ {
2556
+ name: "pageToken",
2557
+ in: "query",
2558
+ description: "The next_page_token value returned from a previous List request, if any.",
2559
+ schema: { type: "string" },
2560
+ },
2561
+ ],
2562
+ security: [
2563
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2564
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2565
+ { apiKey: [] },
2566
+ ],
2567
+ tags: ["projects"],
2568
+ },
2569
+ parameters: [
2570
+ { $ref: "#/components/parameters/access_token" },
2571
+ { $ref: "#/components/parameters/alt" },
2572
+ { $ref: "#/components/parameters/callback" },
2573
+ { $ref: "#/components/parameters/fields" },
2574
+ { $ref: "#/components/parameters/oauth_token" },
2575
+ { $ref: "#/components/parameters/prettyPrint" },
2576
+ { $ref: "#/components/parameters/quotaUser" },
2577
+ { $ref: "#/components/parameters/uploadType" },
2578
+ { $ref: "#/components/parameters/upload_protocol" },
2579
+ ],
2580
+ },
2581
+ "/v2/projects/{targetProjectId}/oauthIdpConfigs/{oauthIdpConfigsId}": {
2582
+ delete: {
2583
+ description: "Delete an Oidc Idp configuration for an Identity Toolkit project.",
2584
+ operationId: "identitytoolkit.projects.oauthIdpConfigs.delete",
2585
+ responses: {
2586
+ 200: {
2587
+ description: "Successful response",
2588
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2589
+ },
2590
+ },
2591
+ parameters: [
2592
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2593
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2594
+ ],
2595
+ security: [
2596
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2597
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2598
+ { apiKey: [] },
2599
+ ],
2600
+ tags: ["projects"],
2601
+ },
2602
+ get: {
2603
+ description: "Retrieve an Oidc Idp configuration for an Identity Toolkit project.",
2604
+ operationId: "identitytoolkit.projects.oauthIdpConfigs.get",
2605
+ responses: {
2606
+ 200: {
2607
+ description: "Successful response",
2608
+ content: {
2609
+ "*/*": {
2610
+ schema: {
2611
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2612
+ },
2613
+ },
2614
+ },
2615
+ },
2616
+ },
2617
+ parameters: [
2618
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2619
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2620
+ ],
2621
+ security: [
2622
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2623
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2624
+ { apiKey: [] },
2625
+ ],
2626
+ tags: ["projects"],
2627
+ },
2628
+ patch: {
2629
+ description: "Update an Oidc Idp configuration for an Identity Toolkit project.",
2630
+ operationId: "identitytoolkit.projects.oauthIdpConfigs.patch",
2631
+ responses: {
2632
+ 200: {
2633
+ description: "Successful response",
2634
+ content: {
2635
+ "*/*": {
2636
+ schema: {
2637
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2638
+ },
2639
+ },
2640
+ },
2641
+ },
2642
+ },
2643
+ parameters: [
2644
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2645
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2646
+ {
2647
+ name: "updateMask",
2648
+ in: "query",
2649
+ description: "The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2650
+ schema: { type: "string" },
2651
+ },
2652
+ ],
2653
+ requestBody: {
2654
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2655
+ },
2656
+ security: [
2657
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2658
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2659
+ { apiKey: [] },
2660
+ ],
2661
+ tags: ["projects"],
2662
+ },
2663
+ parameters: [
2664
+ { $ref: "#/components/parameters/access_token" },
2665
+ { $ref: "#/components/parameters/alt" },
2666
+ { $ref: "#/components/parameters/callback" },
2667
+ { $ref: "#/components/parameters/fields" },
2668
+ { $ref: "#/components/parameters/oauth_token" },
2669
+ { $ref: "#/components/parameters/prettyPrint" },
2670
+ { $ref: "#/components/parameters/quotaUser" },
2671
+ { $ref: "#/components/parameters/uploadType" },
2672
+ { $ref: "#/components/parameters/upload_protocol" },
2673
+ ],
2674
+ },
2675
+ "/v2/projects/{targetProjectId}/tenants": {
2676
+ post: {
2677
+ description: "Create a tenant. Requires write permission on the Agent project.",
2678
+ operationId: "identitytoolkit.projects.tenants.create",
2679
+ responses: {
2680
+ 200: {
2681
+ description: "Successful response",
2682
+ content: {
2683
+ "*/*": {
2684
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2685
+ },
2686
+ },
2687
+ },
2688
+ },
2689
+ parameters: [
2690
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2691
+ ],
2692
+ requestBody: { $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2693
+ security: [
2694
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2695
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2696
+ { apiKey: [] },
2697
+ ],
2698
+ tags: ["projects"],
2699
+ },
2700
+ get: {
2701
+ description: "List tenants under the given agent project. Requires read permission on the Agent project.",
2702
+ operationId: "identitytoolkit.projects.tenants.list",
2703
+ responses: {
2704
+ 200: {
2705
+ description: "Successful response",
2706
+ content: {
2707
+ "*/*": {
2708
+ schema: {
2709
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse",
2710
+ },
2711
+ },
2712
+ },
2713
+ },
2714
+ },
2715
+ parameters: [
2716
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2717
+ {
2718
+ name: "pageSize",
2719
+ in: "query",
2720
+ description: "The maximum number of results to return, capped at 1000. If not specified, the default value is 20.",
2721
+ schema: { type: "integer" },
2722
+ },
2723
+ {
2724
+ name: "pageToken",
2725
+ in: "query",
2726
+ description: "The pagination token from the response of a previous request.",
2727
+ schema: { type: "string" },
2728
+ },
2729
+ ],
2730
+ security: [
2731
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2732
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2733
+ { apiKey: [] },
2734
+ ],
2735
+ tags: ["projects"],
2736
+ },
2737
+ parameters: [
2738
+ { $ref: "#/components/parameters/access_token" },
2739
+ { $ref: "#/components/parameters/alt" },
2740
+ { $ref: "#/components/parameters/callback" },
2741
+ { $ref: "#/components/parameters/fields" },
2742
+ { $ref: "#/components/parameters/oauth_token" },
2743
+ { $ref: "#/components/parameters/prettyPrint" },
2744
+ { $ref: "#/components/parameters/quotaUser" },
2745
+ { $ref: "#/components/parameters/uploadType" },
2746
+ { $ref: "#/components/parameters/upload_protocol" },
2747
+ ],
2748
+ },
2749
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}": {
2750
+ delete: {
2751
+ description: "Delete a tenant. Requires write permission on the Agent project.",
2752
+ operationId: "identitytoolkit.projects.tenants.delete",
2753
+ responses: {
2754
+ 200: {
2755
+ description: "Successful response",
2756
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2757
+ },
2758
+ },
2759
+ parameters: [
2760
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2761
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2762
+ ],
2763
+ security: [
2764
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2765
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2766
+ { apiKey: [] },
2767
+ ],
2768
+ tags: ["projects"],
2769
+ },
2770
+ get: {
2771
+ description: "Get a tenant. Requires read permission on the Tenant resource.",
2772
+ operationId: "identitytoolkit.projects.tenants.get",
2773
+ responses: {
2774
+ 200: {
2775
+ description: "Successful response",
2776
+ content: {
2777
+ "*/*": {
2778
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2779
+ },
2780
+ },
2781
+ },
2782
+ },
2783
+ parameters: [
2784
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2785
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2786
+ ],
2787
+ security: [
2788
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2789
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2790
+ { apiKey: [] },
2791
+ ],
2792
+ tags: ["projects"],
2793
+ },
2794
+ patch: {
2795
+ description: "Update a tenant. Requires write permission on the Tenant resource.",
2796
+ operationId: "identitytoolkit.projects.tenants.patch",
2797
+ responses: {
2798
+ 200: {
2799
+ description: "Successful response",
2800
+ content: {
2801
+ "*/*": {
2802
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2803
+ },
2804
+ },
2805
+ },
2806
+ },
2807
+ parameters: [
2808
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2809
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2810
+ {
2811
+ name: "updateMask",
2812
+ in: "query",
2813
+ description: "If provided, only update fields set in the update mask. Otherwise, all settable fields will be updated. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2814
+ schema: { type: "string" },
2815
+ },
2816
+ ],
2817
+ requestBody: { $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2818
+ security: [
2819
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2820
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2821
+ { apiKey: [] },
2822
+ ],
2823
+ tags: ["projects"],
2824
+ },
2825
+ parameters: [
2826
+ { $ref: "#/components/parameters/access_token" },
2827
+ { $ref: "#/components/parameters/alt" },
2828
+ { $ref: "#/components/parameters/callback" },
2829
+ { $ref: "#/components/parameters/fields" },
2830
+ { $ref: "#/components/parameters/oauth_token" },
2831
+ { $ref: "#/components/parameters/prettyPrint" },
2832
+ { $ref: "#/components/parameters/quotaUser" },
2833
+ { $ref: "#/components/parameters/uploadType" },
2834
+ { $ref: "#/components/parameters/upload_protocol" },
2835
+ ],
2836
+ },
2837
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}:getIamPolicy": {
2838
+ post: {
2839
+ 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
+ operationId: "identitytoolkit.projects.tenants.getIamPolicy",
2841
+ responses: {
2842
+ 200: {
2843
+ description: "Successful response",
2844
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
2845
+ },
2846
+ },
2847
+ parameters: [
2848
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2849
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2850
+ ],
2851
+ requestBody: {
2852
+ content: {
2853
+ "application/json": {
2854
+ schema: { $ref: "#/components/schemas/GoogleIamV1GetIamPolicyRequest" },
2855
+ },
2856
+ },
2857
+ },
2858
+ security: [
2859
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2860
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2861
+ { apiKey: [] },
2862
+ ],
2863
+ tags: ["projects"],
2864
+ },
2865
+ parameters: [
2866
+ { $ref: "#/components/parameters/access_token" },
2867
+ { $ref: "#/components/parameters/alt" },
2868
+ { $ref: "#/components/parameters/callback" },
2869
+ { $ref: "#/components/parameters/fields" },
2870
+ { $ref: "#/components/parameters/oauth_token" },
2871
+ { $ref: "#/components/parameters/prettyPrint" },
2872
+ { $ref: "#/components/parameters/quotaUser" },
2873
+ { $ref: "#/components/parameters/uploadType" },
2874
+ { $ref: "#/components/parameters/upload_protocol" },
2875
+ ],
2876
+ },
2877
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}:setIamPolicy": {
2878
+ post: {
2879
+ 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
+ operationId: "identitytoolkit.projects.tenants.setIamPolicy",
2881
+ responses: {
2882
+ 200: {
2883
+ description: "Successful response",
2884
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
2885
+ },
2886
+ },
2887
+ parameters: [
2888
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2889
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2890
+ ],
2891
+ requestBody: {
2892
+ content: {
2893
+ "application/json": {
2894
+ schema: { $ref: "#/components/schemas/GoogleIamV1SetIamPolicyRequest" },
2895
+ },
2896
+ },
2897
+ },
2898
+ security: [
2899
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2900
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2901
+ { apiKey: [] },
2902
+ ],
2903
+ tags: ["projects"],
2904
+ },
2905
+ parameters: [
2906
+ { $ref: "#/components/parameters/access_token" },
2907
+ { $ref: "#/components/parameters/alt" },
2908
+ { $ref: "#/components/parameters/callback" },
2909
+ { $ref: "#/components/parameters/fields" },
2910
+ { $ref: "#/components/parameters/oauth_token" },
2911
+ { $ref: "#/components/parameters/prettyPrint" },
2912
+ { $ref: "#/components/parameters/quotaUser" },
2913
+ { $ref: "#/components/parameters/uploadType" },
2914
+ { $ref: "#/components/parameters/upload_protocol" },
2915
+ ],
2916
+ },
2917
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}:testIamPermissions": {
2918
+ post: {
2919
+ 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
+ operationId: "identitytoolkit.projects.tenants.testIamPermissions",
2921
+ responses: {
2922
+ 200: {
2923
+ description: "Successful response",
2924
+ content: {
2925
+ "*/*": {
2926
+ schema: { $ref: "#/components/schemas/GoogleIamV1TestIamPermissionsResponse" },
2927
+ },
2928
+ },
2929
+ },
2930
+ },
2931
+ parameters: [
2932
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2933
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2934
+ ],
2935
+ requestBody: {
2936
+ content: {
2937
+ "application/json": {
2938
+ schema: { $ref: "#/components/schemas/GoogleIamV1TestIamPermissionsRequest" },
2939
+ },
2940
+ },
2941
+ },
2942
+ security: [
2943
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2944
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2945
+ { apiKey: [] },
2946
+ ],
2947
+ tags: ["projects"],
2948
+ },
2949
+ parameters: [
2950
+ { $ref: "#/components/parameters/access_token" },
2951
+ { $ref: "#/components/parameters/alt" },
2952
+ { $ref: "#/components/parameters/callback" },
2953
+ { $ref: "#/components/parameters/fields" },
2954
+ { $ref: "#/components/parameters/oauth_token" },
2955
+ { $ref: "#/components/parameters/prettyPrint" },
2956
+ { $ref: "#/components/parameters/quotaUser" },
2957
+ { $ref: "#/components/parameters/uploadType" },
2958
+ { $ref: "#/components/parameters/upload_protocol" },
2959
+ ],
2960
+ },
2961
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/defaultSupportedIdpConfigs": {
2962
+ post: {
2963
+ description: "Create a default supported Idp configuration for an Identity Toolkit project.",
2964
+ operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.create",
2965
+ responses: {
2966
+ 200: {
2967
+ description: "Successful response",
2968
+ content: {
2969
+ "*/*": {
2970
+ schema: {
2971
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2972
+ },
2973
+ },
2974
+ },
2975
+ },
2976
+ },
2977
+ parameters: [
2978
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
2979
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2980
+ {
2981
+ name: "idpId",
2982
+ in: "query",
2983
+ description: "The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.",
2984
+ schema: { type: "string" },
2985
+ },
2986
+ ],
2987
+ requestBody: {
2988
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
2989
+ },
2990
+ security: [
2991
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2992
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
2993
+ { apiKey: [] },
2994
+ ],
2995
+ tags: ["projects"],
2996
+ },
2997
+ get: {
2998
+ description: "List all default supported Idp configurations for an Identity Toolkit project.",
2999
+ operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.list",
3000
+ responses: {
3001
+ 200: {
3002
+ description: "Successful response",
3003
+ content: {
3004
+ "*/*": {
3005
+ schema: {
3006
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse",
3007
+ },
3008
+ },
3009
+ },
3010
+ },
3011
+ },
3012
+ parameters: [
3013
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3014
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3015
+ {
3016
+ name: "pageSize",
3017
+ in: "query",
3018
+ description: "The maximum number of items to return.",
3019
+ schema: { type: "integer" },
3020
+ },
3021
+ {
3022
+ name: "pageToken",
3023
+ in: "query",
3024
+ description: "The next_page_token value returned from a previous List request, if any.",
3025
+ schema: { type: "string" },
3026
+ },
3027
+ ],
3028
+ security: [
3029
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3030
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3031
+ { apiKey: [] },
3032
+ ],
3033
+ tags: ["projects"],
3034
+ },
3035
+ parameters: [
3036
+ { $ref: "#/components/parameters/access_token" },
3037
+ { $ref: "#/components/parameters/alt" },
3038
+ { $ref: "#/components/parameters/callback" },
3039
+ { $ref: "#/components/parameters/fields" },
3040
+ { $ref: "#/components/parameters/oauth_token" },
3041
+ { $ref: "#/components/parameters/prettyPrint" },
3042
+ { $ref: "#/components/parameters/quotaUser" },
3043
+ { $ref: "#/components/parameters/uploadType" },
3044
+ { $ref: "#/components/parameters/upload_protocol" },
3045
+ ],
3046
+ },
3047
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/defaultSupportedIdpConfigs/{defaultSupportedIdpConfigsId}": {
3048
+ delete: {
3049
+ description: "Delete a default supported Idp configuration for an Identity Toolkit project.",
3050
+ operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.delete",
3051
+ responses: {
3052
+ 200: {
3053
+ description: "Successful response",
3054
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
3055
+ },
3056
+ },
3057
+ parameters: [
3058
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3059
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3060
+ {
3061
+ name: "defaultSupportedIdpConfigsId",
3062
+ in: "path",
3063
+ required: true,
3064
+ schema: { type: "string" },
3065
+ },
3066
+ ],
3067
+ security: [
3068
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3069
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3070
+ { apiKey: [] },
3071
+ ],
3072
+ tags: ["projects"],
3073
+ },
3074
+ get: {
3075
+ description: "Retrieve a default supported Idp configuration for an Identity Toolkit project.",
3076
+ operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.get",
3077
+ responses: {
3078
+ 200: {
3079
+ description: "Successful response",
3080
+ content: {
3081
+ "*/*": {
3082
+ schema: {
3083
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
3084
+ },
3085
+ },
3086
+ },
3087
+ },
3088
+ },
3089
+ parameters: [
3090
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3091
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3092
+ {
3093
+ name: "defaultSupportedIdpConfigsId",
3094
+ in: "path",
3095
+ required: true,
3096
+ schema: { type: "string" },
3097
+ },
3098
+ ],
3099
+ security: [
3100
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3101
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3102
+ { apiKey: [] },
3103
+ ],
3104
+ tags: ["projects"],
3105
+ },
3106
+ patch: {
3107
+ description: "Update a default supported Idp configuration for an Identity Toolkit project.",
3108
+ operationId: "identitytoolkit.projects.tenants.defaultSupportedIdpConfigs.patch",
3109
+ responses: {
3110
+ 200: {
3111
+ description: "Successful response",
3112
+ content: {
3113
+ "*/*": {
3114
+ schema: {
3115
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
3116
+ },
3117
+ },
3118
+ },
3119
+ },
3120
+ },
3121
+ parameters: [
3122
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3123
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2428
3124
  {
2429
- name: "parent",
3125
+ name: "defaultSupportedIdpConfigsId",
2430
3126
  in: "path",
2431
- description: 'The parent resource name, for example, "projects/my-awesome-project".',
2432
3127
  required: true,
2433
3128
  schema: { type: "string" },
2434
3129
  },
2435
- {
2436
- name: "pageSize",
2437
- in: "query",
2438
- description: "The maximum number of items to return.",
2439
- schema: { type: "integer" },
3130
+ {
3131
+ name: "updateMask",
3132
+ in: "query",
3133
+ description: "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
3134
+ schema: { type: "string" },
3135
+ },
3136
+ ],
3137
+ requestBody: {
3138
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
3139
+ },
3140
+ security: [
3141
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3142
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3143
+ { apiKey: [] },
3144
+ ],
3145
+ tags: ["projects"],
3146
+ },
3147
+ parameters: [
3148
+ { $ref: "#/components/parameters/access_token" },
3149
+ { $ref: "#/components/parameters/alt" },
3150
+ { $ref: "#/components/parameters/callback" },
3151
+ { $ref: "#/components/parameters/fields" },
3152
+ { $ref: "#/components/parameters/oauth_token" },
3153
+ { $ref: "#/components/parameters/prettyPrint" },
3154
+ { $ref: "#/components/parameters/quotaUser" },
3155
+ { $ref: "#/components/parameters/uploadType" },
3156
+ { $ref: "#/components/parameters/upload_protocol" },
3157
+ ],
3158
+ },
3159
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/inboundSamlConfigs": {
3160
+ post: {
3161
+ description: "Create an inbound SAML configuration for an Identity Toolkit project.",
3162
+ operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.create",
3163
+ responses: {
3164
+ 200: {
3165
+ description: "Successful response",
3166
+ content: {
3167
+ "*/*": {
3168
+ schema: {
3169
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
3170
+ },
3171
+ },
3172
+ },
3173
+ },
3174
+ },
3175
+ parameters: [
3176
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3177
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3178
+ {
3179
+ name: "inboundSamlConfigId",
3180
+ in: "query",
3181
+ description: "The id to use for this config.",
3182
+ schema: { type: "string" },
3183
+ },
3184
+ ],
3185
+ requestBody: {
3186
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
3187
+ },
3188
+ security: [
3189
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3190
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3191
+ { apiKey: [] },
3192
+ ],
3193
+ tags: ["projects"],
3194
+ },
3195
+ get: {
3196
+ description: "List all inbound SAML configurations for an Identity Toolkit project.",
3197
+ operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.list",
3198
+ responses: {
3199
+ 200: {
3200
+ description: "Successful response",
3201
+ content: {
3202
+ "*/*": {
3203
+ schema: {
3204
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListInboundSamlConfigsResponse",
3205
+ },
3206
+ },
3207
+ },
3208
+ },
3209
+ },
3210
+ parameters: [
3211
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3212
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3213
+ {
3214
+ name: "pageSize",
3215
+ in: "query",
3216
+ description: "The maximum number of items to return.",
3217
+ schema: { type: "integer" },
3218
+ },
3219
+ {
3220
+ name: "pageToken",
3221
+ in: "query",
3222
+ description: "The next_page_token value returned from a previous List request, if any.",
3223
+ schema: { type: "string" },
3224
+ },
3225
+ ],
3226
+ security: [
3227
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3228
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3229
+ { apiKey: [] },
3230
+ ],
3231
+ tags: ["projects"],
3232
+ },
3233
+ parameters: [
3234
+ { $ref: "#/components/parameters/access_token" },
3235
+ { $ref: "#/components/parameters/alt" },
3236
+ { $ref: "#/components/parameters/callback" },
3237
+ { $ref: "#/components/parameters/fields" },
3238
+ { $ref: "#/components/parameters/oauth_token" },
3239
+ { $ref: "#/components/parameters/prettyPrint" },
3240
+ { $ref: "#/components/parameters/quotaUser" },
3241
+ { $ref: "#/components/parameters/uploadType" },
3242
+ { $ref: "#/components/parameters/upload_protocol" },
3243
+ ],
3244
+ },
3245
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/inboundSamlConfigs/{inboundSamlConfigsId}": {
3246
+ delete: {
3247
+ description: "Delete an inbound SAML configuration for an Identity Toolkit project.",
3248
+ operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.delete",
3249
+ responses: {
3250
+ 200: {
3251
+ description: "Successful response",
3252
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
3253
+ },
3254
+ },
3255
+ parameters: [
3256
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3257
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3258
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
3259
+ ],
3260
+ security: [
3261
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3262
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3263
+ { apiKey: [] },
3264
+ ],
3265
+ tags: ["projects"],
3266
+ },
3267
+ get: {
3268
+ description: "Retrieve an inbound SAML configuration for an Identity Toolkit project.",
3269
+ operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.get",
3270
+ responses: {
3271
+ 200: {
3272
+ description: "Successful response",
3273
+ content: {
3274
+ "*/*": {
3275
+ schema: {
3276
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
3277
+ },
3278
+ },
3279
+ },
3280
+ },
3281
+ },
3282
+ parameters: [
3283
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3284
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3285
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
3286
+ ],
3287
+ security: [
3288
+ { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
3289
+ { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
3290
+ { apiKey: [] },
3291
+ ],
3292
+ tags: ["projects"],
3293
+ },
3294
+ patch: {
3295
+ description: "Update an inbound SAML configuration for an Identity Toolkit project.",
3296
+ operationId: "identitytoolkit.projects.tenants.inboundSamlConfigs.patch",
3297
+ responses: {
3298
+ 200: {
3299
+ description: "Successful response",
3300
+ content: {
3301
+ "*/*": {
3302
+ schema: {
3303
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
3304
+ },
3305
+ },
3306
+ },
2440
3307
  },
3308
+ },
3309
+ parameters: [
3310
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3311
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3312
+ { name: "inboundSamlConfigsId", in: "path", required: true, schema: { type: "string" } },
2441
3313
  {
2442
- name: "pageToken",
3314
+ name: "updateMask",
2443
3315
  in: "query",
2444
- description: "The next_page_token value returned from a previous List request, if any.",
3316
+ description: "The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2445
3317
  schema: { type: "string" },
2446
3318
  },
2447
3319
  ],
3320
+ requestBody: {
3321
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
3322
+ },
2448
3323
  security: [
2449
3324
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2450
3325
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
@@ -2464,35 +3339,34 @@ exports.default = {
2464
3339
  { $ref: "#/components/parameters/upload_protocol" },
2465
3340
  ],
2466
3341
  },
2467
- "/v2/{parent}/tenants": {
3342
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/oauthIdpConfigs": {
2468
3343
  post: {
2469
- description: "Create a tenant. Requires write permission on the Agent project.",
2470
- operationId: "identitytoolkit.projects.tenants.create",
3344
+ description: "Create an Oidc Idp configuration for an Identity Toolkit project.",
3345
+ operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.create",
2471
3346
  responses: {
2472
3347
  200: {
2473
3348
  description: "Successful response",
2474
3349
  content: {
2475
3350
  "*/*": {
2476
- schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
3351
+ schema: {
3352
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
3353
+ },
2477
3354
  },
2478
3355
  },
2479
3356
  },
2480
3357
  },
2481
3358
  parameters: [
3359
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3360
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2482
3361
  {
2483
- name: "parent",
2484
- in: "path",
2485
- description: 'The parent resource name where the tenant will be created. For example, "projects/project1".',
2486
- required: true,
3362
+ name: "oauthIdpConfigId",
3363
+ in: "query",
3364
+ description: "The id to use for this config.",
2487
3365
  schema: { type: "string" },
2488
3366
  },
2489
3367
  ],
2490
3368
  requestBody: {
2491
- content: {
2492
- "application/json": {
2493
- schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
2494
- },
2495
- },
3369
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2496
3370
  },
2497
3371
  security: [
2498
3372
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
@@ -2502,38 +3376,33 @@ exports.default = {
2502
3376
  tags: ["projects"],
2503
3377
  },
2504
3378
  get: {
2505
- description: "List tenants under the given agent project. Requires read permission on the Agent project.",
2506
- operationId: "identitytoolkit.projects.tenants.list",
3379
+ description: "List all Oidc Idp configurations for an Identity Toolkit project.",
3380
+ operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.list",
2507
3381
  responses: {
2508
3382
  200: {
2509
3383
  description: "Successful response",
2510
3384
  content: {
2511
3385
  "*/*": {
2512
3386
  schema: {
2513
- $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListTenantsResponse",
3387
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ListOAuthIdpConfigsResponse",
2514
3388
  },
2515
3389
  },
2516
3390
  },
2517
3391
  },
2518
3392
  },
2519
3393
  parameters: [
2520
- {
2521
- name: "parent",
2522
- in: "path",
2523
- description: "Required. The parent resource name to list tenants for.",
2524
- required: true,
2525
- schema: { type: "string" },
2526
- },
3394
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3395
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
2527
3396
  {
2528
3397
  name: "pageSize",
2529
3398
  in: "query",
2530
- description: "The maximum number of results to return, capped at 1000. If not specified, the default value is 20.",
3399
+ description: "The maximum number of items to return.",
2531
3400
  schema: { type: "integer" },
2532
3401
  },
2533
3402
  {
2534
3403
  name: "pageToken",
2535
3404
  in: "query",
2536
- description: "The pagination token from the response of a previous request.",
3405
+ description: "The next_page_token value returned from a previous List request, if any.",
2537
3406
  schema: { type: "string" },
2538
3407
  },
2539
3408
  ],
@@ -2556,32 +3425,21 @@ exports.default = {
2556
3425
  { $ref: "#/components/parameters/upload_protocol" },
2557
3426
  ],
2558
3427
  },
2559
- "/v2/{resource}:getIamPolicy": {
2560
- post: {
2561
- 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.",
2562
- operationId: "identitytoolkit.projects.tenants.getIamPolicy",
3428
+ "/v2/projects/{targetProjectId}/tenants/{tenantId}/oauthIdpConfigs/{oauthIdpConfigsId}": {
3429
+ delete: {
3430
+ description: "Delete an Oidc Idp configuration for an Identity Toolkit project.",
3431
+ operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.delete",
2563
3432
  responses: {
2564
3433
  200: {
2565
3434
  description: "Successful response",
2566
- content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
3435
+ content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleProtobufEmpty" } } },
2567
3436
  },
2568
3437
  },
2569
3438
  parameters: [
2570
- {
2571
- name: "resource",
2572
- in: "path",
2573
- description: "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
2574
- required: true,
2575
- schema: { type: "string" },
2576
- },
3439
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3440
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3441
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2577
3442
  ],
2578
- requestBody: {
2579
- content: {
2580
- "application/json": {
2581
- schema: { $ref: "#/components/schemas/GoogleIamV1GetIamPolicyRequest" },
2582
- },
2583
- },
2584
- },
2585
3443
  security: [
2586
3444
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2587
3445
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
@@ -2589,44 +3447,26 @@ exports.default = {
2589
3447
  ],
2590
3448
  tags: ["projects"],
2591
3449
  },
2592
- parameters: [
2593
- { $ref: "#/components/parameters/access_token" },
2594
- { $ref: "#/components/parameters/alt" },
2595
- { $ref: "#/components/parameters/callback" },
2596
- { $ref: "#/components/parameters/fields" },
2597
- { $ref: "#/components/parameters/oauth_token" },
2598
- { $ref: "#/components/parameters/prettyPrint" },
2599
- { $ref: "#/components/parameters/quotaUser" },
2600
- { $ref: "#/components/parameters/uploadType" },
2601
- { $ref: "#/components/parameters/upload_protocol" },
2602
- ],
2603
- },
2604
- "/v2/{resource}:setIamPolicy": {
2605
- post: {
2606
- 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.",
2607
- operationId: "identitytoolkit.projects.tenants.setIamPolicy",
3450
+ get: {
3451
+ description: "Retrieve an Oidc Idp configuration for an Identity Toolkit project.",
3452
+ operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.get",
2608
3453
  responses: {
2609
3454
  200: {
2610
3455
  description: "Successful response",
2611
- content: { "*/*": { schema: { $ref: "#/components/schemas/GoogleIamV1Policy" } } },
3456
+ content: {
3457
+ "*/*": {
3458
+ schema: {
3459
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
3460
+ },
3461
+ },
3462
+ },
2612
3463
  },
2613
3464
  },
2614
3465
  parameters: [
2615
- {
2616
- name: "resource",
2617
- in: "path",
2618
- description: "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
2619
- required: true,
2620
- schema: { type: "string" },
2621
- },
3466
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3467
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3468
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2622
3469
  ],
2623
- requestBody: {
2624
- content: {
2625
- "application/json": {
2626
- schema: { $ref: "#/components/schemas/GoogleIamV1SetIamPolicyRequest" },
2627
- },
2628
- },
2629
- },
2630
3470
  security: [
2631
3471
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
2632
3472
  { Oauth2: ["https://www.googleapis.com/auth/firebase"] },
@@ -2634,47 +3474,34 @@ exports.default = {
2634
3474
  ],
2635
3475
  tags: ["projects"],
2636
3476
  },
2637
- parameters: [
2638
- { $ref: "#/components/parameters/access_token" },
2639
- { $ref: "#/components/parameters/alt" },
2640
- { $ref: "#/components/parameters/callback" },
2641
- { $ref: "#/components/parameters/fields" },
2642
- { $ref: "#/components/parameters/oauth_token" },
2643
- { $ref: "#/components/parameters/prettyPrint" },
2644
- { $ref: "#/components/parameters/quotaUser" },
2645
- { $ref: "#/components/parameters/uploadType" },
2646
- { $ref: "#/components/parameters/upload_protocol" },
2647
- ],
2648
- },
2649
- "/v2/{resource}:testIamPermissions": {
2650
- post: {
2651
- 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.",
2652
- operationId: "identitytoolkit.projects.tenants.testIamPermissions",
3477
+ patch: {
3478
+ description: "Update an Oidc Idp configuration for an Identity Toolkit project.",
3479
+ operationId: "identitytoolkit.projects.tenants.oauthIdpConfigs.patch",
2653
3480
  responses: {
2654
3481
  200: {
2655
3482
  description: "Successful response",
2656
3483
  content: {
2657
3484
  "*/*": {
2658
- schema: { $ref: "#/components/schemas/GoogleIamV1TestIamPermissionsResponse" },
3485
+ schema: {
3486
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
3487
+ },
2659
3488
  },
2660
3489
  },
2661
3490
  },
2662
3491
  },
2663
3492
  parameters: [
3493
+ { name: "targetProjectId", in: "path", required: true, schema: { type: "string" } },
3494
+ { name: "tenantId", in: "path", required: true, schema: { type: "string" } },
3495
+ { name: "oauthIdpConfigsId", in: "path", required: true, schema: { type: "string" } },
2664
3496
  {
2665
- name: "resource",
2666
- in: "path",
2667
- description: "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
2668
- required: true,
3497
+ name: "updateMask",
3498
+ in: "query",
3499
+ description: "The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
2669
3500
  schema: { type: "string" },
2670
3501
  },
2671
3502
  ],
2672
3503
  requestBody: {
2673
- content: {
2674
- "application/json": {
2675
- schema: { $ref: "#/components/schemas/GoogleIamV1TestIamPermissionsRequest" },
2676
- },
2677
- },
3504
+ $ref: "#/components/requestBodies/GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig",
2678
3505
  },
2679
3506
  security: [
2680
3507
  { Oauth2: ["https://www.googleapis.com/auth/cloud-platform"] },
@@ -2832,6 +3659,41 @@ exports.default = {
2832
3659
  tags: ["emulator"],
2833
3660
  },
2834
3661
  },
3662
+ "/emulator/v1/projects/{targetProjectId}/tenants/{tenantId}/oobCodes": {
3663
+ parameters: [
3664
+ {
3665
+ name: "targetProjectId",
3666
+ in: "path",
3667
+ description: "The ID of the Google Cloud project that the confirmation codes belongs to.",
3668
+ required: true,
3669
+ schema: { type: "string" },
3670
+ },
3671
+ {
3672
+ name: "tenantId",
3673
+ in: "path",
3674
+ description: "The ID of the Identity Platform tenant the accounts belongs to. If not specified, accounts on the Identity Platform project are returned.",
3675
+ required: true,
3676
+ schema: { type: "string" },
3677
+ },
3678
+ ],
3679
+ servers: [{ url: "" }],
3680
+ get: {
3681
+ description: "List all pending confirmation codes for the project.",
3682
+ operationId: "emulator.projects.oobCodes.list",
3683
+ responses: {
3684
+ 200: {
3685
+ description: "Successful response",
3686
+ content: {
3687
+ "application/json": {
3688
+ schema: { $ref: "#/components/schemas/EmulatorV1ProjectsOobCodes" },
3689
+ },
3690
+ },
3691
+ },
3692
+ },
3693
+ security: [],
3694
+ tags: ["emulator"],
3695
+ },
3696
+ },
2835
3697
  "/emulator/v1/projects/{targetProjectId}/verificationCodes": {
2836
3698
  parameters: [
2837
3699
  {
@@ -2859,10 +3721,86 @@ exports.default = {
2859
3721
  security: [],
2860
3722
  tags: ["emulator"],
2861
3723
  },
2862
- },
2863
- },
2864
- components: {
2865
- schemas: {
3724
+ },
3725
+ "/emulator/v1/projects/{targetProjectId}/tenants/{tenantId}/verificationCodes": {
3726
+ parameters: [
3727
+ {
3728
+ name: "targetProjectId",
3729
+ in: "path",
3730
+ description: "The ID of the Google Cloud project that the verification codes belongs to.",
3731
+ required: true,
3732
+ schema: { type: "string" },
3733
+ },
3734
+ {
3735
+ name: "tenantId",
3736
+ in: "path",
3737
+ description: "The ID of the Identity Platform tenant the accounts belongs to. If not specified, accounts on the Identity Platform project are returned.",
3738
+ required: true,
3739
+ schema: { type: "string" },
3740
+ },
3741
+ ],
3742
+ servers: [{ url: "" }],
3743
+ get: {
3744
+ description: "List all pending phone verification codes for the project.",
3745
+ operationId: "emulator.projects.verificationCodes.list",
3746
+ responses: {
3747
+ 200: {
3748
+ description: "Successful response",
3749
+ content: {
3750
+ "application/json": {
3751
+ schema: { $ref: "#/components/schemas/EmulatorV1ProjectsOobCodes" },
3752
+ },
3753
+ },
3754
+ },
3755
+ },
3756
+ security: [],
3757
+ tags: ["emulator"],
3758
+ },
3759
+ },
3760
+ },
3761
+ components: {
3762
+ schemas: {
3763
+ GoogleCloudIdentitytoolkitV1Argon2Parameters: {
3764
+ description: "The parameters for Argon2 hashing algorithm.",
3765
+ properties: {
3766
+ associatedData: {
3767
+ description: "The additional associated data, if provided, is appended to the hash value to provide an additional layer of security. A base64-encoded string if specified via JSON.",
3768
+ format: "byte",
3769
+ type: "string",
3770
+ },
3771
+ hashLengthBytes: {
3772
+ description: "Required. The desired hash length in bytes. Minimum is 4 and maximum is 1024.",
3773
+ format: "int32",
3774
+ type: "integer",
3775
+ },
3776
+ hashType: {
3777
+ description: "Required. Must not be HASH_TYPE_UNSPECIFIED.",
3778
+ enum: ["HASH_TYPE_UNSPECIFIED", "ARGON2_D", "ARGON2_ID", "ARGON2_I"],
3779
+ type: "string",
3780
+ },
3781
+ iterations: {
3782
+ description: "Required. The number of iterations to perform. Minimum is 1, maximum is 16.",
3783
+ format: "int32",
3784
+ type: "integer",
3785
+ },
3786
+ memoryCostKib: {
3787
+ description: "Required. The memory cost in kibibytes. Maximum is 32768.",
3788
+ format: "int32",
3789
+ type: "integer",
3790
+ },
3791
+ parallelism: {
3792
+ description: "Required. The degree of parallelism, also called threads or lanes. Minimum is 1, maximum is 16.",
3793
+ format: "int32",
3794
+ type: "integer",
3795
+ },
3796
+ version: {
3797
+ description: "The version of the Argon2 algorithm. This defaults to VERSION_13 if not specified.",
3798
+ enum: ["VERSION_UNSPECIFIED", "VERSION_10", "VERSION_13"],
3799
+ type: "string",
3800
+ },
3801
+ },
3802
+ type: "object",
3803
+ },
2866
3804
  GoogleCloudIdentitytoolkitV1AutoRetrievalInfo: {
2867
3805
  description: "The information required to auto-retrieve an SMS.",
2868
3806
  properties: {
@@ -4498,6 +5436,9 @@ exports.default = {
4498
5436
  description: "Whether to overwrite an existing account in Identity Platform with a matching `local_id` in the request. If true, the existing account will be overwritten. If false, an error will be returned.",
4499
5437
  type: "boolean",
4500
5438
  },
5439
+ argon2Parameters: {
5440
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitV1Argon2Parameters",
5441
+ },
4501
5442
  blockSize: {
4502
5443
  description: "The block size parameter used by the STANDARD_SCRYPT hashing function. This parameter, along with parallelization and cpu_mem_cost help tune the resources needed to hash a password, and should be tuned as processor speeds and memory technologies advance.",
4503
5444
  format: "int32",
@@ -4519,7 +5460,7 @@ exports.default = {
4519
5460
  type: "integer",
4520
5461
  },
4521
5462
  hashAlgorithm: {
4522
- description: "Required. The hashing function used to hash the account passwords. Must be one of the following: * HMAC_SHA256 * HMAC_SHA1 * HMAC_MD5 * SCRYPT * PBKDF_SHA1 * MD5 * HMAC_SHA512 * SHA1 * BCRYPT * PBKDF2_SHA256 * SHA256 * SHA512 * STANDARD_SCRYPT",
5463
+ description: "Required. The hashing function used to hash the account passwords. Must be one of the following: * HMAC_SHA256 * HMAC_SHA1 * HMAC_MD5 * SCRYPT * PBKDF_SHA1 * MD5 * HMAC_SHA512 * SHA1 * BCRYPT * PBKDF2_SHA256 * SHA256 * SHA512 * STANDARD_SCRYPT * ARGON2",
4523
5464
  type: "string",
4524
5465
  },
4525
5466
  memoryCost: {
@@ -4727,6 +5668,16 @@ exports.default = {
4727
5668
  },
4728
5669
  type: "object",
4729
5670
  },
5671
+ GoogleCloudIdentitytoolkitAdminV2Anonymous: {
5672
+ description: "Configuration options related to authenticating an anonymous user.",
5673
+ properties: {
5674
+ enabled: {
5675
+ description: "Whether anonymous user auth is enabled for the project or not.",
5676
+ type: "boolean",
5677
+ },
5678
+ },
5679
+ type: "object",
5680
+ },
4730
5681
  GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig: {
4731
5682
  description: "Additional config for SignInWithApple.",
4732
5683
  properties: {
@@ -4741,6 +5692,41 @@ exports.default = {
4741
5692
  },
4742
5693
  type: "object",
4743
5694
  },
5695
+ GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig: {
5696
+ description: "Configuration related to Blocking Functions.",
5697
+ properties: {
5698
+ forwardInboundCredentials: {
5699
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials",
5700
+ },
5701
+ triggers: {
5702
+ additionalProperties: {
5703
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Trigger",
5704
+ },
5705
+ description: 'Map of Trigger to event type. Key should be one of the supported event types: "beforeCreate", "beforeSignIn"',
5706
+ type: "object",
5707
+ },
5708
+ },
5709
+ type: "object",
5710
+ },
5711
+ GoogleCloudIdentitytoolkitAdminV2ClientConfig: {
5712
+ description: "Options related to how clients making requests on behalf of a project should be configured.",
5713
+ properties: {
5714
+ apiKey: {
5715
+ description: "Output only. API key that can be used when making requests for this project.",
5716
+ readOnly: true,
5717
+ type: "string",
5718
+ },
5719
+ firebaseSubdomain: {
5720
+ description: "Output only. Firebase subdomain.",
5721
+ readOnly: true,
5722
+ type: "string",
5723
+ },
5724
+ permissions: {
5725
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Permissions",
5726
+ },
5727
+ },
5728
+ type: "object",
5729
+ },
4744
5730
  GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig: {
4745
5731
  description: "Additional config for Apple for code flow.",
4746
5732
  properties: {
@@ -4753,6 +5739,46 @@ exports.default = {
4753
5739
  },
4754
5740
  type: "object",
4755
5741
  },
5742
+ GoogleCloudIdentitytoolkitAdminV2Config: {
5743
+ description: "Represents an Identity Toolkit project.",
5744
+ properties: {
5745
+ authorizedDomains: {
5746
+ description: "List of domains authorized for OAuth redirects",
5747
+ items: { type: "string" },
5748
+ type: "array",
5749
+ },
5750
+ blockingFunctions: {
5751
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig",
5752
+ },
5753
+ client: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2ClientConfig" },
5754
+ mfa: {
5755
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
5756
+ },
5757
+ monitoring: {
5758
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
5759
+ },
5760
+ multiTenant: {
5761
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig",
5762
+ },
5763
+ name: {
5764
+ description: 'Output only. The name of the Config resource. Example: "projects/my-awesome-project/config"',
5765
+ readOnly: true,
5766
+ type: "string",
5767
+ },
5768
+ notification: {
5769
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2NotificationConfig",
5770
+ },
5771
+ quota: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2QuotaConfig" },
5772
+ signIn: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SignInConfig" },
5773
+ subtype: {
5774
+ description: "Output only. The subtype of this config.",
5775
+ enum: ["SUBTYPE_UNSPECIFIED", "IDENTITY_PLATFORM", "FIREBASE_AUTH"],
5776
+ readOnly: true,
5777
+ type: "string",
5778
+ },
5779
+ },
5780
+ type: "object",
5781
+ },
4756
5782
  GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp: {
4757
5783
  description: "Standard Identity Toolkit-trusted IDPs.",
4758
5784
  properties: {
@@ -4780,6 +5806,94 @@ exports.default = {
4780
5806
  },
4781
5807
  type: "object",
4782
5808
  },
5809
+ GoogleCloudIdentitytoolkitAdminV2DnsInfo: {
5810
+ description: "Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain.",
5811
+ properties: {
5812
+ customDomain: {
5813
+ description: "Output only. The applied verified custom domain.",
5814
+ readOnly: true,
5815
+ type: "string",
5816
+ },
5817
+ customDomainState: {
5818
+ description: "Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful.",
5819
+ enum: [
5820
+ "VERIFICATION_STATE_UNSPECIFIED",
5821
+ "NOT_STARTED",
5822
+ "IN_PROGRESS",
5823
+ "FAILED",
5824
+ "SUCCEEDED",
5825
+ ],
5826
+ readOnly: true,
5827
+ type: "string",
5828
+ },
5829
+ domainVerificationRequestTime: {
5830
+ description: "Output only. The timestamp of initial request for the current domain verification.",
5831
+ format: "google-datetime",
5832
+ readOnly: true,
5833
+ type: "string",
5834
+ },
5835
+ pendingCustomDomain: {
5836
+ description: "Output only. The custom domain that's to be verified.",
5837
+ readOnly: true,
5838
+ type: "string",
5839
+ },
5840
+ useCustomDomain: { description: "Whether to use custom domain.", type: "boolean" },
5841
+ },
5842
+ type: "object",
5843
+ },
5844
+ GoogleCloudIdentitytoolkitAdminV2Email: {
5845
+ description: "Configuration options related to authenticating a user by their email address.",
5846
+ properties: {
5847
+ enabled: {
5848
+ description: "Whether email auth is enabled for the project or not.",
5849
+ type: "boolean",
5850
+ },
5851
+ passwordRequired: {
5852
+ description: "Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.",
5853
+ type: "boolean",
5854
+ },
5855
+ },
5856
+ type: "object",
5857
+ },
5858
+ GoogleCloudIdentitytoolkitAdminV2EmailTemplate: {
5859
+ 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.",
5860
+ properties: {
5861
+ body: { description: "Email body", type: "string" },
5862
+ bodyFormat: {
5863
+ description: "Email body format",
5864
+ enum: ["BODY_FORMAT_UNSPECIFIED", "PLAIN_TEXT", "HTML"],
5865
+ type: "string",
5866
+ },
5867
+ customized: {
5868
+ description: "Output only. Whether the body or subject of the email is customized.",
5869
+ readOnly: true,
5870
+ type: "boolean",
5871
+ },
5872
+ replyTo: { description: "Reply-to address", type: "string" },
5873
+ senderDisplayName: { description: "Sender display name", type: "string" },
5874
+ senderLocalPart: { description: "Local part of From address", type: "string" },
5875
+ subject: { description: "Subject of the email", type: "string" },
5876
+ },
5877
+ type: "object",
5878
+ },
5879
+ GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials: {
5880
+ description: "Indicates which credentials to pass to the registered Blocking Functions.",
5881
+ properties: {
5882
+ accessToken: {
5883
+ description: "Whether to pass the user's OAuth identity provider's access token.",
5884
+ type: "boolean",
5885
+ },
5886
+ idToken: {
5887
+ description: "Whether to pass the user's OIDC identity provider's ID token.",
5888
+ type: "boolean",
5889
+ },
5890
+ refreshToken: {
5891
+ description: "Whether to pass the user's OAuth identity provider's refresh token.",
5892
+ type: "boolean",
5893
+ },
5894
+ },
5895
+ type: "object",
5896
+ },
4783
5897
  GoogleCloudIdentitytoolkitAdminV2HashConfig: {
4784
5898
  description: "History information of the hash algorithm and key. Different accounts' passwords may be generated by different version.",
4785
5899
  properties: {
@@ -4871,6 +5985,16 @@ exports.default = {
4871
5985
  },
4872
5986
  type: "object",
4873
5987
  },
5988
+ GoogleCloudIdentitytoolkitAdminV2Inheritance: {
5989
+ description: "Settings that the tenants will inherit from project level.",
5990
+ properties: {
5991
+ emailSendingConfig: {
5992
+ description: "Whether to allow the tenant to inherit custom domains, email templates, and custom SMTP settings. If true, email sent from tenant will follow the project level email sending configurations. If false (by default), emails will go with the default settings with no customizations.",
5993
+ type: "boolean",
5994
+ },
5995
+ },
5996
+ type: "object",
5997
+ },
4874
5998
  GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse: {
4875
5999
  description: "Response for DefaultSupportedIdpConfigs",
4876
6000
  properties: {
@@ -4952,6 +6076,15 @@ exports.default = {
4952
6076
  },
4953
6077
  type: "object",
4954
6078
  },
6079
+ GoogleCloudIdentitytoolkitAdminV2MonitoringConfig: {
6080
+ description: "Configuration related to monitoring project activity.",
6081
+ properties: {
6082
+ requestLogging: {
6083
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2RequestLogging",
6084
+ },
6085
+ },
6086
+ type: "object",
6087
+ },
4955
6088
  GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig: {
4956
6089
  description: "Options related to MultiFactor Authentication for the project.",
4957
6090
  properties: {
@@ -4968,6 +6101,32 @@ exports.default = {
4968
6101
  },
4969
6102
  type: "object",
4970
6103
  },
6104
+ GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig: {
6105
+ description: "Configuration related to multi-tenant functionality.",
6106
+ properties: {
6107
+ allowTenants: {
6108
+ description: "Whether this project can have tenants or not.",
6109
+ type: "boolean",
6110
+ },
6111
+ defaultTenantLocation: {
6112
+ description: 'The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of "/", such as "folders/123" or "organizations/456". If the value is not set, the tenant will be created under the same organization or folder as the agent project.',
6113
+ type: "string",
6114
+ },
6115
+ },
6116
+ type: "object",
6117
+ },
6118
+ GoogleCloudIdentitytoolkitAdminV2NotificationConfig: {
6119
+ description: "Configuration related to sending notifications to users.",
6120
+ properties: {
6121
+ defaultLocale: {
6122
+ description: "Default locale used for email and SMS in IETF BCP 47 format.",
6123
+ type: "string",
6124
+ },
6125
+ sendEmail: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SendEmail" },
6126
+ sendSms: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SendSms" },
6127
+ },
6128
+ type: "object",
6129
+ },
4971
6130
  GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig: {
4972
6131
  description: "Configuration options for authenticating with an OAuth IDP.",
4973
6132
  properties: {
@@ -4996,7 +6155,7 @@ exports.default = {
4996
6155
  type: "object",
4997
6156
  },
4998
6157
  GoogleCloudIdentitytoolkitAdminV2OAuthResponseType: {
4999
- description: "The multiple response type to request for in the OAuth authorization flow. This can possibly be a combination of set bits (e.g. {id_token, token}).",
6158
+ description: "The response type to request for in the OAuth authorization flow. You can set either `id_token` or `code` to true, but not both. Setting both types to be simultaneously true (`{code: true, id_token: true}`) is not yet supported. See https://openid.net/specs/openid-connect-core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow.",
5000
6159
  properties: {
5001
6160
  code: {
5002
6161
  description: "If true, authorization code is returned from IdP's authorization endpoint.",
@@ -5007,9 +6166,142 @@ exports.default = {
5007
6166
  type: "boolean",
5008
6167
  },
5009
6168
  token: {
5010
- description: "If true, access token is returned from IdP's authorization endpoint.",
6169
+ description: "Do not use. The `token` response type is not supported at the moment.",
6170
+ type: "boolean",
6171
+ },
6172
+ },
6173
+ type: "object",
6174
+ },
6175
+ GoogleCloudIdentitytoolkitAdminV2Permissions: {
6176
+ description: "Configuration related to restricting a user's ability to affect their account.",
6177
+ properties: {
6178
+ disabledUserDeletion: {
6179
+ description: "When true, end users cannot delete their account on the associated project through any of our API methods",
6180
+ type: "boolean",
6181
+ },
6182
+ disabledUserSignup: {
6183
+ description: "When true, end users cannot sign up for a new account on the associated project through any of our API methods",
6184
+ type: "boolean",
6185
+ },
6186
+ },
6187
+ type: "object",
6188
+ },
6189
+ GoogleCloudIdentitytoolkitAdminV2PhoneNumber: {
6190
+ description: "Configuration options related to authenticated a user by their phone number.",
6191
+ properties: {
6192
+ enabled: {
6193
+ description: "Whether phone number auth is enabled for the project or not.",
6194
+ type: "boolean",
6195
+ },
6196
+ testPhoneNumbers: {
6197
+ additionalProperties: { type: "string" },
6198
+ description: "A map of that can be used for phone auth testing.",
6199
+ type: "object",
6200
+ },
6201
+ },
6202
+ type: "object",
6203
+ },
6204
+ GoogleCloudIdentitytoolkitAdminV2QuotaConfig: {
6205
+ description: "Configuration related to quotas.",
6206
+ properties: {
6207
+ signUpQuotaConfig: {
6208
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2TemporaryQuota",
6209
+ },
6210
+ },
6211
+ type: "object",
6212
+ },
6213
+ GoogleCloudIdentitytoolkitAdminV2RequestLogging: {
6214
+ description: "Configuration for logging requests made to this project to Stackdriver Logging",
6215
+ properties: {
6216
+ enabled: {
6217
+ description: "Whether logging is enabled for this project or not.",
6218
+ type: "boolean",
6219
+ },
6220
+ },
6221
+ type: "object",
6222
+ },
6223
+ GoogleCloudIdentitytoolkitAdminV2SendEmail: {
6224
+ description: "Options for email sending.",
6225
+ properties: {
6226
+ callbackUri: { description: "action url in email template.", type: "string" },
6227
+ changeEmailTemplate: {
6228
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailTemplate",
6229
+ },
6230
+ dnsInfo: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DnsInfo" },
6231
+ legacyResetPasswordTemplate: {
6232
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailTemplate",
6233
+ },
6234
+ method: {
6235
+ description: "The method used for sending an email.",
6236
+ enum: ["METHOD_UNSPECIFIED", "DEFAULT", "CUSTOM_SMTP"],
6237
+ type: "string",
6238
+ },
6239
+ resetPasswordTemplate: {
6240
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailTemplate",
6241
+ },
6242
+ revertSecondFactorAdditionTemplate: {
6243
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailTemplate",
6244
+ },
6245
+ smtp: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Smtp" },
6246
+ verifyEmailTemplate: {
6247
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2EmailTemplate",
6248
+ },
6249
+ },
6250
+ type: "object",
6251
+ },
6252
+ GoogleCloudIdentitytoolkitAdminV2SendSms: {
6253
+ description: "Options for SMS sending.",
6254
+ properties: {
6255
+ smsTemplate: {
6256
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2SmsTemplate",
6257
+ },
6258
+ useDeviceLocale: {
6259
+ description: "Whether to use the accept_language header for SMS.",
6260
+ type: "boolean",
6261
+ },
6262
+ },
6263
+ type: "object",
6264
+ },
6265
+ GoogleCloudIdentitytoolkitAdminV2SignInConfig: {
6266
+ description: "Configuration related to local sign in methods.",
6267
+ properties: {
6268
+ allowDuplicateEmails: {
6269
+ description: "Whether to allow more than one account to have the same email.",
5011
6270
  type: "boolean",
5012
6271
  },
6272
+ anonymous: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Anonymous" },
6273
+ email: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Email" },
6274
+ hashConfig: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2HashConfig" },
6275
+ phoneNumber: {
6276
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2PhoneNumber",
6277
+ },
6278
+ },
6279
+ type: "object",
6280
+ },
6281
+ GoogleCloudIdentitytoolkitAdminV2SmsTemplate: {
6282
+ description: "The template to use when sending an SMS.",
6283
+ properties: {
6284
+ content: {
6285
+ description: "Output only. The SMS's content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app's display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS.",
6286
+ readOnly: true,
6287
+ type: "string",
6288
+ },
6289
+ },
6290
+ type: "object",
6291
+ },
6292
+ GoogleCloudIdentitytoolkitAdminV2Smtp: {
6293
+ description: "Configuration for SMTP relay",
6294
+ properties: {
6295
+ host: { description: "SMTP relay host", type: "string" },
6296
+ password: { description: "SMTP relay password", type: "string" },
6297
+ port: { description: "SMTP relay port", format: "int32", type: "integer" },
6298
+ securityMode: {
6299
+ description: "SMTP security mode.",
6300
+ enum: ["SECURITY_MODE_UNSPECIFIED", "SSL", "START_TLS"],
6301
+ type: "string",
6302
+ },
6303
+ senderEmail: { description: "Sender email for the SMTP relay", type: "string" },
6304
+ username: { description: "SMTP relay username", type: "string" },
5013
6305
  },
5014
6306
  type: "object",
5015
6307
  },
@@ -5042,6 +6334,27 @@ exports.default = {
5042
6334
  },
5043
6335
  type: "object",
5044
6336
  },
6337
+ GoogleCloudIdentitytoolkitAdminV2TemporaryQuota: {
6338
+ description: "Temporary quota increase / decrease",
6339
+ properties: {
6340
+ quota: {
6341
+ description: "Corresponds to the 'refill_token_count' field in QuotaServer config",
6342
+ format: "int64",
6343
+ type: "string",
6344
+ },
6345
+ quotaDuration: {
6346
+ description: "How long this quota will be active for",
6347
+ format: "google-duration",
6348
+ type: "string",
6349
+ },
6350
+ startTime: {
6351
+ description: "When this quota will take affect",
6352
+ format: "google-datetime",
6353
+ type: "string",
6354
+ },
6355
+ },
6356
+ type: "object",
6357
+ },
5045
6358
  GoogleCloudIdentitytoolkitAdminV2Tenant: {
5046
6359
  description: "A Tenant contains configuration for the tenant in a multi-tenant project.",
5047
6360
  properties: {
@@ -5063,6 +6376,9 @@ exports.default = {
5063
6376
  type: "boolean",
5064
6377
  },
5065
6378
  hashConfig: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2HashConfig" },
6379
+ inheritance: {
6380
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Inheritance",
6381
+ },
5066
6382
  mfaConfig: {
5067
6383
  $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
5068
6384
  },
@@ -5079,6 +6395,18 @@ exports.default = {
5079
6395
  },
5080
6396
  type: "object",
5081
6397
  },
6398
+ GoogleCloudIdentitytoolkitAdminV2Trigger: {
6399
+ description: "Synchronous Cloud Function with HTTP Trigger",
6400
+ properties: {
6401
+ functionUri: { description: "HTTP URI trigger for the Cloud Function.", type: "string" },
6402
+ updateTime: {
6403
+ description: "When the trigger was changed.",
6404
+ format: "google-datetime",
6405
+ type: "string",
6406
+ },
6407
+ },
6408
+ type: "object",
6409
+ },
5082
6410
  GoogleCloudIdentitytoolkitV2AutoRetrievalInfo: {
5083
6411
  description: "The information required to auto-retrieve an SMS.",
5084
6412
  properties: {
@@ -5369,7 +6697,7 @@ exports.default = {
5369
6697
  type: "object",
5370
6698
  },
5371
6699
  GoogleIamV1Policy: {
5372
- description: 'An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp(\'2020-10-01T00:00:00.000Z\')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp(\'2020-10-01T00:00:00.000Z\') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).',
6700
+ description: 'An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp(\'2020-10-01T00:00:00.000Z\')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp(\'2020-10-01T00:00:00.000Z\') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).',
5373
6701
  properties: {
5374
6702
  auditConfigs: {
5375
6703
  description: "Specifies cloud audit logging configuration for this policy.",
@@ -5377,7 +6705,7 @@ exports.default = {
5377
6705
  type: "array",
5378
6706
  },
5379
6707
  bindings: {
5380
- description: "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.",
6708
+ description: "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. The `bindings` in a `Policy` can refer to up to 1,500 members; up to 250 of these members can be Google groups. Each occurrence of a member counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other member, then you can add another 1,450 members to the `bindings` in the `Policy`.",
5381
6709
  items: { $ref: "#/components/schemas/GoogleIamV1Binding" },
5382
6710
  type: "array",
5383
6711
  },
@@ -5503,6 +6831,7 @@ exports.default = {
5503
6831
  description: "Emulator-specific configuration.",
5504
6832
  properties: {
5505
6833
  signIn: { properties: { allowDuplicateEmails: { type: "boolean" } }, type: "object" },
6834
+ usageMode: { enum: ["USAGE_MODE_UNSPECIFIED", "DEFAULT", "PASSTHROUGH"], type: "string" },
5506
6835
  },
5507
6836
  },
5508
6837
  EmulatorV1ProjectsOobCodes: {
@@ -5670,6 +6999,31 @@ exports.default = {
5670
6999
  },
5671
7000
  },
5672
7001
  },
7002
+ GoogleCloudIdentitytoolkitAdminV2Tenant: {
7003
+ content: {
7004
+ "application/json": {
7005
+ schema: { $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant" },
7006
+ },
7007
+ },
7008
+ },
7009
+ GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig: {
7010
+ content: {
7011
+ "application/json": {
7012
+ schema: {
7013
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2InboundSamlConfig",
7014
+ },
7015
+ },
7016
+ },
7017
+ },
7018
+ GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig: {
7019
+ content: {
7020
+ "application/json": {
7021
+ schema: {
7022
+ $ref: "#/components/schemas/GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdpConfig",
7023
+ },
7024
+ },
7025
+ },
7026
+ },
5673
7027
  GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig: {
5674
7028
  content: {
5675
7029
  "application/json": {
@@ -5688,7 +7042,7 @@ exports.default = {
5688
7042
  implicit: {
5689
7043
  authorizationUrl: "https://accounts.google.com/o/oauth2/auth",
5690
7044
  scopes: {
5691
- "https://www.googleapis.com/auth/cloud-platform": "See, edit, configure, and delete your Google Cloud Platform data",
7045
+ "https://www.googleapis.com/auth/cloud-platform": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.",
5692
7046
  "https://www.googleapis.com/auth/firebase": "View and administer all your Firebase data and settings",
5693
7047
  },
5694
7048
  },
@@ -5696,7 +7050,7 @@ exports.default = {
5696
7050
  authorizationUrl: "https://accounts.google.com/o/oauth2/auth",
5697
7051
  tokenUrl: "https://accounts.google.com/o/oauth2/token",
5698
7052
  scopes: {
5699
- "https://www.googleapis.com/auth/cloud-platform": "See, edit, configure, and delete your Google Cloud Platform data",
7053
+ "https://www.googleapis.com/auth/cloud-platform": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.",
5700
7054
  "https://www.googleapis.com/auth/firebase": "View and administer all your Firebase data and settings",
5701
7055
  },
5702
7056
  },