google-apis-recaptchaenterprise_v1 0.30.0 → 0.31.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: d425d7da767de18b0e4b89c235a951362d90f049054b43442f5b31e24a876f13
4
- data.tar.gz: 80e4d111d46f693360eeaabb9b4991280d89e2f533ef98bf632e9818538b6692
3
+ metadata.gz: b9687a33916f919b8aa8e01bf2ed623fdf2f8584bba082375de054d2271444b0
4
+ data.tar.gz: f5df2aba2cfb849863a7cc875b0069eb6328bd42fcfdd0c37616a41b46545bbe
5
5
  SHA512:
6
- metadata.gz: 3278aa873cb4c96e04c4948e7dab569aec291c51d44d5248e4f5b5a26b3a665cba9fe4d59f40a9b0dc00b695aedd131c767c54a6955b70eda30a133b540f0783
7
- data.tar.gz: a81443d54b8e52ae303cbfefb02747d5dd3fc85901c198dfbf606377a1b2b2531f7c33e216359a3b10a5cb3a95fc5ab33d6f3776723da348e8b5cf1a17df6100
6
+ metadata.gz: de8385df6359e90507996674ff0944787685a2d5855e66eb0a0bfdff51762048495b077923edd5c1cf65746037e6966eeaefef06914371fb2fb37135b0567caa
7
+ data.tar.gz: 4aa289a31245b37f5331ab5b5beaae4df7d6fc863a79f4a225783047e89e565f9c7370f540446454757c2283cc2a54a2c535d3816ccc02299a9128b71dfe4060
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.31.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230328
6
+
3
7
  ### v0.30.0 (2023-03-26)
4
8
 
5
9
  * 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
@@ -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.31.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 = "20230328"
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
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.31.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-02 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.31.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: []