Skip to content

Commit 5311cf9

Browse files
feat(identitytoolkit): update the api
#### identitytoolkit:v2 The following keys were added: - schemas.GoogleCloudIdentitytoolkitAdminV2AllowByDefault (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitAdminV2AllowlistOnly (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.smsRegionConfig.$ref (Total Keys: 1) - schemas.GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.smsRegionConfig.$ref (Total Keys: 1)
1 parent 14020d7 commit 5311cf9

File tree

4 files changed

+161
-2
lines changed

4 files changed

+161
-2
lines changed

docs/dyn/identitytoolkit_v2.projects.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,18 @@ <h3>Method Details</h3>
273273
},
274274
},
275275
},
276+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
277+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
278+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
279+
&quot;A String&quot;,
280+
],
281+
},
282+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
283+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
284+
&quot;A String&quot;,
285+
],
286+
},
287+
},
276288
&quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
277289
}</pre>
278290
</div>
@@ -431,6 +443,18 @@ <h3>Method Details</h3>
431443
},
432444
},
433445
},
446+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
447+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
448+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
449+
&quot;A String&quot;,
450+
],
451+
},
452+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
453+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
454+
&quot;A String&quot;,
455+
],
456+
},
457+
},
434458
&quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
435459
}
436460

@@ -588,6 +612,18 @@ <h3>Method Details</h3>
588612
},
589613
},
590614
},
615+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
616+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
617+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
618+
&quot;A String&quot;,
619+
],
620+
},
621+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
622+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
623+
&quot;A String&quot;,
624+
],
625+
},
626+
},
591627
&quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
592628
}</pre>
593629
</div>

docs/dyn/identitytoolkit_v2.projects.tenants.html

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,18 @@ <h3>Method Details</h3>
169169
},
170170
},
171171
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
172+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
173+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
174+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
175+
&quot;A String&quot;,
176+
],
177+
},
178+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
179+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
180+
&quot;A String&quot;,
181+
],
182+
},
183+
},
172184
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
173185
&quot;a_key&quot;: &quot;A String&quot;,
174186
},
@@ -217,6 +229,18 @@ <h3>Method Details</h3>
217229
},
218230
},
219231
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
232+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
233+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
234+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
235+
&quot;A String&quot;,
236+
],
237+
},
238+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
239+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
240+
&quot;A String&quot;,
241+
],
242+
},
243+
},
220244
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
221245
&quot;a_key&quot;: &quot;A String&quot;,
222246
},
@@ -290,6 +314,18 @@ <h3>Method Details</h3>
290314
},
291315
},
292316
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
317+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
318+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
319+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
320+
&quot;A String&quot;,
321+
],
322+
},
323+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
324+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
325+
&quot;A String&quot;,
326+
],
327+
},
328+
},
293329
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
294330
&quot;a_key&quot;: &quot;A String&quot;,
295331
},
@@ -406,6 +442,18 @@ <h3>Method Details</h3>
406442
},
407443
},
408444
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
445+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
446+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
447+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
448+
&quot;A String&quot;,
449+
],
450+
},
451+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
452+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
453+
&quot;A String&quot;,
454+
],
455+
},
456+
},
409457
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
410458
&quot;a_key&quot;: &quot;A String&quot;,
411459
},
@@ -472,6 +520,18 @@ <h3>Method Details</h3>
472520
},
473521
},
474522
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
523+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
524+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
525+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
526+
&quot;A String&quot;,
527+
],
528+
},
529+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
530+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
531+
&quot;A String&quot;,
532+
],
533+
},
534+
},
475535
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
476536
&quot;a_key&quot;: &quot;A String&quot;,
477537
},
@@ -521,6 +581,18 @@ <h3>Method Details</h3>
521581
},
522582
},
523583
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
584+
&quot;smsRegionConfig&quot;: { # Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. # Configures which regions are enabled for SMS verification code sending.
585+
&quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
586+
&quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
587+
&quot;A String&quot;,
588+
],
589+
},
590+
&quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
591+
&quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
592+
&quot;A String&quot;,
593+
],
594+
},
595+
},
524596
&quot;testPhoneNumbers&quot;: { # A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
525597
&quot;a_key&quot;: &quot;A String&quot;,
526598
},

