google-apis-recaptchaenterprise_v1 0.59.0 → 0.60.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: 14fe87c1e3b069a665314522e514bf5615a0a0a670b5e1350476c985ab13d65b
4
- data.tar.gz: 56cdc6bfc67e56bc2b4d2c1b8cf2e6e0e41f604db93a25b050febfffd2565029
3
+ metadata.gz: 6ab3eb921be135d6ede45e34b46dacd04ef570c16a37ff37c41e14e8f4cf0738
4
+ data.tar.gz: 8501748a32c93f5d6d4233d480199e1f628697e93e7fcbb4e64553ce464b7524
5
5
  SHA512:
6
- metadata.gz: 8035c253cf1dd438a55f06d98ee99c1a909b61764c9237c24db39fed0b8af0e00ae8c636f031c8dd9159efa6d329a37bc995370d3cdeec7e2b254177a3418a53
7
- data.tar.gz: 9a5eaab2eee7985055fc20247bd04f6f0ca3f0f80ecb1c50f9ded84b70f0908869c565978f1c103f05a3ed74895031b3e5b5a922a554b8f682575ea69804f26c
6
+ metadata.gz: 42114febc4d5bc6387820e5b9c0b1287b9d8766e1a166a624240481670931b9ba553f55077e3992bdfd3f656f1cc4ee48606466ff9d27355660d61ddeb2f10ab
7
+ data.tar.gz: 3890716d0810717fd78b3b66e2c2268315bb52759ab1d9eac8cf197c0f5e30431dc442e4b76ed981a4fd7c0ace2dbf4eac73e3c04d1bec7c5bc2047ca067cb3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.60.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250504
6
+ * Regenerated using generator version 0.17.0
7
+
3
8
  ### v0.59.0 (2025-02-26)
4
9
 
5
10
  * Regenerated from discovery document revision 20250209
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/recaptcha-enterprise/) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -363,6 +363,32 @@ module Google
363
363
  end
364
364
  end
365
365
 
366
+ # Bot information and metadata.
367
+ class GoogleCloudRecaptchaenterpriseV1Bot
368
+ include Google::Apis::Core::Hashable
369
+
370
+ # Optional. Enumerated field representing the type of bot.
371
+ # Corresponds to the JSON property `botType`
372
+ # @return [String]
373
+ attr_accessor :bot_type
374
+
375
+ # Optional. Enumerated string value that indicates the identity of the bot,
376
+ # formatted in kebab-case.
377
+ # Corresponds to the JSON property `name`
378
+ # @return [String]
379
+ attr_accessor :name
380
+
381
+ def initialize(**args)
382
+ update!(**args)
383
+ end
384
+
385
+ # Update properties of this object
386
+ def update!(**args)
387
+ @bot_type = args[:bot_type] if args.key?(:bot_type)
388
+ @name = args[:name] if args.key?(:name)
389
+ end
390
+ end
391
+
366
392
  # Metrics related to challenges.
367
393
  class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
368
394
  include Google::Apis::Core::Hashable
@@ -850,6 +876,12 @@ module Google
850
876
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict]
851
877
  attr_accessor :card_testing_verdict
852
878
 
879
+ # Output only. Reasons why the transaction is probably fraudulent and received a
880
+ # high transaction risk score.
881
+ # Corresponds to the JSON property `riskReasons`
882
+ # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason>]
883
+ attr_accessor :risk_reasons
884
+
853
885
  # Information about stolen instrument fraud, where the user is not the
854
886
  # legitimate owner of the instrument being used for the purchase.
855
887
  # Corresponds to the JSON property `stolenInstrumentVerdict`
@@ -871,6 +903,7 @@ module Google
871
903
  def update!(**args)
872
904
  @behavioral_trust_verdict = args[:behavioral_trust_verdict] if args.key?(:behavioral_trust_verdict)
873
905
  @card_testing_verdict = args[:card_testing_verdict] if args.key?(:card_testing_verdict)
