google-apis-identitytoolkit_v1 0.16.0 → 0.18.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: 2716dc061d80ddc46d00060dd08eac7a9ebac765325ae0754ee7e2c86f148bdc
4
- data.tar.gz: 26b6ec3845bd218c7118dd11e7c42f4d1e869f7dd093589d4ddcea1554ce5fe9
3
+ metadata.gz: 6da0e34d31b7c1c1a22bee3696adf7dfb9619141da7739a59a2b5c7ec2a2befb
4
+ data.tar.gz: 6775d6521e6fd342abffca3091f70f8f8abf8644fb8fe84c8b53ae232e9aa4b2
5
5
  SHA512:
6
- metadata.gz: 6bf755aa37a4715b41cdb1117f3447fe013ad846db280b9f87ddef18fffc02ae172db72db971971284a7006eeb1059ec7ac36b71ab29f37d88d5fb2ebe51ae89
7
- data.tar.gz: c430a7d9b0b7fcd04754eca16c3c4405c834344ebb252a3bbc5f28700e7132f07aaf53ca6fb40a6faa43899f3890361caf4bc1cf63c576f69732c46c12c31ab4
6
+ metadata.gz: 7aa7c324d0760e2f791efa909bd35e610897bba7e3fb4829911924a5138badb1f1ce5ffa30657c497a4812a04231ab1c5039f5bdb2554b519e646db7d2aea546
7
+ data.tar.gz: 3d2b95051fdff7398022ca9add965ebf53467725853ccc604f2ad30d128057198ef5ac59bb70c0e0872b1a7ccc94eddb30b440cca320d48b3af03c05176a9315
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-identitytoolkit_v1
2
2
 
3
+ ### v0.18.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241205
6
+
7
+ ### v0.17.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241024
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.16.0 (2024-05-19)
4
13
 
5
14
  * Regenerated using generator version 0.15.0
@@ -1632,8 +1632,9 @@ module Google
1632
1632
  class GoogleCloudIdentitytoolkitV1ResetPasswordRequest
1633
1633
  include Google::Apis::Core::Hashable
1634
1634
 
1635
- # The email of the account to be modified. Specify this and the old password in
1636
- # order to change an account's password without using an out-of-band code.
1635
+ # Optional. The email of the account to be modified. Specify this and the old
1636
+ # password in order to change an account's password without using an out-of-band
1637
+ # code.
1637
1638
  # Corresponds to the JSON property `email`
1638
1639
  # @return [String]
1639
1640
  attr_accessor :email
@@ -1659,7 +1660,7 @@ module Google
1659
1660
  # @return [String]
1660
1661
  attr_accessor :oob_code
1661
1662
 
1662
- # The tenant ID of the Identity Platform tenant the account belongs to.
1663
+ # Optional. The tenant ID of the Identity Platform tenant the account belongs to.
1663
1664
  # Corresponds to the JSON property `tenantId`
1664
1665
  # @return [String]
1665
1666
  attr_accessor :tenant_id
@@ -1722,10 +1723,11 @@ module Google
1722
1723
  end
1723
1724
  end
1724
1725
 
1725
- # Request message for SendVerificationCode. At least one of (`ios_receipt` and `
1726
- # ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to
1727
- # verify the verification code is being sent on behalf of a real app and not an
1728
- # emulator.
1726
+ # Request message for SendVerificationCode. 'captcha_response' is required when
1727
+ # reCAPTCHA enterprise is enabled, or otherwise at least one of (`ios_receipt`
1728
+ # and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
1729
+ # to verify the verification code is being sent on behalf of a real app and not
1730
+ # an emulator.
1729
1731
  class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest
1730
1732
  include Google::Apis::Core::Hashable
1731
1733
 
@@ -1734,12 +1736,25 @@ module Google
1734
1736
  # @return [Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo]
1735
1737
  attr_accessor :auto_retrieval_info
1736
1738
 
1739
+ # Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side
1740
+ # integration. Required when reCAPTCHA enterprise is enabled.
1741
+ # Corresponds to the JSON property `captchaResponse`
1742
+ # @return [String]
1743
+ attr_accessor :captcha_response
1744
+
1745
+ # Optional. The client type, web, android or ios. Required when reCAPTCHA
1746
+ # Enterprise is enabled.
1747
+ # Corresponds to the JSON property `clientType`
1748
+ # @return [String]
1749
+ attr_accessor :client_type
1750
+
1737
1751
  # Receipt of successful iOS app token validation. At least one of (`ios_receipt`
1738
1752
  # and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
1739
1753
  # to verify the verification code is being sent on behalf of a real app and not
1740
- # an emulator. This should come from the response of verifyIosClient. If present,
1741
- # the caller should also provide the `ios_secret`, as well as a bundle ID in
1742
- # the `x-ios-bundle-identifier` header, which must match the bundle ID from the
1754
+ # an emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1755
+ # enabled). This should come from the response of verifyIosClient. If present,
1756
+ # the caller should also provide the `ios_secret`, as well as a bundle ID in the
1757
+ # `x-ios-bundle-identifier` header, which must match the bundle ID from the
1743
1758
  # verifyIosClient request.
1744
1759
  # Corresponds to the JSON property `iosReceipt`
1745
1760
  # @return [String]
@@ -1760,7 +1775,8 @@ module Google
1760
1775
  # token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`),
1761
1776
  # `recaptcha_token`, , or `play_integrity_token` must be specified to verify
1762
1777
  # the verification code is being sent on behalf of a real app and not an
1763
- # emulator. A Play Integrity Token can be generated via the [PlayIntegrity API](
1778
+ # emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1779
+ # enabled). A Play Integrity Token can be generated via the [PlayIntegrity API](
1764
1780
  # https://developer.android.com/google/play/integrity) with applying SHA256 to
1765
1781
  # the `phone_number` field as the nonce.
1766
1782
  # Corresponds to the JSON property `playIntegrityToken`
@@ -1770,20 +1786,28 @@ module Google
1770
1786
  # Recaptcha token for app verification. At least one of (`ios_receipt` and `
1771
1787
  # ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to
1772
1788
  # verify the verification code is being sent on behalf of a real app and not an
1773
- # emulator. The recaptcha should be generated by calling getRecaptchaParams and
1789
+ # emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1790
+ # enabled). The recaptcha should be generated by calling getRecaptchaParams and
1774
1791
  # the recaptcha token will be generated on user completion of the recaptcha
1775
1792
  # challenge.
1776
1793
  # Corresponds to the JSON property `recaptchaToken`
1777
1794
  # @return [String]
1778
1795
  attr_accessor :recaptcha_token
1779
1796
 
1797
+ # Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
1798
+ # Required when reCAPTCHA Enterprise is enabled.
1799
+ # Corresponds to the JSON property `recaptchaVersion`
1800
+ # @return [String]
1801
+ attr_accessor :recaptcha_version
1802
+
1780
1803
  # Android only. Used to assert application identity in place of a recaptcha
1781
1804
  # token. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or
1782
1805
  # `safety_net_token` must be specified to verify the verification code is being
1783
- # sent on behalf of a real app and not an emulator. A SafetyNet Token can be
1784
- # generated via the [SafetyNet Android Attestation API](https://developer.
1785
- # android.com/training/safetynet/attestation.html), with the Base64 encoding of
1786
- # the `phone_number` field as the nonce.
1806
+ # sent on behalf of a real app and not an emulator, if 'captcha_response' is not
1807
+ # used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be generated
1808
+ # via the [SafetyNet Android Attestation API](https://developer.android.com/
1809
+ # training/safetynet/attestation.html), with the Base64 encoding of the `
1810
+ # phone_number` field as the nonce.
1787
1811
  # Corresponds to the JSON property `safetyNetToken`
1788
1812
  # @return [String]
1789
1813
  attr_accessor :safety_net_token
@@ -1800,11 +1824,14 @@ module Google
1800
1824
  # Update properties of this object
1801
1825
  def update!(**args)
1802
1826
  @auto_retrieval_info = args[:auto_retrieval_info] if args.key?(:auto_retrieval_info)
1827
+ @captcha_response = args[:captcha_response] if args.key?(:captcha_response)
1828
+ @client_type = args[:client_type] if args.key?(:client_type)
1803
1829
  @ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt)
1804
1830
  @ios_secret = args[:ios_secret] if args.key?(:ios_secret)
1805
1831
  @phone_number = args[:phone_number] if args.key?(:phone_number)
1806
1832
  @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token)
1807
1833
  @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token)
1834
+ @recaptcha_version = args[:recaptcha_version] if args.key?(:recaptcha_version)
1808
1835
  @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
1809
1836
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
1810
1837
  end
@@ -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.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240417"
25
+ REVISION = "20241205"
26
26
  end
27
27
  end
28
28
  end
@@ -798,11 +798,14 @@ module Google
798
798
  class Representation < Google::Apis::Core::JsonRepresentation
799
799
  property :auto_retrieval_info, as: 'autoRetrievalInfo', class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo, decorator: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo::Representation
800
800
 
801
+ property :captcha_response, as: 'captchaResponse'
802
+ property :client_type, as: 'clientType'
801
803
  property :ios_receipt, as: 'iosReceipt'
802
804
  property :ios_secret, as: 'iosSecret'
803
805
  property :phone_number, as: 'phoneNumber'
804
806
  property :play_integrity_token, as: 'playIntegrityToken'
805
807
  property :recaptcha_token, as: 'recaptchaToken'
808
+ property :recaptcha_version, as: 'recaptchaVersion'
806
809
  property :safety_net_token, as: 'safetyNetToken'
807
810
  property :tenant_id, as: 'tenantId'
808
811
  end
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.16.0
4
+ version: 0.18.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: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v1/v0.18.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Identity Toolkit API V1