google-apis-identitytoolkit_v2 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a291ade7a21d59350806fb60774348b2bea16f4aed30ca30975605dc30a00a
|
4
|
+
data.tar.gz: fc032b225370a8f2bed90c4fca296b3c3666733629b9c18995a997d632c5b944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e7399441292a84aa6ec6839d13e4578c3bf08bf78131da81a115a8dcc3c0d5449749c681933451fb0a9adcc2bcdf1aeda1377752ebd22b8c5ecb21f82cc6e3
|
7
|
+
data.tar.gz: 2f13bfcbd298c2ebbdd0ec31eaaceba37724d77fb1ea0bf128ca804efc3e13bcb1b4d782cf1f316a2f47c93e0cd7a22f3f8456c269863f9276363562bbaaf67d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-identitytoolkit_v2
|
2
2
|
|
3
|
+
### v0.3.0 (2022-09-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220916
|
6
|
+
* Regenerated using generator version 0.10.0
|
7
|
+
|
3
8
|
### v0.2.0 (2022-08-31)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220826
|
@@ -22,6 +22,50 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IdentitytoolkitV2
|
24
24
|
|
25
|
+
# Defines a policy of allowing every region by default and adding disallowed
|
26
|
+
# regions to a disallow list.
|
27
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowByDefault
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# Two letter unicode region codes to disallow as defined by https://cldr.unicode.
|
31
|
+
# org/ The full list of these region codes is here: https://github.com/unicode-
|
32
|
+
# cldr/cldr-localenames-full/blob/master/main/en/territories.json
|
33
|
+
# Corresponds to the JSON property `disallowedRegions`
|
34
|
+
# @return [Array<String>]
|
35
|
+
attr_accessor :disallowed_regions
|
36
|
+
|
37
|
+
def initialize(**args)
|
38
|
+
update!(**args)
|
39
|
+
end
|
40
|
+
|
41
|
+
# Update properties of this object
|
42
|
+
def update!(**args)
|
43
|
+
@disallowed_regions = args[:disallowed_regions] if args.key?(:disallowed_regions)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Defines a policy of only allowing regions by explicitly adding them to an
|
48
|
+
# allowlist.
|
49
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowlistOnly
|
50
|
+
include Google::Apis::Core::Hashable
|
51
|
+
|
52
|
+
# Two letter unicode region codes to allow as defined by https://cldr.unicode.
|
53
|
+
# org/ The full list of these region codes is here: https://github.com/unicode-
|
54
|
+
# cldr/cldr-localenames-full/blob/master/main/en/territories.json
|
55
|
+
# Corresponds to the JSON property `allowedRegions`
|
56
|
+
# @return [Array<String>]
|
57
|
+
attr_accessor :allowed_regions
|
58
|
+
|
59
|
+
def initialize(**args)
|
60
|
+
update!(**args)
|
61
|
+
end
|
62
|
+
|
63
|
+
# Update properties of this object
|
64
|
+
def update!(**args)
|
65
|
+
@allowed_regions = args[:allowed_regions] if args.key?(:allowed_regions)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
25
69
|
# Configuration options related to authenticating an anonymous user.
|
26
70
|
class GoogleCloudIdentitytoolkitAdminV2Anonymous
|
27
71
|
include Google::Apis::Core::Hashable
|
@@ -267,6 +311,13 @@ module Google
|
|
267
311
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig]
|
268
312
|
attr_accessor :sign_in
|
269
313
|
|
314
|
+
# Configures the regions where users are allowed to send verification SMS for
|
315
|
+
# the project or tenant. This is based on the calling code of the destination
|
316
|
+
# phone number.
|
317
|
+
# Corresponds to the JSON property `smsRegionConfig`
|
318
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]
|
319
|
+
attr_accessor :sms_region_config
|
320
|
+
|
270
321
|
# Output only. The subtype of this config.
|
271
322
|
# Corresponds to the JSON property `subtype`
|
272
323
|
# @return [String]
|
@@ -289,6 +340,7 @@ module Google
|
|
289
340
|
@notification = args[:notification] if args.key?(:notification)
|
290
341
|
@quota = args[:quota] if args.key?(:quota)
|
291
342
|
@sign_in = args[:sign_in] if args.key?(:sign_in)
|
343
|
+
@sms_region_config = args[:sms_region_config] if args.key?(:sms_region_config)
|
292
344
|
@subtype = args[:subtype] if args.key?(:subtype)
|
293
345
|
end
|
294
346
|
end
|
@@ -1330,6 +1382,35 @@ module Google
|
|
1330
1382
|
end
|
1331
1383
|
end
|
1332
1384
|
|
1385
|
+
# Configures the regions where users are allowed to send verification SMS for
|
1386
|
+
# the project or tenant. This is based on the calling code of the destination
|
1387
|
+
# phone number.
|
1388
|
+
class GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig
|
1389
|
+
include Google::Apis::Core::Hashable
|
1390
|
+
|
1391
|
+
# Defines a policy of allowing every region by default and adding disallowed
|
1392
|
+
# regions to a disallow list.
|
1393
|
+
# Corresponds to the JSON property `allowByDefault`
|
1394
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowByDefault]
|
1395
|
+
attr_accessor :allow_by_default
|
1396
|
+
|
1397
|
+
# Defines a policy of only allowing regions by explicitly adding them to an
|
1398
|
+
# allowlist.
|
1399
|
+
# Corresponds to the JSON property `allowlistOnly`
|
1400
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowlistOnly]
|
1401
|
+
attr_accessor :allowlist_only
|
1402
|
+
|
1403
|
+
def initialize(**args)
|
1404
|
+
update!(**args)
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# Update properties of this object
|
1408
|
+
def update!(**args)
|
1409
|
+
@allow_by_default = args[:allow_by_default] if args.key?(:allow_by_default)
|
1410
|
+
@allowlist_only = args[:allowlist_only] if args.key?(:allowlist_only)
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1333
1414
|
# The template to use when sending an SMS.
|
1334
1415
|
class GoogleCloudIdentitytoolkitAdminV2SmsTemplate
|
1335
1416
|
include Google::Apis::Core::Hashable
|
@@ -1555,12 +1636,24 @@ module Google
|
|
1555
1636
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]
|
1556
1637
|
attr_accessor :mfa_config
|
1557
1638
|
|
1639
|
+
# Configuration related to monitoring project activity.
|
1640
|
+
# Corresponds to the JSON property `monitoring`
|
1641
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig]
|
1642
|
+
attr_accessor :monitoring
|
1643
|
+
|
1558
1644
|
# Output only. Resource name of a tenant. For example: "projects/`project-id`/
|
1559
1645
|
# tenants/`tenant-id`"
|
1560
1646
|
# Corresponds to the JSON property `name`
|
1561
1647
|
# @return [String]
|
1562
1648
|
attr_accessor :name
|
1563
1649
|
|
1650
|
+
# Configures the regions where users are allowed to send verification SMS for
|
1651
|
+
# the project or tenant. This is based on the calling code of the destination
|
1652
|
+
# phone number.
|
1653
|
+
# Corresponds to the JSON property `smsRegionConfig`
|
1654
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]
|
1655
|
+
attr_accessor :sms_region_config
|
1656
|
+
|
1564
1657
|
# A map of pairs that can be used for MFA. The phone number should be in E.164
|
1565
1658
|
# format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be
|
1566
1659
|
# added (error will be thrown once exceeded).
|
@@ -1584,7 +1677,9 @@ module Google
|
|
1584
1677
|
@hash_config = args[:hash_config] if args.key?(:hash_config)
|
1585
1678
|
@inheritance = args[:inheritance] if args.key?(:inheritance)
|
1586
1679
|
@mfa_config = args[:mfa_config] if args.key?(:mfa_config)
|
1680
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
1587
1681
|
@name = args[:name] if args.key?(:name)
|
1682
|
+
@sms_region_config = args[:sms_region_config] if args.key?(:sms_region_config)
|
1588
1683
|
@test_phone_numbers = args[:test_phone_numbers] if args.key?(:test_phone_numbers)
|
1589
1684
|
end
|
1590
1685
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IdentitytoolkitV2
|
18
18
|
# Version of the google-apis-identitytoolkit_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220916"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IdentitytoolkitV2
|
24
24
|
|
25
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowByDefault
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowlistOnly
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class GoogleCloudIdentitytoolkitAdminV2Anonymous
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -256,6 +268,12 @@ module Google
|
|
256
268
|
include Google::Apis::Core::JsonObjectSupport
|
257
269
|
end
|
258
270
|
|
271
|
+
class GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
259
277
|
class GoogleCloudIdentitytoolkitAdminV2SmsTemplate
|
260
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
279
|
|
@@ -454,6 +472,20 @@ module Google
|
|
454
472
|
include Google::Apis::Core::JsonObjectSupport
|
455
473
|
end
|
456
474
|
|
475
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowByDefault
|
476
|
+
# @private
|
477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
+
collection :disallowed_regions, as: 'disallowedRegions'
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
class GoogleCloudIdentitytoolkitAdminV2AllowlistOnly
|
483
|
+
# @private
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
485
|
+
collection :allowed_regions, as: 'allowedRegions'
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
457
489
|
class GoogleCloudIdentitytoolkitAdminV2Anonymous
|
458
490
|
# @private
|
459
491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -537,6 +569,8 @@ module Google
|
|
537
569
|
|
538
570
|
property :sign_in, as: 'signIn', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig::Representation
|
539
571
|
|
572
|
+
property :sms_region_config, as: 'smsRegionConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig::Representation
|
573
|
+
|
540
574
|
property :subtype, as: 'subtype'
|
541
575
|
end
|
542
576
|
end
|
@@ -843,6 +877,16 @@ module Google
|
|
843
877
|
end
|
844
878
|
end
|
845
879
|
|
880
|
+
class GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :allow_by_default, as: 'allowByDefault', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowByDefault, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowByDefault::Representation
|
884
|
+
|
885
|
+
property :allowlist_only, as: 'allowlistOnly', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowlistOnly, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2AllowlistOnly::Representation
|
886
|
+
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
846
890
|
class GoogleCloudIdentitytoolkitAdminV2SmsTemplate
|
847
891
|
# @private
|
848
892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -906,7 +950,11 @@ module Google
|
|
906
950
|
|
907
951
|
property :mfa_config, as: 'mfaConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig::Representation
|
908
952
|
|
953
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig::Representation
|
954
|
+
|
909
955
|
property :name, as: 'name'
|
956
|
+
property :sms_region_config, as: 'smsRegionConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig::Representation
|
957
|
+
|
910
958
|
hash :test_phone_numbers, as: 'testPhoneNumbers'
|
911
959
|
end
|
912
960
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-identitytoolkit_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.3.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|