google-apis-recaptchaenterprise_v1 0.61.0 → 0.62.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: 97f0eb4e75ac3694ac37e99b3a566bac84cc5bbeef1310cfe8158070dc62f568
4
+ data.tar.gz: 11e6a046412a11cbf3fa2763af4231ffc9e83d222357dffa9958ec738ee6496d
5
5
  SHA512:
6
- metadata.gz: b372ce84607cfdc4f22a68277af4562f06d74a14bb1d826843ca1cf4761cbea1e6d2845edbe31959f0c105931a0151f7c0fc879e7fe6c99402bd94dee7bdf56f
7
- data.tar.gz: cb1c79b5294b4948fbab773e90db86ca50745fcd3fd19722b5edfe9757c43e690cc0928fb57ef9122dcc7083dc79f2ee343b4024cb132e91a43810e7618b86f7
6
+ metadata.gz: 7cc4d40d67ac210649438bf212b1eb6dcb7fbec8f75244789510802d94355df5de1258ac1681ba26f87f0a98f260770e4a3f23324dbc43e33fe0c7a5151fdaaa
7
+ data.tar.gz: a882236b755a218d159ca2b9443211fd6829c8c19ecac894a69ee17e2fb9f2f391f7f5d63a739f723579f53dad7847be825175ff7ee65f20342befd83b874f95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.62.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250706
6
+
3
7
  ### v0.61.0 (2025-06-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20250608
@@ -1613,7 +1613,8 @@ module Google
1613
1613
  class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
1614
1614
  include Google::Apis::Core::Hashable
1615
1615
 
1616
- # Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys
1616
+ # Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE
1617
+ # keys
1617
1618
  # Corresponds to the JSON property `challenge`
1618
1619
  # @return [String]
1619
1620
  attr_accessor :challenge
@@ -2343,12 +2344,18 @@ module Google
2343
2344
  attr_accessor :allowed_domains
2344
2345
 
2345
2346
  # 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.
2347
+ # captcha challenges. This should only be specified for `IntegrationType`
2348
+ # CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE.
2348
2349
  # Corresponds to the JSON property `challengeSecurityPreference`
2349
2350
  # @return [String]
2350
2351
  attr_accessor :challenge_security_preference
2351
2352
 
2353
+ # Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is
2354
+ # triggered.
2355
+ # Corresponds to the JSON property `challengeSettings`
2356
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings]
2357
+ attr_accessor :challenge_settings
2358
+
2352
2359
  # Required. Describes how this key is integrated with the website.
2353
2360
  # Corresponds to the JSON property `integrationType`
2354
2361
  # @return [String]
@@ -2364,10 +2371,61 @@ module Google
2364
2371
  @allow_amp_traffic = args[:allow_amp_traffic] if args.key?(:allow_amp_traffic)
2365
2372
  @allowed_domains = args[:allowed_domains] if args.key?(:allowed_domains)
2366
2373
  @challenge_security_preference = args[:challenge_security_preference] if args.key?(:challenge_security_preference)
2374
+ @challenge_settings = args[:challenge_settings] if args.key?(:challenge_settings)
2367
2375
  @integration_type = args[:integration_type] if args.key?(:integration_type)
2368
2376
  end
2369
2377
  end
2370
2378
 
2379
+ # Per-action challenge settings.
2380
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
2381
+ include Google::Apis::Core::Hashable
2382
+
2383
+ # Required. A challenge is triggered if the end-user score is below that
2384
+ # threshold. Value must be between 0 and 1 (inclusive).
2385
+ # Corresponds to the JSON property `scoreThreshold`
2386
+ # @return [Float]
2387
+ attr_accessor :score_threshold
2388
+
2389
+ def initialize(**args)
2390
+ update!(**args)
2391
+ end
2392
+
2393
+ # Update properties of this object
2394
+ def update!(**args)
2395
+ @score_threshold = args[:score_threshold] if args.key?(:score_threshold)
2396
+ end
2397
+ end
2398
+
2399
+ # Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is
2400
+ # triggered.
2401
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
2402
+ include Google::Apis::Core::Hashable
2403
+
2404
+ # Optional. The action to score threshold map. The action name should be the
2405
+ # same as the action name passed in the `data-action` attribute (see https://
2406
+ # cloud.google.com/recaptcha/docs/actions-website). Action names are case-
2407
+ # insensitive. There is a maximum of 100 action settings. An action name has a
2408
+ # maximum length of 100.
2409
+ # Corresponds to the JSON property `actionSettings`
2410
+ # @return [Hash<String,Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings>]
2411
+ attr_accessor :action_settings
2412
+
2413
+ # Per-action challenge settings.
2414
+ # Corresponds to the JSON property `defaultSettings`
2415
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings]
2416
+ attr_accessor :default_settings
2417
+
2418
+ def initialize(**args)
2419
+ update!(**args)
2420
+ end
2421
+
2422
+ # Update properties of this object
2423
+ def update!(**args)
2424
+ @action_settings = args[:action_settings] if args.key?(:action_settings)
2425
+ @default_settings = args[:default_settings] if args.key?(:default_settings)
2426
+ end
2427
+ end
2428
+
2371
2429
  # A generic empty message that you can re-use to avoid defining duplicated empty
2372
2430
  # messages in your APIs. A typical example is to use it as the request or the
2373
2431
  # 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.62.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 = "20250706"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,18 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
439
451
  class GoogleProtobufEmpty
440
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
453
 
@@ -1120,10 +1132,29 @@ module Google
1120
1132
  property :allow_amp_traffic, as: 'allowAmpTraffic'
1121
1133
  collection :allowed_domains, as: 'allowedDomains'
1122
1134
  property :challenge_security_preference, as: 'challengeSecurityPreference'
1135
+ property :challenge_settings, as: 'challengeSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings::Representation
1136
+
1123
1137
  property :integration_type, as: 'integrationType'
1124
1138
  end
1125
1139
  end
1126
1140
 
1141
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings
1142
+ # @private
1143
+ class Representation < Google::Apis::Core::JsonRepresentation
1144
+ property :score_threshold, as: 'scoreThreshold'
1145
+ end
1146
+ end
1147
+
1148
+ class GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings
1149
+ # @private
1150
+ class Representation < Google::Apis::Core::JsonRepresentation
1151
+ hash :action_settings, as: 'actionSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings::Representation
1152
+
1153
+ property :default_settings, as: 'defaultSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings::Representation
1154
+
1155
+ end
1156
+ end
1157
+
1127
1158
  class GoogleProtobufEmpty
1128
1159
  # @private
1129
1160
  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.62.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.62.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: