google-apis-recaptchaenterprise_v1 0.30.0 → 0.32.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: d425d7da767de18b0e4b89c235a951362d90f049054b43442f5b31e24a876f13
4
- data.tar.gz: 80e4d111d46f693360eeaabb9b4991280d89e2f533ef98bf632e9818538b6692
3
+ metadata.gz: d68fa234f00af2055d88ee0f46cb0fdb78151c003b0ddeb6eb746ea22ad4093d
4
+ data.tar.gz: 23c8e6d2c81297ed1b862584c5abc31e097c24ab804673a51fb0a985d5ea80f7
5
5
  SHA512:
6
- metadata.gz: 3278aa873cb4c96e04c4948e7dab569aec291c51d44d5248e4f5b5a26b3a665cba9fe4d59f40a9b0dc00b695aedd131c767c54a6955b70eda30a133b540f0783
7
- data.tar.gz: a81443d54b8e52ae303cbfefb02747d5dd3fc85901c198dfbf606377a1b2b2531f7c33e216359a3b10a5cb3a95fc5ab33d6f3776723da348e8b5cf1a17df6100
6
+ metadata.gz: 3fec5ce3a6209e256f781f27dfa6a44d31c00469fe7d32d3a5fb0ef8d904998c5a5c89222ca2b7c7cabbb4c8ec118cd7612db62478b961292de9d07492202ba0
7
+ data.tar.gz: 12e746ccce52ba38778268149ea3b73819683edc49629ad151ed2ab5cd7ac700c3a489a4d135bce964a1a00ee379b65c9dbc680a326545e4296f59dd022cc123
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.32.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230402
6
+
7
+ ### v0.31.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230328
10
+
3
11
  ### v0.30.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230319
@@ -658,6 +658,11 @@ module Google
658
658
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
659
659
  include Google::Apis::Core::Hashable
660
660
 
661
+ # Information about behavioral trust of the transaction.
662
+ # Corresponds to the JSON property `behavioralTrustVerdict`
663
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict]
664
+ attr_accessor :behavioral_trust_verdict
665
+
661
666
  # Information about card testing fraud, where an adversary is testing
662
667
  # fraudulently obtained cards or brute forcing their details.
663
668
  # Corresponds to the JSON property `cardTestingVerdict`
@@ -682,12 +687,33 @@ module Google
682
687
 
683
688
  # Update properties of this object
684
689
  def update!(**args)
690
+ @behavioral_trust_verdict = args[:behavioral_trust_verdict] if args.key?(:behavioral_trust_verdict)
685
691
  @card_testing_verdict = args[:card_testing_verdict] if args.key?(:card_testing_verdict)
686
692
  @stolen_instrument_verdict = args[:stolen_instrument_verdict] if args.key?(:stolen_instrument_verdict)
687
693
  @transaction_risk = args[:transaction_risk] if args.key?(:transaction_risk)
688
694
  end
689
695
  end
690
696
 
697
+ # Information about behavioral trust of the transaction.
698
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
699
+ include Google::Apis::Core::Hashable
700
+
701
+ # Probability (0-1) of this transaction attempt being executed in a behaviorally
702
+ # trustworthy way.
703
+ # Corresponds to the JSON property `trust`
704
+ # @return [Float]
705
+ attr_accessor :trust_prop
706
+
707
+ def initialize(**args)
708
+ update!(**args)
709
+ end
710
+
711
+ # Update properties of this object
712
+ def update!(**args)
713
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
714
+ end
715
+ end
716
+
691
717
  # Information about card testing fraud, where an adversary is testing
692
718
  # fraudulently obtained cards or brute forcing their details.
693
719
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
@@ -1119,6 +1145,12 @@ module Google
1119
1145
  class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
1120
1146
  include Google::Apis::Core::Hashable
1121
1147
 
1148
+ # Extended verdict reasons to be used for experimentation only. The set of
1149
+ # possible reasons is subject to change.
1150
+ # Corresponds to the JSON property `extendedVerdictReasons`
1151
+ # @return [Array<String>]
1152
+ attr_accessor :extended_verdict_reasons
1153
+
1122
1154
  # Reasons contributing to the risk analysis verdict.
1123
1155
  # Corresponds to the JSON property `reasons`
1124
1156
  # @return [Array<String>]
@@ -1136,6 +1168,7 @@ module Google
1136
1168
 
1137
1169
  # Update properties of this object
1138
1170
  def update!(**args)
1171
+ @extended_verdict_reasons = args[:extended_verdict_reasons] if args.key?(:extended_verdict_reasons)
1139
1172
  @reasons = args[:reasons] if args.key?(:reasons)
1140
1173
  @score = args[:score] if args.key?(:score)
1141
1174
  end
@@ -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.30.0"
19
+ GEM_VERSION = "0.32.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 = "20230319"
25
+ REVISION = "20230402"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -497,6 +503,8 @@ module Google
497
503
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
498
504
  # @private
499
505
  class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :behavioral_trust_verdict, as: 'behavioralTrustVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict::Representation
507
+
500
508
  property :card_testing_verdict, as: 'cardTestingVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict::Representation
501
509
 
502
510
  property :stolen_instrument_verdict, as: 'stolenInstrumentVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict::Representation
@@ -505,6 +513,13 @@ module Google
505
513
  end
506
514
  end
507
515
 
516
+ class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :trust_prop, as: 'trust'
520
+ end
521
+ end
522
+
508
523
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
509
524
  # @private
510
525
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -637,6 +652,7 @@ module Google
637
652
  class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
638
653
  # @private
639
654
  class Representation < Google::Apis::Core::JsonRepresentation
655
+ collection :extended_verdict_reasons, as: 'extendedVerdictReasons'
640
656
  collection :reasons, as: 'reasons'
641
657
  property :score, as: 'score'
642
658
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recaptchaenterprise_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.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-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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-recaptchaenterprise_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
63
63
  post_install_message:
64
64
  rdoc_options: []