google-apis-recaptchaenterprise_v1 0.61.0 → 0.63.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: a93ee085a0e6e668bde026d599a36ddd6ea005c60e77b42c5d421a2b6d4762b2
4
- data.tar.gz: 3764a5eba984b0ef59a95675b8de8d08fd50262c27f664c1995db442ebaf4368
3
+ metadata.gz: c7ed51bec48a5bc1d7d0c09ab10fd042ee84b95ff7783e243470b8ece7efb9dc
4
+ data.tar.gz: 7da5a1f60ea5ef5dcb01e2c041bf7a2a1a9fedd82d360c41fd44cbc5edf04f3f
5
5
  SHA512:
6
- metadata.gz: b372ce84607cfdc4f22a68277af4562f06d74a14bb1d826843ca1cf4761cbea1e6d2845edbe31959f0c105931a0151f7c0fc879e7fe6c99402bd94dee7bdf56f
7
- data.tar.gz: cb1c79b5294b4948fbab773e90db86ca50745fcd3fd19722b5edfe9757c43e690cc0928fb57ef9122dcc7083dc79f2ee343b4024cb132e91a43810e7618b86f7
6
+ metadata.gz: bbe2da1266214b289e751a0dd10a06ce570ab8bf13a3ec4c2191e94847eafdc09813db0b11601d0644b712450e9fbb394ed8976f72ea8ab87c87e76f1a471835
7
+ data.tar.gz: 0c3137f97858920213a60fbc10c3ab1582ac905c2b0fdc23f0384aa32c943a81974de8c0be4a4ec52c243b3017302abf44815821f995e2927dde8844668b9b71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.63.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250928
6
+
7
+ ### v0.62.0 (2025-07-13)
8
+
9
+ * Regenerated from discovery document revision 20250706
10
+
3
11
  ### v0.61.0 (2025-06-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20250608
@@ -174,6 +174,11 @@ module Google
174
174
  # @return [String]
175
175
  attr_accessor :hashed_account_id
176
176
 
177
+ # Details on a phone authentication event
178
+ # Corresponds to the JSON property `phoneAuthenticationEvent`
179
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent]
180
+ attr_accessor :phone_authentication_event
181
+
177
182
  # Optional. Reasons for the annotation that are assigned to the event.
178
183
  # Corresponds to the JSON property `reasons`
179
184
  # @return [Array<String>]
@@ -193,6 +198,7 @@ module Google
193
198
  @account_id = args[:account_id] if args.key?(:account_id)
194
199
  @annotation = args[:annotation] if args.key?(:annotation)
195
200
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
201
+ @phone_authentication_event = args[:phone_authentication_event] if args.key?(:phone_authentication_event)
196
202
  @reasons = args[:reasons] if args.key?(:reasons)
197
203
  @transaction_event = args[:transaction_event] if args.key?(:transaction_event)
198
204
  end
@@ -1397,6 +1403,33 @@ module Google
1397
1403
  end
1398
1404
  end
1399
1405
 
1406
+ # Details on a phone authentication event
1407
+ class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
1408
+ include Google::Apis::Core::Hashable
1409
+
1410
+ # Optional. The time at which the multi-factor authentication event (challenge
1411
+ # or verification) occurred.
1412
+ # Corresponds to the JSON property `eventTime`
1413
+ # @return [String]
1414
+ attr_accessor :event_time
1415
+
1416
+ # Required. Phone number in E.164 format for which a multi-factor authentication
1417
+ # challenge was initiated, succeeded, or failed.
1418
+ # Corresponds to the JSON property `phoneNumber`
1419
+ # @return [String]
1420
+ attr_accessor :phone_number
1421
+
1422
+ def initialize(**args)
1423
+ update!(**args)
1424
+ end
1425
+
1426
+ # Update properties of this object
1427
+ def update!(**args)
1428
+ @event_time = args[:event_time] if args.key?(:event_time)
1429
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1430
+ end
1431
+ end
1432
+
1400
1433
  # Assessment for Phone Fraud
1401
1434
  class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
1402
1435
  include Google::Apis::Core::Hashable
@@ -1613,7 +1646,8 @@ module Google
1613
1646
  class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
1614
1647
  include Google::Apis::Core::Hashable
1615
1648
 
1616
- # Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys
1649
+ # Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE
1650
+ # keys.
1617
1651
  # Corresponds to the JSON property `challenge`
1618
1652
  # @return [String]
1619
1653
  attr_accessor :challenge
@@ -2343,12 +2377,18 @@ module Google
2343
2377
  attr_accessor :allowed_domains
2344
2378
 
2345
2379
  # Optional. Settings for the frequency and difficulty at which this key triggers
2346
- # captcha challenges. This should only be specified for IntegrationTypes
2347
- # CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE.
2380
+ # captcha challenges. This should only be specified for `IntegrationType`
2381
+ # CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE.
2348
2382
  # Corresponds to the JSON property `challengeSecurityPreference`
2349
2383
  # @return [String]
2350
2384
  attr_accessor :challenge_security_preference
2351
2385
 
