google-apis-identitytoolkit_v2 0.8.0 → 0.9.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: e7a7c459dbd7968d21799e8f814b63c826748892730050aa1443d7af3f694852
4
- data.tar.gz: 8223a9f1433df68ba3b8a7fa9dd2f01ee67fdf77f90e7708c39b4e8be6473965
3
+ metadata.gz: bd1dd06f0ee77fd12f3bbb06ba3100b65f7432ca835b293d5a2f9c1c48dadf95
4
+ data.tar.gz: 4b614059473f6db250edcb50627bf19acfcacc42ec9cefd6fd8e232fb0b7bd1e
5
5
  SHA512:
6
- metadata.gz: bbe35374357fbe95664adac7181b861c74695686d7224e0467da7e073b410804ea9f02336912e14d02a4cb99afcf388f74efc418230a8ca9ff84d769ff33f669
7
- data.tar.gz: ca7d8406cfe6153f063d8d52c7b3338c8e6a6f6ad1076749421ef507ad272494453a69645beb3c3767bcc327cd0b9eb4a531b329b19130c21d15f224be11da18
6
+ metadata.gz: f2791fa1cef443670d23003c87b9fd252a9fa206df24e6446d4acd679f9bda7e42ff07827768fc7726a272cff38230c9c42585c9f0ff2ab5578df1690010a372
7
+ data.tar.gz: fd84fd08802ddd01a9ad7ce7a45833d31c57bd74ed1b9981adf3979233315ad2e71b1c12e385f2f1db049a63adff005cee92097f89338488f3902398f3db0472
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-identitytoolkit_v2
2
2
 
3
+ ### v0.9.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230318
6
+
3
7
  ### v0.8.0 (2023-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230220
@@ -985,6 +985,13 @@ module Google
985
985
  # @return [Array<String>]
986
986
  attr_accessor :enabled_providers
987
987
 
988
+ # A list of usable second factors for this project along with their
989
+ # configurations. This field does not support phone based MFA, for that use the '
990
+ # enabled_providers' field.
991
+ # Corresponds to the JSON property `providerConfigs`
992
+ # @return [Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig>]
993
+ attr_accessor :provider_configs
994
+
988
995
  # Whether MultiFactor Authentication has been enabled for this project.
989
996
  # Corresponds to the JSON property `state`
990
997
  # @return [String]
@@ -997,6 +1004,7 @@ module Google
997
1004
  # Update properties of this object
998
1005
  def update!(**args)
999
1006
  @enabled_providers = args[:enabled_providers] if args.key?(:enabled_providers)
1007
+ @provider_configs = args[:provider_configs] if args.key?(:provider_configs)
1000
1008
  @state = args[:state] if args.key?(:state)
1001
1009
  end
1002
1010
  end
@@ -1215,6 +1223,32 @@ module Google
1215
1223
  end
1216
1224
  end
1217
1225
 
1226
+ # ProviderConfig describes the supported MFA providers along with their
1227
+ # configurations.
1228
+ class GoogleCloudIdentitytoolkitAdminV2ProviderConfig
1229
+ include Google::Apis::Core::Hashable
1230
+
1231
+ # Describes the state of the MultiFactor Authentication type.
1232
+ # Corresponds to the JSON property `state`
1233
+ # @return [String]
1234
+ attr_accessor :state
1235
+
1236
+ # TotpMFAProviderConfig represents the TOTP based MFA provider.
1237
+ # Corresponds to the JSON property `totpProviderConfig`
1238
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig]
1239
+ attr_accessor :totp_provider_config
1240
+
1241
+ def initialize(**args)
1242
+ update!(**args)
1243
+ end
1244
+
1245
+ # Update properties of this object
1246
+ def update!(**args)
1247
+ @state = args[:state] if args.key?(:state)
1248
+ @totp_provider_config = args[:totp_provider_config] if args.key?(:totp_provider_config)
1249
+ end
1250
+ end
1251
+
1218
1252
  # Configuration related to quotas.
1219
1253
  class GoogleCloudIdentitytoolkitAdminV2QuotaConfig
1220
1254
  include Google::Apis::Core::Hashable
@@ -1728,6 +1762,26 @@ module Google
1728
1762
  end
1729
1763
  end
1730
1764
 