googleapiclient/discovery_cache/documents/identitytoolkit.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
}
12381238
}
12391239
},
1240-
"revision": "20220910",
1240+
"revision": "20220916",
12411241
"rootUrl": "https://identitytoolkit.googleapis.com/",
12421242
"schemas": {
12431243
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {

googleapiclient/discovery_cache/documents/identitytoolkit.v2.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,9 +1559,37 @@
15591559
}
15601560
}
15611561
},
1562-
"revision": "20220910",
1562+
"revision": "20220916",
15631563
"rootUrl": "https://identitytoolkit.googleapis.com/",
15641564
"schemas": {
1565+
"GoogleCloudIdentitytoolkitAdminV2AllowByDefault": {
1566+
"description": "Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.",
1567+
"id": "GoogleCloudIdentitytoolkitAdminV2AllowByDefault",
1568+
"properties": {
1569+
"disallowedRegions": {
1570+
"description": "Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
1571+
"items": {
1572+
"type": "string"
1573+
},
1574+
"type": "array"
1575+
}
1576+
},
1577+
"type": "object"
1578+
},
1579+
"GoogleCloudIdentitytoolkitAdminV2AllowlistOnly": {
1580+
"description": "Defines a policy of only allowing regions by explicitly adding them to an allowlist.",
1581+
"id": "GoogleCloudIdentitytoolkitAdminV2AllowlistOnly",
1582+
"properties": {
1583+
"allowedRegions": {
1584+
"description": "Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
1585+
"items": {
1586+
"type": "string"
1587+
},
1588+
"type": "array"
1589+
}
1590+
},
1591+
"type": "object"
1592+
},
15651593
"GoogleCloudIdentitytoolkitAdminV2Anonymous": {
15661594
"description": "Configuration options related to authenticating an anonymous user.",
15671595
"id": "GoogleCloudIdentitytoolkitAdminV2Anonymous",
@@ -1726,6 +1754,10 @@
17261754
"$ref": "GoogleCloudIdentitytoolkitAdminV2SignInConfig",
17271755
"description": "Configuration related to local sign in methods."
17281756
},
1757+
"smsRegionConfig": {
1758+
"$ref": "GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
1759+
"description": "Configures which regions are enabled for SMS verification code sending."
1760+
},
17291761
"subtype": {
17301762
"description": "Output only. The subtype of this config.",
17311763
"enum": [
@@ -2444,6 +2476,21 @@
24442476
},
24452477
"type": "object"
24462478
},
2479+
"GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig": {
2480+
"description": "Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number.",
2481+
"id": "GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
2482+
"properties": {
2483+
"allowByDefault": {
2484+
"$ref": "GoogleCloudIdentitytoolkitAdminV2AllowByDefault",
2485+
"description": "A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list."
2486+
},
2487+
"allowlistOnly": {
2488+
"$ref": "GoogleCloudIdentitytoolkitAdminV2AllowlistOnly",
2489+
"description": "A policy of only allowing regions by explicitly adding them to an allowlist."
2490+
}
2491+
},
2492+
"type": "object"
2493+
},
24472494
"GoogleCloudIdentitytoolkitAdminV2SmsTemplate": {
24482495
"description": "The template to use when sending an SMS.",
24492496
"id": "GoogleCloudIdentitytoolkitAdminV2SmsTemplate",
@@ -2613,6 +2660,10 @@
26132660
"readOnly": true,
26142661
"type": "string"
26152662
},
2663+
"smsRegionConfig": {
2664+
"$ref": "GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
2665+
"description": "Configures which regions are enabled for SMS verification code sending."
2666+
},
26162667
"testPhoneNumbers": {
26172668
"additionalProperties": {
26182669
"type": "string"

0 commit comments

Comments
 (0)