google-apis-recaptchaenterprise_v1 0.58.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: 9706e729c35efd419153e562ee96a2594edf190cfa6ee4d6d836123f4fc92a6a
4
- data.tar.gz: 5a5afd54fa20a4073131eb5d7add129e80c61c318525fc877ab66c54b015de31
3
+ metadata.gz: 6ab3eb921be135d6ede45e34b46dacd04ef570c16a37ff37c41e14e8f4cf0738
4
+ data.tar.gz: 8501748a32c93f5d6d4233d480199e1f628697e93e7fcbb4e64553ce464b7524
5
5
  SHA512:
6
- metadata.gz: 3c8bad05d469e80e5a9d2d3220e462ce6679b1cab7885cde5f69a5aaf34e1769ebfe4aafd16d83634777498a6a66d3758339ca1b4299dd5a6ce5cbcbaf6fef20
7
- data.tar.gz: 0f7534c2ffc002963e2c0b29dc34e0a9303fcfb0253bdbbbb84596603c45ea30c35204f4fff114c1e13862e768d78efc7e2f752b3f1cd7a44b20870a23191fd1
6
+ metadata.gz: 42114febc4d5bc6387820e5b9c0b1287b9d8766e1a166a624240481670931b9ba553f55077e3992bdfd3f656f1cc4ee48606466ff9d27355660d61ddeb2f10ab
7
+ data.tar.gz: 3890716d0810717fd78b3b66e2c2268315bb52759ab1d9eac8cf197c0f5e30431dc442e4b76ed981a4fd7c0ace2dbf4eac73e3c04d1bec7c5bc2047ca067cb3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
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
+
8
+ ### v0.59.0 (2025-02-26)
9
+
10
+ * Regenerated from discovery document revision 20250209
11
+ * Regenerated using generator version 0.16.0
12
+
3
13
  ### v0.58.0 (2024-11-03)
4
14
 
5
15
  * Regenerated from discovery document revision 20241027
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
@@ -487,11 +513,18 @@ module Google
487
513
  # @return [Array<String>]
488
514
  attr_accessor :headers
489
515
 
490
- # Optional. JA3 fingerprint for SSL clients.
516
+ # Optional. JA3 fingerprint for SSL clients. To learn how to compute this
517
+ # fingerprint, please refer to https://github.com/salesforce/ja3.
491
518
  # Corresponds to the JSON property `ja3`
492
519
  # @return [String]
493
520
  attr_accessor :ja3
494
521
 
522
+ # Optional. JA4 fingerprint for SSL clients. To learn how to compute this
523
+ # fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
524
+ # Corresponds to the JSON property `ja4`
525
+ # @return [String]
526
+ attr_accessor :ja4
527
+
495
528
  # Optional. The URI resource the user requested that triggered an assessment.
496
529
  # Corresponds to the JSON property `requestedUri`
497
530
  # @return [String]
@@ -551,6 +584,7 @@ module Google
551
584
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
552
585
  @headers = args[:headers] if args.key?(:headers)
553
586
  @ja3 = args[:ja3] if args.key?(:ja3)
587
+ @ja4 = args[:ja4] if args.key?(:ja4)
554
588
  @requested_uri = args[:requested_uri] if args.key?(:requested_uri)
555
589
  @site_key = args[:site_key] if args.key?(:site_key)
556
590
  @token = args[:token] if args.key?(:token)
@@ -842,6 +876,12 @@ module Google
842
876
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict]
843
877
  attr_accessor :card_testing_verdict
844
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
+
845
885
  # Information about stolen instrument fraud, where the user is not the
846
886
  # legitimate owner of the instrument being used for the purchase.
847
887
  # Corresponds to the JSON property `stolenInstrumentVerdict`
@@ -863,6 +903,7 @@ module Google
863
903
  def update!(**args)
864
904
  @behavioral_trust_verdict = args[:behavioral_trust_verdict] if args.key?(:behavioral_trust_verdict)
865
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)
866
907
  @stolen_instrument_verdict = args[:stolen_instrument_verdict] if args.key?(:stolen_instrument_verdict)
867
908
  @transaction_risk = args[:transaction_risk] if args.key?(:transaction_risk)
868
909
  end
@@ -909,6 +950,25 @@ module Google
909
950
  end
910
951
  end
911
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
+
912
972
  # Information about stolen instrument fraud, where the user is not the
913
973
  # legitimate owner of the instrument being used for the purchase.
914
974
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
@@ -1292,7 +1352,8 @@ module Google
1292
1352
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics>]
1293
1353
  attr_accessor :score_metrics
1294
1354
 
1295
- # Inclusive start time aligned to a day (UTC).
1355
+ # Inclusive start time aligned to a day in the America/Los_Angeles (Pacific)
1356
+ # timezone.
1296
1357
  # Corresponds to the JSON property `startTime`
1297
1358
  # @return [String]
1298
1359
  attr_accessor :start_time
@@ -1574,6 +1635,12 @@ module Google
1574
1635
  # @return [Float]
1575
1636
  attr_accessor :score
1576
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
+
1577
1644
  def initialize(**args)
1578
1645
  update!(**args)
1579
1646
  end
@@ -1584,6 +1651,7 @@ module Google
1584
1651
  @extended_verdict_reasons = args[:extended_verdict_reasons] if args.key?(:extended_verdict_reasons)
1585
1652
  @reasons = args[:reasons] if args.key?(:reasons)
1586
1653
  @score = args[:score] if args.key?(:score)
1654
+ @verified_bots = args[:verified_bots] if args.key?(:verified_bots)
1587
1655
  end
1588
1656
  end
1589
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.58.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.15.1"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241027"
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
@@ -571,6 +591,7 @@ module Google
571
591
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
572
592
  collection :headers, as: 'headers'
573
593
  property :ja3, as: 'ja3'
594
+ property :ja4, as: 'ja4'
574
595
  property :requested_uri, as: 'requestedUri'
575
596
  property :site_key, as: 'siteKey'
576
597
  property :token, as: 'token'
@@ -676,6 +697,8 @@ module Google
676
697
 
677
698
  property :card_testing_verdict, as: 'cardTestingVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict::Representation
678
699
 
700
+ collection :risk_reasons, as: 'riskReasons', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason::Representation
701
+
679
702
  property :stolen_instrument_verdict, as: 'stolenInstrumentVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict::Representation
680
703
 
681
704
  property :transaction_risk, as: 'transactionRisk'
@@ -696,6 +719,13 @@ module Google
696
719
  end
697
720
  end
698
721
 
722
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :reason, as: 'reason'
726
+ end
727
+ end
728
+
699
729
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
700
730
  # @private
701
731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -907,6 +937,8 @@ module Google
907
937
  collection :extended_verdict_reasons, as: 'extendedVerdictReasons'
908
938
  collection :reasons, as: 'reasons'
909
939
  property :score, as: 'score'
940
+ collection :verified_bots, as: 'verifiedBots', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Bot, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Bot::Representation
941
+
910
942
  end
911
943
  end
912
944
 
metadata CHANGED
@@ -1,14 +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.58.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.60.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for reCAPTCHA Enterprise API V1
82
79
  test_files: []