google-apis-recaptchaenterprise_v1 0.46.0 → 0.48.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: 8f54585370e6908452a6923e7c3135d2da5eec24f390889293436e8971a698bc
4
- data.tar.gz: b6376cf1844a7ae35e722e26e7520cd6cb1d8f9431806212bcd687509f1e87be
3
+ metadata.gz: 73a55e12ca8eb7716329e66e2d3355f8d558c55ac13461cd0b58fa7b425bf319
4
+ data.tar.gz: bcbe2a7e6526cb6c643b027684544fb954284586b5a50daf002d602e5e5e5dd7
5
5
  SHA512:
6
- metadata.gz: 0d4bdb2d3a64e04ef7e48d2335f5472a65134eb16ff595a43202b5907470f91e42d35ddb0ed7f7f11ab28e6c2a99e128ba7805dc0b4c4f508624666a66dff4e2
7
- data.tar.gz: 46a8b71e1c8e53f3c6503fe390ddffb6f0ed88436a600424f43271704bdbdb07a9df1385e6359a40fc903bb2cd60781639bfda298e4ace01a7d614a381c18f48
6
+ metadata.gz: 5b0201017a12949730288465c4864c9e2e8487ebf2232b5a7c735732877c35e37768bd9ce32255383705fc9c14a6e267f838dffbe0a2200599c943699a724eae
7
+ data.tar.gz: 4eb5643e7b2001ab4c6dc0a7b0b9e6183f1a2164e80cb0b0e58f7aa44d4c4b26f6f4df50c69f93e0c7be6146f9b9def6ae1324b42b1742d2a3ba093723b3b92f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.48.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240518
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.47.0 (2024-03-31)
9
+
10
+ * Regenerated from discovery document revision 20240324
11
+
3
12
  ### v0.46.0 (2024-03-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20240317
@@ -253,6 +253,11 @@ module Google
253
253
  # @return [String]
254
254
  attr_accessor :name
255
255
 
256
+ # Assessment for Phone Fraud
257
+ # Corresponds to the JSON property `phoneFraudAssessment`
258
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment]
259
+ attr_accessor :phone_fraud_assessment
260
+
256
261
  # Private password leak verification info.
257
262
  # Corresponds to the JSON property `privatePasswordLeakVerification`
258
263
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification]
@@ -281,6 +286,7 @@ module Google
281
286
  @fraud_prevention_assessment = args[:fraud_prevention_assessment] if args.key?(:fraud_prevention_assessment)
282
287
  @fraud_signals = args[:fraud_signals] if args.key?(:fraud_signals)
283
288
  @name = args[:name] if args.key?(:name)
289
+ @phone_fraud_assessment = args[:phone_fraud_assessment] if args.key?(:phone_fraud_assessment)
284
290
  @private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
285
291
  @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
286
292
  @token_properties = args[:token_properties] if args.key?(:token_properties)
@@ -394,6 +400,11 @@ module Google
394
400
  attr_accessor :firewall_policy_evaluation
395
401
  alias_method :firewall_policy_evaluation?, :firewall_policy_evaluation
396
402
 
403
+ # Optional. The Fraud Prevention setting for this assessment.
404
+ # Corresponds to the JSON property `fraudPrevention`
405
+ # @return [String]
406
+ attr_accessor :fraud_prevention
407
+
397
408
  # Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed
398
409
  # user identifier for the request. The identifier must be hashed using hmac-
399
410
  # sha256 with stable secret.
@@ -467,6 +478,7 @@ module Google
467
478
  @expected_action = args[:expected_action] if args.key?(:expected_action)
468
479
  @express = args[:express] if args.key?(:express)
469
480
  @firewall_policy_evaluation = args[:firewall_policy_evaluation] if args.key?(:firewall_policy_evaluation)
481
+ @fraud_prevention = args[:fraud_prevention] if args.key?(:fraud_prevention)
470
482
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
471
483
  @headers = args[:headers] if args.key?(:headers)
