google-apis-recaptchaenterprise_v1 0.36.0 → 0.37.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: be7e4f1b45b9770095d9097a213548db38ae0d131364d67cc08c3fbdcb94247f
4
- data.tar.gz: 9b21868e5e567e9a8ae86e7829c61466805805d7bf5dbaa8e24ff10de39af874
3
+ metadata.gz: 699feef1e6da5839899a2d69503de6afbb39fd083eaca27232ee29c69bceafae
4
+ data.tar.gz: 551eff0101c5013633f8c89b2cd12eb2b92f27282efaf51cb32419b9d30ce655
5
5
  SHA512:
6
- metadata.gz: 6045ccff92a0066ea5e1b8e4e2cc99b3e377d2c149bb98822f8759b8e6919dc056762d4385729321ba1adeae015cbfa9b3dbed8e3f8c2213a88bbd81dca8ef21
7
- data.tar.gz: 4af17c87244c1f05fbbb56b2d51478b4ebfcc2272afc0d1d4f066ac2dceb4b36024145abc215286feb1bbb9a8a631c586e55b334840fd6b39b2012533351cdff
6
+ metadata.gz: 5f927be7d85351d22a8b02fb3e488b31576d4d3cc63c39df5bd31378ab9ffbed59e0044df7754996d7128bec110c5c5895f0b4c440e3efc2253aae164fa996ab
7
+ data.tar.gz: 5e9176f271ef5db727266846feb7aa8622f125e551eeda230c87005fdd3a9ea24e6be7da4466aa3f5b7e406db5a408689da8a0a444ce58f36334a15664f118e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.37.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230917
6
+
3
7
  ### v0.36.0 (2023-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20230724
@@ -236,6 +236,11 @@ module Google
236
236
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment]
237
237
  attr_accessor :fraud_prevention_assessment
238
238
 
239
+ # Fraud signals describing users and cards involved in the transaction.
240
+ # Corresponds to the JSON property `fraudSignals`
241
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals]
242
+ attr_accessor :fraud_signals
243
+
239
244
  # Output only. The resource name for the Assessment in the format "projects/`
240
245
  # project`/assessments/`assessment`".
241
246
  # Corresponds to the JSON property `name`
@@ -268,6 +273,7 @@ module Google
268
273
  @event = args[:event] if args.key?(:event)
269
274
  @firewall_policy_assessment = args[:firewall_policy_assessment] if args.key?(:firewall_policy_assessment)
270
275
  @fraud_prevention_assessment = args[:fraud_prevention_assessment] if args.key?(:fraud_prevention_assessment)
276
+ @fraud_signals = args[:fraud_signals] if args.key?(:fraud_signals)
271
277
  @name = args[:name] if args.key?(:name)
272
278
  @private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
273
279
  @risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
@@ -790,6 +796,78 @@ module Google
790
796
  end
791
797
  end
792
798
 
799
+ # Fraud signals describing users and cards involved in the transaction.
800
+ class GoogleCloudRecaptchaenterpriseV1FraudSignals
801
+ include Google::Apis::Core::Hashable
802
+
803
+ # Signals describing the payment card used in this transaction.
804
+ # Corresponds to the JSON property `cardSignals`
805
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals]
806
+ attr_accessor :card_signals
807
+
808
+ # Signals describing the user involved in this transaction.
809
+ # Corresponds to the JSON property `userSignals`
810
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals]
811
+ attr_accessor :user_signals
812
+
813
+ def initialize(**args)
814
+ update!(**args)
815
+ end
816
+
817
+ # Update properties of this object
818
+ def update!(**args)
819
+ @card_signals = args[:card_signals] if args.key?(:card_signals)
820
+ @user_signals = args[:user_signals] if args.key?(:user_signals)
821
+ end
822
+ end
823
+
824
+ # Signals describing the payment card used in this transaction.
825
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
826
+ include Google::Apis::Core::Hashable
827
+
828
+ # Output only. The labels for the payment card in this transaction.
829
+ # Corresponds to the JSON property `cardLabels`
830
+ # @return [Array<String>]
831
+ attr_accessor :card_labels
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @card_labels = args[:card_labels] if args.key?(:card_labels)
840
+ end
841
+ end
842
+
843
+ # Signals describing the user involved in this transaction.
844
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
845
+ include Google::Apis::Core::Hashable
846
+
847
+ # Output only. This user (based on email, phone, and other identifiers) has been
848
+ # seen on the internet for at least this number of days.
849
+ # Corresponds to the JSON property `activeDaysLowerBound`
850
+ # @return [Fixnum]
851
+ attr_accessor :active_days_lower_bound
852
+
853
+ # Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic
854
+ # components in their identity, such as a randomly generated email address,
855
+ # temporary phone number, or fake shipping address.
856
+ # Corresponds to the JSON property `syntheticRisk`
857
+ # @return [Float]
858
+ attr_accessor :synthetic_risk
859
+
860
+ def initialize(**args)
861
+ update!(**args)
862
+ end
863
+
864
+ # Update properties of this object
865
+ def update!(**args)
866
+ @active_days_lower_bound = args[:active_days_lower_bound] if args.key?(:active_days_lower_bound)
867
+ @synthetic_risk = args[:synthetic_risk] if args.key?(:synthetic_risk)
868
+ end
869
+ end
870
+
793
871
  # Settings specific to keys that can be used by iOS apps.
794
872
  class GoogleCloudRecaptchaenterpriseV1IosKeySettings
795
873
  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.36.0"
19
+ GEM_VERSION = "0.37.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 = "20230724"
25
+ REVISION = "20230917"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,24 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudRecaptchaenterpriseV1FraudSignals
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class GoogleCloudRecaptchaenterpriseV1IosKeySettings
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -394,6 +412,8 @@ module Google
394
412
 
395
413
  property :fraud_prevention_assessment, as: 'fraudPreventionAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment::Representation
396
414
 
415
+ property :fraud_signals, as: 'fraudSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals::Representation
416
+
397
417
  property :name, as: 'name'
398
418
  property :private_password_leak_verification, as: 'privatePasswordLeakVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification::Representation
399
419
 
@@ -549,6 +569,31 @@ module Google
549
569
  end
550
570
  end
551
571
 
572
+ class GoogleCloudRecaptchaenterpriseV1FraudSignals
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :card_signals, as: 'cardSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals::Representation
576
+
577
+ property :user_signals, as: 'userSignals', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ collection :card_labels, as: 'cardLabels'
586
+ end
587
+ end
588
+
589
+ class GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :active_days_lower_bound, as: 'activeDaysLowerBound'
593
+ property :synthetic_risk, as: 'syntheticRisk'
594
+ end
595
+ end
596
+
552
597
  class GoogleCloudRecaptchaenterpriseV1IosKeySettings
553
598
  # @private
554
599
  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.36.0
4
+ version: 0.37.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-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-24 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.37.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for reCAPTCHA Enterprise API V1