Skip to content

Commit 150260b

Browse files
feat(identitytoolkit)!: update the API
BREAKING CHANGE: This release has breaking changes. #### identitytoolkit:v1 The following keys were deleted: - schemas.GoogleCloudIdentitytoolkitV1GetAccountInfoRequest.properties.federatedUserId.description - schemas.GoogleCloudIdentitytoolkitV1IdpConfig.properties.provider.description - schemas.GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.properties.expression.description - schemas.GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.properties.order.description - schemas.GoogleCloudIdentitytoolkitV1QueryUserInfoRequest.properties.sortBy.description - schemas.GoogleCloudIdentitytoolkitV1SetAccountInfoRequest.properties.deleteAttribute.description - schemas.GoogleCloudIdentitytoolkitV1UploadAccountRequest.properties.passwordHashOrder.description The following keys were added: - schemas.GoogleCloudIdentitytoolkitV1GetOobCodeRequest.properties.linkDomain.description - schemas.GoogleCloudIdentitytoolkitV1GetOobCodeRequest.properties.linkDomain.type #### identitytoolkit:v2 The following keys were added: - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.defaultHostingSite.description - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.defaultHostingSite.readOnly - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.defaultHostingSite.type - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.mobileLinksConfig.$ref - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.mobileLinksConfig.description - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.description - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.id - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.properties.domain.description - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.properties.domain.enum - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.properties.domain.enumDescriptions - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.properties.domain.type - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig.type - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.mobileLinksConfig.$ref - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.mobileLinksConfig.deprecated - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.mobileLinksConfig.description
1 parent 3190d05 commit 150260b

File tree

3 files changed

+62
-9
lines changed

3 files changed

+62
-9
lines changed