472
484
  @ja3 = args[:ja3] if args.key?(:ja3)
@@ -1183,6 +1195,25 @@ module Google
1183
1195
  end
1184
1196
  end
1185
1197
 
1198
+ # Assessment for Phone Fraud
1199
+ class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
1200
+ include Google::Apis::Core::Hashable
1201
+
1202
+ # Information about sms toll fraud
1203
+ # Corresponds to the JSON property `smsTollFraudVerdict`
1204
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict]
1205
+ attr_accessor :sms_toll_fraud_verdict
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @sms_toll_fraud_verdict = args[:sms_toll_fraud_verdict] if args.key?(:sms_toll_fraud_verdict)
1214
+ end
1215
+ end
1216
+
1186
1217
  # Private password leak verification info.
1187
1218
  class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
1188
1219
  include Google::Apis::Core::Hashable
@@ -1501,6 +1532,32 @@ module Google
1501
1532
  end
1502
1533
  end
1503
1534
 
1535
+ # Information about sms toll fraud
1536
+ class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # Output only. Reasons contributing to the SMS toll fraud verdict.
1540
+ # Corresponds to the JSON property `reasons`
1541
+ # @return [Array<String>]
1542
+ attr_accessor :reasons
1543
+
1544
+ # Output only. Probability of an sms event being fraudulent. Values are from 0.0
1545
+ # (lowest) to 1.0 (highest).
1546
+ # Corresponds to the JSON property `risk`
1547
+ # @return [Float]
1548
+ attr_accessor :risk
1549
+
1550
+ def initialize(**args)
1551
+ update!(**args)
1552
+ end
1553
+
1554
+ # Update properties of this object
1555
+ def update!(**args)
1556
+ @reasons = args[:reasons] if args.key?(:reasons)
1557
+ @risk = args[:risk] if args.key?(:risk)
1558
+ end
1559
+ end
1560
+
1504
1561
  # Options for user acceptance testing.
1505
1562
  class GoogleCloudRecaptchaenterpriseV1TestingOptions
1506
1563
  include Google::Apis::Core::Hashable
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240317"
25
+ REVISION = "20240518"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -292,6 +298,12 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
301
+ class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class GoogleCloudRecaptchaenterpriseV1TestingOptions
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -446,6 +458,8 @@ module Google
446
458
  property :fraud_signals, as: 'fraudSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals::Representation
447
459
 
448
460
  property :name, as: 'name'
461
+ property :phone_fraud_assessment, as: 'phoneFraudAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment::Representation
462
+
449
463
  property :private_password_leak_verification, as: 'privatePasswordLeakVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::Representation
450
464
 
451
465
  property :risk_analysis, as: 'riskAnalysis', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RiskAnalysis::Representation
@@ -481,6 +495,7 @@ module Google
481
495
  property :expected_action, as: 'expectedAction'
482
496
  property :express, as: 'express'
483
497
  property :firewall_policy_evaluation, as: 'firewallPolicyEvaluation'
498
+ property :fraud_prevention, as: 'fraudPrevention'
484
499
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
485
500
  collection :headers, as: 'headers'
486
501
  property :ja3, as: 'ja3'
@@ -720,6 +735,14 @@ module Google
720
735
  end
721
736
  end
722
737
 
738
+ class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :sms_toll_fraud_verdict, as: 'smsTollFraudVerdict', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict::Representation
742
+
743
+ end
744
+ end
745
+
723
746
  class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
724
747
  # @private
725
748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -811,6 +834,14 @@ module Google
811
834
  end
812
835
  end
813
836
 
837
+ class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ collection :reasons, as: 'reasons'
841
+ property :risk, as: 'risk'
842
+ end
843
+ end
844
+
814
845
  class GoogleCloudRecaptchaenterpriseV1TestingOptions
815
846
  # @private
816
847
  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.46.0
4
+ version: 0.48.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-03-24 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.48.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: []