google-apis-identitytoolkit_v2 0.4.0 → 0.5.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11a8f4080b5bb917549bd7b18eb15665e507011cdcfdcf6b516a05e97dcafdf7
|
4
|
+
data.tar.gz: a4f188e94efdcd81ac86d05d0597030a804232e2558bcdeec3a3bbfa5d3031a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0277fca2670879aac04b1b665e4a2bb17d4aff7d9f27a3c0359a40b3b7c311f8699287b28962c96653b0999f7cf0e2c062a002f8e1284387b592243707b3051f
|
7
|
+
data.tar.gz: 92c6584e6b725cdc3d161d03402e5885ecb9409e4bebf726f585df6c873f98a1c5758521d08eabd5d50e63c44da93f037888dc01219aa67bd1f7397649720f26
|
data/CHANGELOG.md
CHANGED
@@ -275,6 +275,13 @@ module Google
|
|
275
275
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientConfig]
|
276
276
|
attr_accessor :client
|
277
277
|
|
278
|
+
# Configuration for settings related to email privacy and public visibility.
|
279
|
+
# Settings in this config protect against email enumeration, but may make some
|
280
|
+
# trade-offs in user-friendliness.
|
281
|
+
# Corresponds to the JSON property `emailPrivacyConfig`
|
282
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]
|
283
|
+
attr_accessor :email_privacy_config
|
284
|
+
|
278
285
|
# Options related to MultiFactor Authentication for the project.
|
279
286
|
# Corresponds to the JSON property `mfa`
|
280
287
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]
|
@@ -333,6 +340,7 @@ module Google
|
|
333
340
|
@autodelete_anonymous_users = args[:autodelete_anonymous_users] if args.key?(:autodelete_anonymous_users)
|
334
341
|
@blocking_functions = args[:blocking_functions] if args.key?(:blocking_functions)
|
335
342
|
@client = args[:client] if args.key?(:client)
|
343
|
+
@email_privacy_config = args[:email_privacy_config] if args.key?(:email_privacy_config)
|
336
344
|
@mfa = args[:mfa] if args.key?(:mfa)
|
337
345
|
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
338
346
|
@multi_tenant = args[:multi_tenant] if args.key?(:multi_tenant)
|
@@ -492,6 +500,34 @@ module Google
|
|
492
500
|
end
|
493
501
|
end
|
494
502
|
|
503
|
+
# Configuration for settings related to email privacy and public visibility.
|
504
|
+
# Settings in this config protect against email enumeration, but may make some
|
505
|
+
# trade-offs in user-friendliness.
|
506
|
+
class GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# Migrates the project to a state of improved email privacy. For example certain
|
510
|
+
# error codes are more generic to avoid giving away information on whether the
|
511
|
+
# account exists. In addition, this disables certain features that as a side-
|
512
|
+
# effect allow user enumeration. Enabling this toggle disables the
|
513
|
+
# fetchSignInMethodsForEmail functionality and changing the user's email to an
|
514
|
+
# unverified email. It is recommended to remove dependence on this functionality
|
515
|
+
# and enable this toggle to improve user privacy.
|
516
|
+
# Corresponds to the JSON property `enableImprovedEmailPrivacy`
|
517
|
+
# @return [Boolean]
|
518
|
+
attr_accessor :enable_improved_email_privacy
|
519
|
+
alias_method :enable_improved_email_privacy?, :enable_improved_email_privacy
|
520
|
+
|
521
|
+
def initialize(**args)
|
522
|
+
update!(**args)
|
523
|
+
end
|
524
|
+
|
525
|
+
# Update properties of this object
|
526
|
+
def update!(**args)
|
527
|
+
@enable_improved_email_privacy = args[:enable_improved_email_privacy] if args.key?(:enable_improved_email_privacy)
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
495
531
|
# Email template. The subject and body fields can contain the following
|
496
532
|
# placeholders which will be replaced with the appropriate values: %LINK% - The
|
497
533
|
# link to use to redeem the send OOB code. %EMAIL% - The email where the email
|
@@ -1608,6 +1644,13 @@ module Google
|
|
1608
1644
|
# @return [String]
|
1609
1645
|
attr_accessor :display_name
|
1610
1646
|
|
1647
|
+
# Configuration for settings related to email privacy and public visibility.
|
1648
|
+
# Settings in this config protect against email enumeration, but may make some
|
1649
|
+
# trade-offs in user-friendliness.
|
1650
|
+
# Corresponds to the JSON property `emailPrivacyConfig`
|
1651
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]
|
1652
|
+
attr_accessor :email_privacy_config
|
1653
|
+
|
1611
1654
|
# Whether to enable anonymous user authentication.
|
1612
1655
|
# Corresponds to the JSON property `enableAnonymousUser`
|
1613
1656
|
# @return [Boolean]
|
@@ -1672,6 +1715,7 @@ module Google
|
|
1672
1715
|
@client = args[:client] if args.key?(:client)
|
1673
1716
|
@disable_auth = args[:disable_auth] if args.key?(:disable_auth)
|
1674
1717
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1718
|
+
@email_privacy_config = args[:email_privacy_config] if args.key?(:email_privacy_config)
|
1675
1719
|
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
1676
1720
|
@enable_email_link_signin = args[:enable_email_link_signin] if args.key?(:enable_email_link_signin)
|
1677
1721
|
@hash_config = args[:hash_config] if args.key?(:hash_config)
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class GoogleCloudIdentitytoolkitAdminV2EmailTemplate
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -556,6 +562,8 @@ module Google
|
|
556
562
|
|
557
563
|
property :client, as: 'client', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientConfig::Representation
|
558
564
|
|
565
|
+
property :email_privacy_config, as: 'emailPrivacyConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig::Representation
|
566
|
+
|
559
567
|
property :mfa, as: 'mfa', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig::Representation
|
560
568
|
|
561
569
|
property :monitoring, as: 'monitoring', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig::Representation
|
@@ -614,6 +622,13 @@ module Google
|
|
614
622
|
end
|
615
623
|
end
|
616
624
|
|
625
|
+
class GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig
|
626
|
+
# @private
|
627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
628
|
+
property :enable_improved_email_privacy, as: 'enableImprovedEmailPrivacy'
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
617
632
|
class GoogleCloudIdentitytoolkitAdminV2EmailTemplate
|
618
633
|
# @private
|
619
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -942,6 +957,8 @@ module Google
|
|
942
957
|
|
943
958
|
property :disable_auth, as: 'disableAuth'
|
944
959
|
property :display_name, as: 'displayName'
|
960
|
+
property :email_privacy_config, as: 'emailPrivacyConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig::Representation
|
961
|
+
|
945
962
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
946
963
|
property :enable_email_link_signin, as: 'enableEmailLinkSignin'
|
947
964
|
property :hash_config, as: 'hashConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2HashConfig::Representation
|
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.5.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-
|
11
|
+
date: 2022-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.5.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: []
|