google-apis-identitytoolkit_v1 0.4.0 → 0.6.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: 132b6138f5a29f77c5dfba5e68ae236700f520fc67b0f764555ab20b59f2de65
4
- data.tar.gz: d850e56919ca70d49982a4990abe2b221b258eb1e93c09d6b26cec904c7c1934
3
+ metadata.gz: f422bc38ff01d1f034487d50e72bbfcc5e97bc974acacc2c274123b09b1e79e0
4
+ data.tar.gz: 94976c780ae819009093098ef25271082446f40ad462b01bbf59175e48fbdc9d
5
5
  SHA512:
6
- metadata.gz: 22fa2b5f45e0728db2cc6998f87581cc645077f117f2ef5662b45f5ae644a6935850cc107b90dd21813eaf6020d7331d92df578f24ad6a3a9717e5cbdc3d6937
7
- data.tar.gz: a043e62351c906d2fb52577a9cfd127a8ea9359104ada7e270a02ef457152b1d0249ac61b3c3af9c1776ec48482cfa33e83add1ac71645d12d5ec921315d082e
6
+ metadata.gz: 4bfb68ba3f8f77aff7cc17914363f0acd672ce694dc7de91dc9a9c0ce5a0e57619e7921595bfd935c60a7eaaee391e473c6fd45c9d52afe888a4141dca432f7a
7
+ data.tar.gz: 53578c87532e1dd9d6a028f60bd3959f62def3e3365c731020b1749e5fc508cc5dce372907ab9079126c8efa87bbc77f694d246e5fd45b657da898246babfbc6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-identitytoolkit_v1
2
2
 
3
+ ### v0.6.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230318
6
+
7
+ ### v0.5.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230220
10
+
3
11
  ### v0.4.0 (2023-02-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230211
@@ -1314,6 +1314,11 @@ module Google
1314
1314
  # @return [String]
1315
1315
  attr_accessor :phone_info
1316
1316
 
1317
+ # Information about TOTP MFA.
1318
+ # Corresponds to the JSON property `totpInfo`
1319
+ # @return [Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1TotpInfo]
1320
+ attr_accessor :totp_info
1321
+
1317
1322
  # Output only. Unobfuscated phone_info.
1318
1323
  # Corresponds to the JSON property `unobfuscatedPhoneInfo`
1319
1324
  # @return [String]
@@ -1329,6 +1334,7 @@ module Google
1329
1334
  @enrolled_at = args[:enrolled_at] if args.key?(:enrolled_at)
1330
1335
  @mfa_enrollment_id = args[:mfa_enrollment_id] if args.key?(:mfa_enrollment_id)
1331
1336
  @phone_info = args[:phone_info] if args.key?(:phone_info)
1337
+ @totp_info = args[:totp_info] if args.key?(:totp_info)
1332
1338
  @unobfuscated_phone_info = args[:unobfuscated_phone_info] if args.key?(:unobfuscated_phone_info)
1333
1339
  end
1334
1340
  end
@@ -1710,6 +1716,17 @@ module Google
1710
1716
  # @return [String]
1711
1717
  attr_accessor :phone_number
1712
1718
 
1719
+ # Android only. Used to assert application identity in place of a recaptcha
1720
+ # token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`),
1721
+ # `recaptcha_token`, , or `play_integrity_token` must be specified to verify
1722
+ # the verification code is being sent on behalf of a real app and not an
1723
+ # emulator. A Play Integrity Token can be generated via the [PlayIntegrity API](
1724
+ # https://developer.android.com/google/play/integrity) with applying SHA256 to
1725
+ # the `phone_number` field as the nonce.
1726
+ # Corresponds to the JSON property `playIntegrityToken`
1727
+ # @return [String]
1728
+ attr_accessor :play_integrity_token
1729
+
1713
1730
  # Recaptcha token for app verification. At least one of (`ios_receipt` and `
1714
1731
  # ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to
1715
1732
  # verify the verification code is being sent on behalf of a real app and not an
@@ -1746,6 +1763,7 @@ module Google
1746
1763
  @ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt)
1747
1764
  @ios_secret = args[:ios_secret] if args.key?(:ios_secret)
1748
1765
  @phone_number = args[:phone_number] if args.key?(:phone_number)
1766
+ @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token)
1749
1767
  @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token)
1750
1768
  @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
1751
1769
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
@@ -3382,6 +3400,19 @@ module Google
3382
3400
  end
3383
3401
  end
3384
3402
 
3403
+ # Information about TOTP MFA.
3404
+ class GoogleCloudIdentitytoolkitV1TotpInfo
3405
+ include Google::Apis::Core::Hashable
3406
+
3407
+ def initialize(**args)
3408
+ update!(**args)
3409
+ end
3410
+
3411
+ # Update properties of this object
3412
+ def update!(**args)
3413
+ end
3414
+ end
3415
+
3385
3416
  # Request message for UploadAccount.
3386
3417
  class GoogleCloudIdentitytoolkitV1UploadAccountRequest
3387
3418
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdentitytoolkitV1
18
18
  # Version of the google-apis-identitytoolkit_v1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.6.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 = "20230211"
25
+ REVISION = "20230318"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class GoogleCloudIdentitytoolkitV1TotpInfo
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class GoogleCloudIdentitytoolkitV1UploadAccountRequest
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -670,6 +676,8 @@ module Google
670
676
  property :enrolled_at, as: 'enrolledAt'
671
677
  property :mfa_enrollment_id, as: 'mfaEnrollmentId'
672
678
  property :phone_info, as: 'phoneInfo'
679
+ property :totp_info, as: 'totpInfo', class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1TotpInfo, decorator: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1TotpInfo::Representation
680
+
673
681
  property :unobfuscated_phone_info, as: 'unobfuscatedPhoneInfo'
674
682
  end
675
683
  end
@@ -770,6 +778,7 @@ module Google
770
778
  property :ios_receipt, as: 'iosReceipt'
771
779
  property :ios_secret, as: 'iosSecret'
772
780
  property :phone_number, as: 'phoneNumber'
781
+ property :play_integrity_token, as: 'playIntegrityToken'
773
782
  property :recaptcha_token, as: 'recaptchaToken'
774
783
  property :safety_net_token, as: 'safetyNetToken'
775
784
  property :tenant_id, as: 'tenantId'
@@ -1091,6 +1100,12 @@ module Google
1091
1100
  end
1092
1101
  end
1093
1102
 
1103
+ class GoogleCloudIdentitytoolkitV1TotpInfo
1104
+ # @private
1105
+ class Representation < Google::Apis::Core::JsonRepresentation
1106
+ end
1107
+ end
1108
+
1094
1109
  class GoogleCloudIdentitytoolkitV1UploadAccountRequest
1095
1110
  # @private
1096
1111
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-identitytoolkit_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.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-19 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v1/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v1
63
63
  post_install_message:
64
64
  rdoc_options: []