1765
+ # TotpMFAProviderConfig represents the TOTP based MFA provider.
1766
+ class GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
1767
+ include Google::Apis::Core::Hashable
1768
+
1769
+ # The allowed number of adjacent intervals that will be used for verification to
1770
+ # avoid clock skew.
1771
+ # Corresponds to the JSON property `adjacentIntervals`
1772
+ # @return [Fixnum]
1773
+ attr_accessor :adjacent_intervals
1774
+
1775
+ def initialize(**args)
1776
+ update!(**args)
1777
+ end
1778
+
1779
+ # Update properties of this object
1780
+ def update!(**args)
1781
+ @adjacent_intervals = args[:adjacent_intervals] if args.key?(:adjacent_intervals)
1782
+ end
1783
+ end
1784
+
1731
1785
  # Synchronous Cloud Function with HTTP Trigger
1732
1786
  class GoogleCloudIdentitytoolkitAdminV2Trigger
1733
1787
  include Google::Apis::Core::Hashable
@@ -1798,6 +1852,11 @@ module Google
1798
1852
  # @return [String]
1799
1853
  attr_accessor :tenant_id
1800
1854
 
1855
+ # Mfa request info specific to TOTP auth for FinalizeMfa.
1856
+ # Corresponds to the JSON property `totpVerificationInfo`
1857
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo]
1858
+ attr_accessor :totp_verification_info
1859
+
1801
1860
  def initialize(**args)
1802
1861
  update!(**args)
1803
1862
  end
@@ -1808,6 +1867,7 @@ module Google
1808
1867
  @id_token = args[:id_token] if args.key?(:id_token)
1809
1868
  @phone_verification_info = args[:phone_verification_info] if args.key?(:phone_verification_info)
1810
1869
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
1870
+ @totp_verification_info = args[:totp_verification_info] if args.key?(:totp_verification_info)
1811
1871
  end
1812
1872
  end
1813
1873
 
@@ -1830,6 +1890,11 @@ module Google
1830
1890
  # @return [String]
1831
1891
  attr_accessor :refresh_token
1832
1892
 
1893
+ # Mfa response info specific to TOTP auth for FinalizeMfa.
1894
+ # Corresponds to the JSON property `totpAuthInfo`
1895
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo]
1896
+ attr_accessor :totp_auth_info
1897
+
1833
1898
  def initialize(**args)
1834
1899
  update!(**args)
1835
1900
  end
@@ -1839,6 +1904,7 @@ module Google
1839
1904
  @id_token = args[:id_token] if args.key?(:id_token)
1840
1905
  @phone_auth_info = args[:phone_auth_info] if args.key?(:phone_auth_info)
1841
1906
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
1907
+ @totp_auth_info = args[:totp_auth_info] if args.key?(:totp_auth_info)
1842
1908
  end
1843
1909
  end
1844
1910
 
@@ -1914,6 +1980,11 @@ module Google
1914
1980
  class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest
1915
1981
  include Google::Apis::Core::Hashable
1916
1982
 
1983
+ # The MFA enrollment ID from the user's list of current MFA enrollments.
1984
+ # Corresponds to the JSON property `mfaEnrollmentId`
1985
+ # @return [String]
1986
+ attr_accessor :mfa_enrollment_id
1987
+
1917
1988
  # Required. Pending credential from first factor sign-in.
1918
1989
  # Corresponds to the JSON property `mfaPendingCredential`
1919
1990
  # @return [String]
@@ -1930,15 +2001,22 @@ module Google
1930
2001
  # @return [String]
1931
2002
  attr_accessor :tenant_id
1932
2003
 
2004
+ # TOTP verification info for FinalizeMfaSignInRequest.
2005
+ # Corresponds to the JSON property `totpVerificationInfo`
2006
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo]
2007
+ attr_accessor :totp_verification_info
2008
+
1933
2009
  def initialize(**args)
1934
2010
  update!(**args)
1935
2011
  end
1936
2012
 
1937
2013
  # Update properties of this object
1938
2014
  def update!(**args)
2015
+ @mfa_enrollment_id = args[:mfa_enrollment_id] if args.key?(:mfa_enrollment_id)
1939
2016
  @mfa_pending_credential = args[:mfa_pending_credential] if args.key?(:mfa_pending_credential)
1940
2017
  @phone_verification_info = args[:phone_verification_info] if args.key?(:phone_verification_info)
1941
2018
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
2019
+ @totp_verification_info = args[:totp_verification_info] if args.key?(:totp_verification_info)
1942
2020
  end