2386
+ # Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is
2387
+ # triggered.
2388
+ # Corresponds to the JSON property `challengeSettings`
2389
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings]
2390
+ attr_accessor :challenge_settings
2391
+
2352
2392
  # Required. Describes how this key is integrated with the website.
2353
2393
  # Corresponds to the JSON property `integrationType`
2354
2394
  # @return [String]
@@ -2364,10 +2404,61 @@ module Google
2364
2404
  @allow_amp_traffic = args[:allow_amp_traffic] if args.key?(:allow_amp_traffic)
2365
2405
  @allowed_domains = args[:allowed_domains] if args.key?(:allowed_domains)
2366
2406
  @challenge_security_preference = args[:challenge_security_preference] if args.key?(:challenge_security_preference)
2407
+ @challenge_settings = args[:challenge_settings] if args.key?(:challenge_settings)
2367
2408
  @integration_type = args[:integration_type] if args.key?(:integration_type)
2368
2409
  end
2369
2410
  end
2370
2411
 
2412
+ # Per-action challenge settings.
2413
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
2414
+ include Google::Apis::Core::Hashable
2415
+
2416
+ # Required. A challenge is triggered if the end-user score is below that
2417
+ # threshold. Value must be between 0 and 1 (inclusive).
2418
+ # Corresponds to the JSON property `scoreThreshold`
2419
+ # @return [Float]
2420
+ attr_accessor :score_threshold
2421
+
2422
+ def initialize(**args)
2423
+ update!(**args)
2424
+ end
2425
+
2426
+ # Update properties of this object
2427
+ def update!(**args)
2428
+ @score_threshold = args[:score_threshold] if args.key?(:score_threshold)
2429
+ end
2430
+ end
2431
+
2432
+ # Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is
2433
+ # triggered.
2434
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
2435
+ include Google::Apis::Core::Hashable
2436
+
2437
+ # Optional. The action to score threshold map. The action name should be the
2438
+ # same as the action name passed in the `data-action` attribute (see https://
2439
+ # cloud.google.com/recaptcha/docs/actions-website). Action names are case-
2440
+ # insensitive. There is a maximum of 100 action settings. An action name has a
2441
+ # maximum length of 100.
2442
+ # Corresponds to the JSON property `actionSettings`
2443
+ # @return [Hash<String,Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings>]
2444
+ attr_accessor :action_settings
2445
+
2446
+ # Per-action challenge settings.
2447
+ # Corresponds to the JSON property `defaultSettings`
2448
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings]
2449
+ attr_accessor :default_settings
2450
+
2451
+ def initialize(**args)
2452
+ update!(**args)
2453
+ end
2454
+
2455
+ # Update properties of this object
2456
+ def update!(**args)
2457
+ @action_settings = args[:action_settings] if args.key?(:action_settings)
2458
+ @default_settings = args[:default_settings] if args.key?(:default_settings)
2459
+ end
2460
+ end
2461
+
2371
2462
  # A generic empty message that you can re-use to avoid defining duplicated empty
2372
2463
  # messages in your APIs. A typical example is to use it as the request or the
2373
2464
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250608"
25
+ REVISION = "20250928"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -436,6 +442,18 @@ module Google
436
442
  include Google::Apis::Core::JsonObjectSupport
437
443
  end
438
444
 
445
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
439
457
  class GoogleProtobufEmpty
440
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
459
 
@@ -495,6 +513,8 @@ module Google
495
513
  property :account_id, as: 'accountId'
496
514
  property :annotation, as: 'annotation'
497
515
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
516
+ property :phone_authentication_event, as: 'phoneAuthenticationEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent::Representation
517
+
498
518
  collection :reasons, as: 'reasons'
499
519
  property :transaction_event, as: 'transactionEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent::Representation
500
520
 
@@ -862,6 +882,14 @@ module Google
862
882
  end
863
883
  end
864
884
 
885
+ class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :event_time, as: 'eventTime'
889
+ property :phone_number, as: 'phoneNumber'
890
+ end
891
+ end
892
+
865
893
  class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
866
894
  # @private
867
895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1120,10 +1148,29 @@ module Google
1120
1148
  property :allow_amp_traffic, as: 'allowAmpTraffic'
1121
1149
  collection :allowed_domains, as: 'allowedDomains'
1122
1150
  property :challenge_security_preference, as: 'challengeSecurityPreference'
1151
+ property :challenge_settings, as: 'challengeSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings::Representation
1152
+
1123
1153
  property :integration_type, as: 'integrationType'
1124
1154
  end
1125
1155
  end
1126
1156
 
1157
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
1158
+ # @private
1159
+ class Representation < Google::Apis::Core::JsonRepresentation
1160
+ property :score_threshold, as: 'scoreThreshold'
1161
+ end
1162
+ end
1163
+
1164
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ hash :action_settings, as: 'actionSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings::Representation
1168
+
1169
+ property :default_settings, as: 'defaultSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings::Representation
1170
+
1171
+ end
1172
+ end
1173
+
1127
1174
  class GoogleProtobufEmpty
1128
1175
  # @private
1129
1176
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recaptchaenterprise_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.63.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
62
62
  rdoc_options: []
63
63
  require_paths: