google-apis-identitytoolkit_v1 0.16.0 → 0.17.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: a9475c94c2d268f9ca79dfefbceba3958ffd9175a4d14cb601f1f9cfd5530c06
4
+ data.tar.gz: 5ac39415f1bce9c98ffee75f2ddc6c886c3f48450577e7c1ee8edd8700f9dc90
5
5
  SHA512:
6
- metadata.gz: 6bf755aa37a4715b41cdb1117f3447fe013ad846db280b9f87ddef18fffc02ae172db72db971971284a7006eeb1059ec7ac36b71ab29f37d88d5fb2ebe51ae89
7
- data.tar.gz: c430a7d9b0b7fcd04754eca16c3c4405c834344ebb252a3bbc5f28700e7132f07aaf53ca6fb40a6faa43899f3890361caf4bc1cf63c576f69732c46c12c31ab4
6
+ metadata.gz: c235b0f7633e5f5fe0b21e352b33b1fd4f83a08f486b2073e807dcb99ddddca6ab55325c8088d26b5e62a7297d7a9fa3030d4650d779c0362015c3cde70a205f
7
+ data.tar.gz: 35d0dd3dafe1b4afee8c4e2c5ff02ebbad68ed1e6a3f6f438b4fdbf8895cb28a5ce147454000f341b2cbaf0aa228f54281530d592575a175532221f572bc17ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-identitytoolkit_v1
2
2
 
3
+ ### v0.17.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241024
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.16.0 (2024-05-19)
4
9
 
5
10
  * Regenerated using generator version 0.15.0
@@ -1722,10 +1722,11 @@ module Google
1722
1722
  end
1723
1723
  end
1724
1724
 
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.
1725
+ # Request message for SendVerificationCode. 'captcha_response' is required when
1726
+ # reCAPTCHA enterprise is enabled, or otherwise at least one of (`ios_receipt`
1727
+ # and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
1728
+ # to verify the verification code is being sent on behalf of a real app and not
1729
+ # an emulator.
1729
1730
  class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest
1730
1731
  include Google::Apis::Core::Hashable
1731
1732
 
@@ -1734,12 +1735,25 @@ module Google
1734
1735
  # @return [Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1AutoRetrievalInfo]
1735
1736
  attr_accessor :auto_retrieval_info
1736
1737
 
1738
+ # Optional. The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side
1739
+ # integration. Required when reCAPTCHA enterprise is enabled.
1740
+ # Corresponds to the JSON property `captchaResponse`
1741
+ # @return [String]
1742
+ attr_accessor :captcha_response
1743
+
1744
+ # Optional. The client type, web, android or ios. Required when reCAPTCHA
1745
+ # Enterprise is enabled.
1746
+ # Corresponds to the JSON property `clientType`
1747
+ # @return [String]
1748
+ attr_accessor :client_type
1749
+
1737
1750
  # Receipt of successful iOS app token validation. At least one of (`ios_receipt`
1738
1751
  # and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
1739
1752
  # 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
1753
+ # an emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1754
+ # enabled). This should come from the response of verifyIosClient. If present,
1755
+ # the caller should also provide the `ios_secret`, as well as a bundle ID in the
1756
+ # `x-ios-bundle-identifier` header, which must match the bundle ID from the
1743
1757
  # verifyIosClient request.
1744
1758
  # Corresponds to the JSON property `iosReceipt`
1745
1759
  # @return [String]
@@ -1760,7 +1774,8 @@ module Google
1760
1774
  # token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`),
1761
1775
  # `recaptcha_token`, , or `play_integrity_token` must be specified to verify
1762
1776
  # 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](
1777
+ # emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1778
+ # enabled). A Play Integrity Token can be generated via the [PlayIntegrity API](
1764
1779
  # https://developer.android.com/google/play/integrity) with applying SHA256 to
1765
1780
  # the `phone_number` field as the nonce.
1766
1781
  # Corresponds to the JSON property `playIntegrityToken`
@@ -1770,20 +1785,28 @@ module Google
1770
1785
  # Recaptcha token for app verification. At least one of (`ios_receipt` and `
1771
1786
  # ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to
1772
1787
  # 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
1788
+ # emulator, if 'captcha_response' is not used (reCAPTCHA enterprise is not
1789
+ # enabled). The recaptcha should be generated by calling getRecaptchaParams and
1774
1790
  # the recaptcha token will be generated on user completion of the recaptcha
1775
1791
  # challenge.
1776
1792
  # Corresponds to the JSON property `recaptchaToken`
1777
1793
  # @return [String]
1778
1794
  attr_accessor :recaptcha_token
1779
1795
 
1796
+ # Optional. The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
1797
+ # Required when reCAPTCHA Enterprise is enabled.
1798
+ # Corresponds to the JSON property `recaptchaVersion`
1799
+ # @return [String]
1800
+ attr_accessor :recaptcha_version
1801
+
1780
1802
  # Android only. Used to assert application identity in place of a recaptcha
1781
1803
  # token. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or
1782
1804
  # `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.
1805
+ # sent on behalf of a real app and not an emulator, if 'captcha_response' is not
1806
+ # used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be generated
1807
+ # via the [SafetyNet Android Attestation API](https://developer.android.com/
1808
+ # training/safetynet/attestation.html), with the Base64 encoding of the `
1809
+ # phone_number` field as the nonce.
1787
1810
  # Corresponds to the JSON property `safetyNetToken`
1788
1811
  # @return [String]
1789
1812
  attr_accessor :safety_net_token
@@ -1800,11 +1823,14 @@ module Google
1800
1823
  # Update properties of this object
1801
1824
  def update!(**args)
1802
1825
  @auto_retrieval_info = args[:auto_retrieval_info] if args.key?(:auto_retrieval_info)
1826
+ @captcha_response = args[:captcha_response] if args.key?(:captcha_response)
1827
+ @client_type = args[:client_type] if args.key?(:client_type)
1803
1828
  @ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt)
1804
1829
  @ios_secret = args[:ios_secret] if args.key?(:ios_secret)
1805
1830
  @phone_number = args[:phone_number] if args.key?(:phone_number)
1806
1831
  @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token)
1807
1832
  @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token)
1833
+ @recaptcha_version = args[:recaptcha_version] if args.key?(:recaptcha_version)
1808
1834
  @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
1809
1835
  @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
1810
1836
  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.17.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 = "20241024"
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.17.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-04 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.17.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.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Identity Toolkit API V1