1943
2021
  end
1944
2022
 
@@ -1973,6 +2051,63 @@ module Google
1973
2051
  end
1974
2052
  end
1975
2053
 
2054
+ # Mfa request info specific to TOTP auth for FinalizeMfa.
2055
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
2056
+ include Google::Apis::Core::Hashable
2057
+
2058
+ # An opaque string that represents the enrollment session.
2059
+ # Corresponds to the JSON property `sessionInfo`
2060
+ # @return [String]
2061
+ attr_accessor :session_info
2062
+
2063
+ # User-entered verification code.
2064
+ # Corresponds to the JSON property `verificationCode`
2065
+ # @return [String]
2066
+ attr_accessor :verification_code
2067
+
2068
+ def initialize(**args)
2069
+ update!(**args)
2070
+ end
2071
+
2072
+ # Update properties of this object
2073
+ def update!(**args)
2074
+ @session_info = args[:session_info] if args.key?(:session_info)
2075
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
2076
+ end
2077
+ end
2078
+
2079
+ # Mfa response info specific to TOTP auth for FinalizeMfa.
2080
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
2081
+ include Google::Apis::Core::Hashable
2082
+
2083
+ def initialize(**args)
2084
+ update!(**args)
2085
+ end
2086
+
2087
+ # Update properties of this object
2088
+ def update!(**args)
2089
+ end
2090
+ end
2091
+
2092
+ # TOTP verification info for FinalizeMfaSignInRequest.
2093
+ class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
2094
+ include Google::Apis::Core::Hashable
2095
+
2096
+ # User-entered verification code.
2097
+ # Corresponds to the JSON property `verificationCode`
2098
+ # @return [String]
2099
+ attr_accessor :verification_code
2100
+
2101
+ def initialize(**args)
2102
+ update!(**args)
2103
+ end
2104
+
2105
+ # Update properties of this object
2106
+ def update!(**args)
2107
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
2108
+ end
2109
+ end
2110
+
1976
2111
  # Sends MFA enrollment verification SMS for a user.
1977
2112
  class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
1978
2113
  include Google::Apis::Core::Hashable
@@ -1993,6 +2128,11 @@ module Google
1993
2128
  # @return [String]
1994
2129
  attr_accessor :tenant_id
1995
2130
 
2131
+ # Mfa request info specific to TOTP auth for StartMfa.
2132
+ # Corresponds to the JSON property `totpEnrollmentInfo`
2133
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo]
2134
+ attr_accessor :totp_enrollment_info
2135
+
1996
2136
  def initialize(**args)
1997
2137
  update!(**args)
1998
2138
  end
@@ -2002,6 +2142,7 @@ module Google
2002
2142
  @id_token = args[:id_token] if args.key?(:id_token)
2003
2143
  @phone_enrollment_info = args[:phone_enrollment_info] if args.key?(:phone_enrollment_info)
2004
2144
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
2145
+ @totp_enrollment_info = args[:totp_enrollment_info] if args.key?(:totp_enrollment_info)
2005
2146
  end
2006
2147
  end
2007
2148
 
@@ -2014,6 +2155,11 @@ module Google
2014
2155
  # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo]
2015
2156
  attr_accessor :phone_session_info
2016
2157
 
2158
+ # Mfa response info specific to TOTP auth for StartMfa.
2159
+ # Corresponds to the JSON property `totpSessionInfo`
2160
+ # @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo]
2161
+ attr_accessor :totp_session_info
2162
+
2017
2163
  def initialize(**args)
2018
2164
  update!(**args)
2019
2165
  end
@@ -2021,6 +2167,7 @@ module Google
2021
2167
  # Update properties of this object
2022
2168
  def update!(**args)
2023
2169
  @phone_session_info = args[:phone_session_info] if args.key?(:phone_session_info)
2170
+ @totp_session_info = args[:totp_session_info] if args.key?(:totp_session_info)
2024
2171
  end
2025
2172
  end
2026
2173
 
@@ -2161,6 +2308,72 @@ module Google
2161
2308
  end
2162
2309
  end
2163
2310
 