discovery/identitytoolkit-v1.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@
12391239
}
12401240
}
12411241
},
1242-
"revision": "20241205",
1242+
"revision": "20250130",
12431243
"rootUrl": "https://identitytoolkit.googleapis.com/",
12441244
"schemas": {
12451245
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
@@ -1694,7 +1694,6 @@
16941694
"type": "array"
16951695
},
16961696
"federatedUserId": {
1697-
"description": "The federated user identifier of one or more accounts to fetch. Should only be specified by authenticated requests bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).",
16981697
"items": {
16991698
"$ref": "GoogleCloudIdentitytoolkitV1FederatedUserIdentifier"
17001699
},
@@ -1822,6 +1821,10 @@
18221821
"description": "An ID token for the account. It is required for VERIFY_AND_CHANGE_EMAIL and VERIFY_EMAIL requests unless return_oob_link is set to true.",
18231822
"type": "string"
18241823
},
1824+
"linkDomain": {
1825+
"description": "Optional. In order to ensure that the url used can be easily opened in iOS or Android, we create a Hosting link '/__/auth/links'. This optional field contains the domain to use when constructing a Hosting link. If not set, '.firebaseapp.com' domain will be used.",
1826+
"type": "string"
1827+
},
18251828
"newEmail": {
18261829
"description": "The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL requests.",
18271830
"type": "string"
@@ -2037,7 +2040,6 @@
20372040
"type": "integer"
20382041
},
20392042
"provider": {
2040-
"description": "Name of the identity provider.",
20412043
"enum": [
20422044
"PROVIDER_UNSPECIFIED",
20432045
"MSLIVE",
@@ -2276,7 +2278,6 @@
22762278
"id": "GoogleCloudIdentitytoolkitV1QueryUserInfoRequest",
22772279
"properties": {
22782280
"expression": {
2279-
"description": "Query conditions used to filter results. If more than one is passed, only the first SqlExpression is evaluated.",
22802281
"items": {
22812282
"$ref": "GoogleCloudIdentitytoolkitV1SqlExpression"
22822283
},
@@ -2293,7 +2294,6 @@
22932294
"type": "string"
22942295
},
22952296
"order": {
2296-
"description": "The order for sorting query result. Defaults to __ascending__ order. Only valid when `return_user_info` is set to `true`.",
22972297
"enum": [
22982298
"ORDER_UNSPECIFIED",
22992299
"ASC",
@@ -2311,7 +2311,6 @@
23112311
"type": "boolean"
23122312
},
23132313
"sortBy": {
2314-
"description": "The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` is set to `true`.",
23152314
"enum": [
23162315
"SORT_BY_FIELD_UNSPECIFIED",
23172316
"USER_ID",
@@ -2549,7 +2548,6 @@
25492548
"type": "string"
25502549
},
25512550
"deleteAttribute": {
2552-
"description": "The account's attributes to be deleted.",
25532551
"items": {
25542552
"enum": [
25552553
"USER_ATTRIBUTE_NAME_UNSPECIFIED",
@@ -3638,7 +3636,6 @@
36383636
"type": "integer"
36393637
},
36403638
"passwordHashOrder": {
3641-
"description": "Password and salt order when verify password.",
36423639
"enum": [
36433640
"UNSPECIFIED_ORDER",
36443641
"SALT_AND_PASSWORD",

discovery/identitytoolkit-v2.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@
16551655
}
16561656
}
16571657
},
1658-
"revision": "20241024",
1658+
"revision": "20250130",
16591659
"rootUrl": "https://identitytoolkit.googleapis.com/",
16601660
"schemas": {
16611661
"GoogleCloudIdentitytoolkitAdminV2AllowByDefault": {
@@ -1822,6 +1822,11 @@
18221822
"$ref": "GoogleCloudIdentitytoolkitAdminV2ClientConfig",
18231823
"description": "Options related to how clients making requests on behalf of a project should be configured."
18241824
},
1825+
"defaultHostingSite": {
1826+
"description": "Output only. Default Firebase hosting site name",
1827+
"readOnly": true,
1828+
"type": "string"
1829+
},
18251830
"emailPrivacyConfig": {
18261831
"$ref": "GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig",
18271832
"description": "Configuration for settings related to email privacy and public visibility."
@@ -1830,6 +1835,10 @@
18301835
"$ref": "GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
18311836
"description": "Configuration for this project's multi-factor authentication, including whether it is active and what factors can be used for the second factor"
18321837
},
1838+
"mobileLinksConfig": {
1839+
"$ref": "GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig",
1840+
"description": "Configuration for settings related to univeral links (iOS) and app links (Android)."
1841+
},
18331842
"monitoring": {
18341843
"$ref": "GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
18351844
"description": "Configuration related to monitoring project activity."
@@ -2340,6 +2349,27 @@
23402349
},
23412350
"type": "object"
23422351
},
2352+
"GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig": {
2353+
"description": "Configuration mobile links.",
2354+
"id": "GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig",
2355+
"properties": {
2356+
"domain": {
2357+
"description": "Open code in app domain to use for app links and universal links.",
2358+
"enum": [
2359+
"DOMAIN_UNSPECIFIED",
2360+
"FIREBASE_DYNAMIC_LINK_DOMAIN",
2361+
"HOSTING_DOMAIN"
2362+
],
2363+
"enumDescriptions": [
2364+
"Default value. The default domain is the Firebase Dynamic Link domain before the FDL deprecation and the hosting domain after the FDL deprecation.",
2365+
"Use Firebase Dynamic Link domain as app link domain. Default value.",
2366+
"Use hosting domain as app link domain."
2367+
],
2368+
"type": "string"
2369+
}
2370+
},
2371+
"type": "object"
2372+
},
23432373
"GoogleCloudIdentitytoolkitAdminV2MonitoringConfig": {
23442374
"description": "Configuration related to monitoring project activity.",
23452375
"id": "GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
@@ -3045,6 +3075,11 @@
30453075
"$ref": "GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
30463076
"description": "The tenant-level configuration of MFA options."
30473077
},
3078+
"mobileLinksConfig": {
3079+
"$ref": "GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig",
3080+
"deprecated": true,
3081+
"description": "Optional. Deprecated. Never launched. Configuration for settings related to univeral links (iOS) and app links (Android)."
3082+
},
30483083
"monitoring": {
30493084
"$ref": "GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
30503085
"description": "Configuration related to monitoring project activity."

src/apis/identitytoolkit/v2.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ export namespace identitytoolkit_v2 {
263263
* Options related to how clients making requests on behalf of a project should be configured.
264264
*/
265265
client?: Schema$GoogleCloudIdentitytoolkitAdminV2ClientConfig;
266+
/**
267+
* Output only. Default Firebase hosting site name
268+
*/
269+
defaultHostingSite?: string | null;
266270
/**
267271
* Configuration for settings related to email privacy and public visibility.
268272
*/
@@ -271,6 +275,10 @@ export namespace identitytoolkit_v2 {
271275
* Configuration for this project's multi-factor authentication, including whether it is active and what factors can be used for the second factor
272276
*/
273277
mfa?: Schema$GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig;
278+
/**
279+
* Configuration for settings related to univeral links (iOS) and app links (Android).
280+
*/
281+
mobileLinksConfig?: Schema$GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig;
274282
/**
275283
* Configuration related to monitoring project activity.
276284
*/
@@ -638,6 +646,15 @@ export namespace identitytoolkit_v2 {
638646
*/
639647
tenants?: Schema$GoogleCloudIdentitytoolkitAdminV2Tenant[];
640648
}
649+
/**
650+
* Configuration mobile links.
651+
*/
652+
export interface Schema$GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig {
653+
/**
654+
* Open code in app domain to use for app links and universal links.
655+
*/
656+
domain?: string | null;
657+
}
641658
/**
642659
* Configuration related to monitoring project activity.
643660
*/
@@ -1136,6 +1153,10 @@ export namespace identitytoolkit_v2 {
11361153
* The tenant-level configuration of MFA options.
11371154
*/
11381155
mfaConfig?: Schema$GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig;
1156+
/**
1157+
* Optional. Deprecated. Never launched. Configuration for settings related to univeral links (iOS) and app links (Android).
1158+
*/
1159+
mobileLinksConfig?: Schema$GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig;
11391160
/**
11401161
* Configuration related to monitoring project activity.
11411162
*/

0 commit comments

Comments
 (0)