906
+ @risk_reasons = args[:risk_reasons] if args.key?(:risk_reasons)
874
907
  @stolen_instrument_verdict = args[:stolen_instrument_verdict] if args.key?(:stolen_instrument_verdict)
875
908
  @transaction_risk = args[:transaction_risk] if args.key?(:transaction_risk)
876
909
  end
@@ -917,6 +950,25 @@ module Google
917
950
  end
918
951
  end
919
952
 
953
+ # Risk reasons applicable to the Fraud Prevention assessment.
954
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason
955
+ include Google::Apis::Core::Hashable
956
+
957
+ # Output only. Risk reasons applicable to the Fraud Prevention assessment.
958
+ # Corresponds to the JSON property `reason`
959
+ # @return [String]
960
+ attr_accessor :reason
961
+
962
+ def initialize(**args)
963
+ update!(**args)
964
+ end
965
+
966
+ # Update properties of this object
967
+ def update!(**args)
968
+ @reason = args[:reason] if args.key?(:reason)
969
+ end
970
+ end
971
+
920
972
  # Information about stolen instrument fraud, where the user is not the
921
973
  # legitimate owner of the instrument being used for the purchase.
922
974
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
@@ -1583,6 +1635,12 @@ module Google
1583
1635
  # @return [Float]
1584
1636
  attr_accessor :score
1585
1637
 
1638
+ # Output only. Bots with identities that have been verified by reCAPTCHA and
1639
+ # detected in the event.
1640
+ # Corresponds to the JSON property `verifiedBots`
1641
+ # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Bot>]
1642
+ attr_accessor :verified_bots
1643
+
1586
1644
  def initialize(**args)
1587
1645
  update!(**args)
1588
1646
  end
@@ -1593,6 +1651,7 @@ module Google
1593
1651
  @extended_verdict_reasons = args[:extended_verdict_reasons] if args.key?(:extended_verdict_reasons)
1594
1652
  @reasons = args[:reasons] if args.key?(:reasons)
1595
1653
  @score = args[:score] if args.key?(:score)
1654
+ @verified_bots = args[:verified_bots] if args.key?(:verified_bots)
1596
1655
  end
1597
1656
  end
1598
1657
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecaptchaenterpriseV1
18
18
  # Version of the google-apis-recaptchaenterprise_v1 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250209"
25
+ REVISION = "20250504"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudRecaptchaenterpriseV1Bot
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -541,6 +553,14 @@ module Google
541
553
  end
542
554
  end
543
555
 
556
+ class GoogleCloudRecaptchaenterpriseV1Bot
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :bot_type, as: 'botType'
560
+ property :name, as: 'name'
561
+ end
562
+ end
563
+
544
564
  class GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
545
565
  # @private
546
566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +697,8 @@ module Google
677
697
 
678
698
  property :card_testing_verdict, as: 'cardTestingVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict::Representation
679
699
 
700
+ collection :risk_reasons, as: 'riskReasons', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason::Representation
701
+
680
702
  property :stolen_instrument_verdict, as: 'stolenInstrumentVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict::Representation
681
703
 
682
704
  property :transaction_risk, as: 'transactionRisk'
@@ -697,6 +719,13 @@ module Google
697
719
  end
698
720
  end
699
721
 
722
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :reason, as: 'reason'
726
+ end
727
+ end
728
+
700
729
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
701
730
  # @private
702
731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -908,6 +937,8 @@ module Google
908
937
  collection :extended_verdict_reasons, as: 'extendedVerdictReasons'
909
938
  collection :reasons, as: 'reasons'
910
939
  property :score, as: 'score'
940
+ collection :verified_bots, as: 'verifiedBots', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Bot, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Bot::Representation
941
+
911
942
  end
912
943
  end
913
944
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recaptchaenterprise_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.59.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.60.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for reCAPTCHA Enterprise API V1
79
79
  test_files: []