2311
+ # Mfa request info specific to TOTP auth for StartMfa.
2312
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo
2313
+ include Google::Apis::Core::Hashable
2314
+
2315
+ def initialize(**args)
2316
+ update!(**args)
2317
+ end
2318
+
2319
+ # Update properties of this object
2320
+ def update!(**args)
2321
+ end
2322
+ end
2323
+
2324
+ # Mfa response info specific to TOTP auth for StartMfa.
2325
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
2326
+ include Google::Apis::Core::Hashable
2327
+
2328
+ # The time by which the enrollment must finish.
2329
+ # Corresponds to the JSON property `finalizeEnrollmentTime`
2330
+ # @return [String]
2331
+ attr_accessor :finalize_enrollment_time
2332
+
2333
+ # The hashing algorithm used to generate the verification code.
2334
+ # Corresponds to the JSON property `hashingAlgorithm`
2335
+ # @return [String]
2336
+ attr_accessor :hashing_algorithm
2337
+
2338
+ # Duration in seconds at which the verification code will change.
2339
+ # Corresponds to the JSON property `periodSec`
2340
+ # @return [Fixnum]
2341
+ attr_accessor :period_sec
2342
+
2343
+ # An encoded string that represents the enrollment session.
2344
+ # Corresponds to the JSON property `sessionInfo`
2345
+ # @return [String]
2346
+ attr_accessor :session_info
2347
+
2348
+ # A base 32 encoded string that represents the shared TOTP secret. The base 32
2349
+ # encoding is the one specified by [RFC4648#section-6](https://datatracker.ietf.
2350
+ # org/doc/html/rfc4648#section-6). (This is the same as the base 32 encoding
2351
+ # from [RFC3548#section-5](https://datatracker.ietf.org/doc/html/rfc3548#section-
2352
+ # 5).)
2353
+ # Corresponds to the JSON property `sharedSecretKey`
2354
+ # @return [String]
2355
+ attr_accessor :shared_secret_key
2356
+
2357
+ # The length of the verification code that needs to be generated.
2358
+ # Corresponds to the JSON property `verificationCodeLength`
2359
+ # @return [Fixnum]
2360
+ attr_accessor :verification_code_length
2361
+
2362
+ def initialize(**args)
2363
+ update!(**args)
2364
+ end
2365
+
2366
+ # Update properties of this object
2367
+ def update!(**args)
2368
+ @finalize_enrollment_time = args[:finalize_enrollment_time] if args.key?(:finalize_enrollment_time)
2369
+ @hashing_algorithm = args[:hashing_algorithm] if args.key?(:hashing_algorithm)
2370
+ @period_sec = args[:period_sec] if args.key?(:period_sec)
2371
+ @session_info = args[:session_info] if args.key?(:session_info)
2372
+ @shared_secret_key = args[:shared_secret_key] if args.key?(:shared_secret_key)
2373
+ @verification_code_length = args[:verification_code_length] if args.key?(:verification_code_length)
2374
+ end
2375
+ end
2376
+
2164
2377
  # Withdraws MFA.
2165
2378
  class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
2166
2379
  include Google::Apis::Core::Hashable
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230220"
25
+ REVISION = "20230318"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudIdentitytoolkitAdminV2ProviderConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleCloudIdentitytoolkitAdminV2QuotaConfig
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -316,6 +322,12 @@ module Google
316
322
  include Google::Apis::Core::JsonObjectSupport
317
323
  end
318
324
 
325
+ class GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class GoogleCloudIdentitytoolkitAdminV2Trigger
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -364,6 +376,24 @@ module Google
364
376
  include Google::Apis::Core::JsonObjectSupport
365
377
  end
366
378
 
379
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
367
397
  class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
368
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
399
 
@@ -400,6 +430,18 @@ module Google
400
430
  include Google::Apis::Core::JsonObjectSupport
401
431
  end
402
432
 
433
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
403
445
  class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
404
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
447
 
@@ -769,6 +811,8 @@ module Google
769
811
  # @private
770
812
  class Representation < Google::Apis::Core::JsonRepresentation
771
813
  collection :enabled_providers, as: 'enabledProviders'
814
+ collection :provider_configs, as: 'providerConfigs', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig::Representation
815
+
772
816
  property :state, as: 'state'
773
817
  end
774
818
  end
@@ -831,6 +875,15 @@ module Google
831
875
  end
832
876
  end
833
877
 
878
+ class GoogleCloudIdentitytoolkitAdminV2ProviderConfig
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :state, as: 'state'
882
+ property :totp_provider_config, as: 'totpProviderConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig::Representation
883
+
884
+ end
885
+ end
886
+
834
887
  class GoogleCloudIdentitytoolkitAdminV2QuotaConfig
835
888
  # @private
836
889
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,6 +1029,13 @@ module Google
976
1029
  end
977
1030
  end
978
1031
 
1032
+ class GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
1033
+ # @private
1034
+ class Representation < Google::Apis::Core::JsonRepresentation
1035
+ property :adjacent_intervals, as: 'adjacentIntervals'
1036
+ end
1037
+ end
1038
+
979
1039
  class GoogleCloudIdentitytoolkitAdminV2Trigger
980
1040
  # @private
981
1041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -999,6 +1059,8 @@ module Google
999
1059
  property :phone_verification_info, as: 'phoneVerificationInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo::Representation
1000
1060
 
1001
1061
  property :tenant_id, as: 'tenantId'
1062
+ property :totp_verification_info, as: 'totpVerificationInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo::Representation
1063
+
1002
1064
  end
1003
1065
  end
1004
1066
 
@@ -1009,6 +1071,8 @@ module Google
1009
1071
  property :phone_auth_info, as: 'phoneAuthInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo::Representation
1010
1072
 
1011
1073
  property :refresh_token, as: 'refreshToken'
1074
+ property :totp_auth_info, as: 'totpAuthInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo::Representation
1075
+
1012
1076
  end
1013
1077
  end
1014
1078
 
@@ -1034,10 +1098,13 @@ module Google
1034
1098
  class GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest
1035
1099
  # @private
1036
1100
  class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :mfa_enrollment_id, as: 'mfaEnrollmentId'
1037
1102
  property :mfa_pending_credential, as: 'mfaPendingCredential'
1038
1103
  property :phone_verification_info, as: 'phoneVerificationInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo::Representation
1039
1104
 
1040
1105
  property :tenant_id, as: 'tenantId'
1106
+ property :totp_verification_info, as: 'totpVerificationInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo::Representation
1107
+
1041
1108
  end
1042
1109
  end
1043
1110
 
@@ -1051,6 +1118,27 @@ module Google
1051
1118
  end
1052
1119
  end
1053
1120
 
1121
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo
1122
+ # @private
1123
+ class Representation < Google::Apis::Core::JsonRepresentation
1124
+ property :session_info, as: 'sessionInfo'
1125
+ property :verification_code, as: 'verificationCode'
1126
+ end
1127
+ end
1128
+
1129
+ class GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ end
1133
+ end
1134
+
1135
+ class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ property :verification_code, as: 'verificationCode'
1139
+ end
1140
+ end
1141
+
1054
1142
  class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
1055
1143
  # @private
1056
1144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1058,6 +1146,8 @@ module Google
1058
1146
  property :phone_enrollment_info, as: 'phoneEnrollmentInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo::Representation
1059
1147
 
1060
1148
  property :tenant_id, as: 'tenantId'
1149
+ property :totp_enrollment_info, as: 'totpEnrollmentInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo::Representation
1150
+
1061
1151
  end
1062
1152
  end
1063
1153
 
@@ -1066,6 +1156,8 @@ module Google
1066
1156
  class Representation < Google::Apis::Core::JsonRepresentation
1067
1157
  property :phone_session_info, as: 'phoneSessionInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo::Representation
1068
1158
 
1159
+ property :totp_session_info, as: 'totpSessionInfo', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo::Representation
1160
+
1069
1161
  end
1070
1162
  end
1071
1163
 
@@ -1109,6 +1201,24 @@ module Google
1109
1201
  end
1110
1202
  end
1111
1203
 
1204
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ end
1208
+ end
1209
+
1210
+ class GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ property :finalize_enrollment_time, as: 'finalizeEnrollmentTime'
1214
+ property :hashing_algorithm, as: 'hashingAlgorithm'
1215
+ property :period_sec, as: 'periodSec'
1216
+ property :session_info, as: 'sessionInfo'
1217
+ property :shared_secret_key, as: 'sharedSecretKey'
1218
+ property :verification_code_length, as: 'verificationCodeLength'
1219
+ end
1220
+ end
1221
+
1112
1222
  class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
1113
1223
  # @private
1114
1224
  class Representation < Google::Apis::Core::JsonRepresentation
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.8.0
4
+ version: 0.9.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: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-26 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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.9.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: []