google-apis-recaptchaenterprise_v1 0.54.0 → 0.56.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: 58c96194deed3999d87072b6be7f37bb4c6943580f49b2c7103f15a82a402044
4
- data.tar.gz: 231121c702a07bcb509d880b6218d8558ae93bd585b858ebc1a561af3ffd4a34
3
+ metadata.gz: a82411d884a0f4a4136c5574f23c6230385ae7e77b3b8ca1759d2407d9e0a91c
4
+ data.tar.gz: 509942c27dda537c06bb390040383de96b74b3e6f15e0f32e84e6513843087c7
5
5
  SHA512:
6
- metadata.gz: 428e41008d56b0340b95407f70fb8fa628a1508104e7dc8a9d0c2ec7d34f71dab440e4965b76f1ab8b8249d94ee5b316903880d40231267c70ec7df6b33b7eef
7
- data.tar.gz: 181f0a97de0618b4a0fc3c039fac9fe2d75991bcf3395d2433808ad5901302ae4428873fd279f3930dfb2900c6ce9f905fdaaec36e814c9b5882d7d8ac6fa7bc
6
+ metadata.gz: 32de3b8428b4826d138182f79523066122a5c60d2e1f2b6dc26f7d0a49bd65a1937f0cb099756c5d4367ac1a496be3688633c665e85f3a2564574b431271772a
7
+ data.tar.gz: 5da38a5955f81cb944480aace4641647f035d5b2ab50745bf399d5c9c3bc4eb596252446bd6b92550518fa5a8b91eca24c541644652c484116338ac23e07e8fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.56.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240906
6
+
7
+ ### v0.55.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240825
10
+
3
11
  ### v0.54.0 (2024-08-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240811
@@ -158,9 +158,9 @@ module Google
158
158
  # @return [String]
159
159
  attr_accessor :account_id
160
160
 
161
- # Optional. The annotation that will be assigned to the Event. This field can be
162
- # left empty to provide reasons that apply to an event without concluding
163
- # whether the event is legitimate or fraudulent.
161
+ # Optional. The annotation that is assigned to the Event. This field can be left
162
+ # empty to provide reasons that apply to an event without concluding whether the
163
+ # event is legitimate or fraudulent.
164
164
  # Corresponds to the JSON property `annotation`
165
165
  # @return [String]
166
166
  attr_accessor :annotation
@@ -455,16 +455,15 @@ module Google
455
455
  attr_accessor :expected_action
456
456
 
457
457
  # Optional. Flag for a reCAPTCHA express request for an assessment without a
458
- # token. If enabled, `site_key` must reference a SCORE key with WAF feature set
459
- # to EXPRESS.
458
+ # token. If enabled, `site_key` must reference an Express site key.
460
459
  # Corresponds to the JSON property `express`
461
460
  # @return [Boolean]
462
461
  attr_accessor :express
463
462
  alias_method :express?, :express
464
463
 
465
464
  # Optional. Flag for enabling firewall policy config assessment. If this flag is
466
- # enabled, the firewall policy will be evaluated and a suggested firewall action
467
- # will be returned in the response.
465
+ # enabled, the firewall policy is evaluated and a suggested firewall action is
466
+ # returned in the response.
468
467
  # Corresponds to the JSON property `firewallPolicyEvaluation`
469
468
  # @return [Boolean]
470
469
  attr_accessor :firewall_policy_evaluation
@@ -563,6 +562,19 @@ module Google
563
562
  end
564
563
  end
565
564
 
565
+ # Settings specific to keys that can be used for reCAPTCHA Express.
566
+ class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
567
+ include Google::Apis::Core::Hashable
568
+
569
+ def initialize(**args)
570
+ update!(**args)
571
+ end
572
+
573
+ # Update properties of this object
574
+ def update!(**args)
575
+ end
576
+ end
577
+
566
578
  # An individual action. Each action represents what to do if a policy matches.
567
579
  class GoogleCloudRecaptchaenterpriseV1FirewallAction
568
580
  include Google::Apis::Core::Hashable
@@ -588,7 +600,7 @@ module Google
588
600
  attr_accessor :include_recaptcha_script
589
601
 
590
602
  # A redirect action returns a 307 (temporary redirect) response, pointing the
591
- # user to a ReCaptcha interstitial page to attach a token.
603
+ # user to a reCAPTCHA interstitial page to attach a token.
592
604
  # Corresponds to the JSON property `redirect`
593
605
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]
594
606
  attr_accessor :redirect
@@ -665,7 +677,7 @@ module Google
665
677
  end
666
678
 
667
679
  # A redirect action returns a 307 (temporary redirect) response, pointing the
668
- # user to a ReCaptcha interstitial page to attach a token.
680
+ # user to a reCAPTCHA interstitial page to attach a token.
669
681
  class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
670
682
  include Google::Apis::Core::Hashable
671
683
 
@@ -1072,6 +1084,11 @@ module Google
1072
1084
  # @return [String]
1073
1085
  attr_accessor :display_name
1074
1086
 
1087
+ # Settings specific to keys that can be used for reCAPTCHA Express.
1088
+ # Corresponds to the JSON property `expressSettings`
1089
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings]
1090
+ attr_accessor :express_settings
1091
+
1075
1092
  # Settings specific to keys that can be used by iOS apps.
1076
1093
  # Corresponds to the JSON property `iosSettings`
1077
1094
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings]
@@ -1113,6 +1130,7 @@ module Google
1113
1130
  @android_settings = args[:android_settings] if args.key?(:android_settings)
1114
1131
  @create_time = args[:create_time] if args.key?(:create_time)
1115
1132
  @display_name = args[:display_name] if args.key?(:display_name)
1133
+ @express_settings = args[:express_settings] if args.key?(:express_settings)
1116
1134
  @ios_settings = args[:ios_settings] if args.key?(:ios_settings)
1117
1135
  @labels = args[:labels] if args.key?(:labels)
1118
1136
  @name = args[:name] if args.key?(:name)
@@ -1256,9 +1274,8 @@ module Google
1256
1274
  class GoogleCloudRecaptchaenterpriseV1Metrics
1257
1275
  include Google::Apis::Core::Hashable
1258
1276
 
1259
- # Metrics will be continuous and in order by dates, and in the granularity of
1260
- # day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have challenge-
1261
- # based data.
1277
+ # Metrics are continuous and in order by dates, and in the granularity of day.
1278
+ # Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
1262
1279
  # Corresponds to the JSON property `challengeMetrics`
1263
1280
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
1264
1281
  attr_accessor :challenge_metrics
@@ -1269,8 +1286,8 @@ module Google
1269
1286
  # @return [String]
1270
1287
  attr_accessor :name
1271
1288
 
1272
- # Metrics will be continuous and in order by dates, and in the granularity of
1273
- # day. All Key types should have score-based data.
1289
+ # Metrics are continuous and in order by dates, and in the granularity of day.
1290
+ # All Key types should have score-based data.
1274
1291
  # Corresponds to the JSON property `scoreMetrics`
1275
1292
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics>]
1276
1293
  attr_accessor :score_metrics
@@ -1719,14 +1736,14 @@ module Google
1719
1736
  include Google::Apis::Core::Hashable
1720
1737
 
1721
1738
  # Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
1722
- # requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
1739
+ # requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable
1723
1740
  # challenge if CHALLENGE.
1724
1741
  # Corresponds to the JSON property `testingChallenge`
1725
1742
  # @return [String]
1726
1743
  attr_accessor :testing_challenge
1727
1744
 
1728
- # Optional. All assessments for this Key will return this score. Must be between
1729
- # 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
1745
+ # Optional. All assessments for this Key return this score. Must be between 0 (
1746
+ # likely not legitimate) and 1 (likely legitimate) inclusive.
1730
1747
  # Corresponds to the JSON property `testingScore`
1731
1748
  # @return [Float]
1732
1749
  attr_accessor :testing_score
@@ -2230,7 +2247,7 @@ module Google
2230
2247
  class GoogleCloudRecaptchaenterpriseV1WebKeySettings
2231
2248
  include Google::Apis::Core::Hashable
2232
2249
 
2233
- # Optional. If set to true, it means allowed_domains will not be enforced.
2250
+ # Optional. If set to true, it means allowed_domains are not enforced.
2234
2251
  # Corresponds to the JSON property `allowAllDomains`
2235
2252
  # @return [Boolean]
2236
2253
  attr_accessor :allow_all_domains
@@ -2253,7 +2270,7 @@ module Google
2253
2270
 
2254
2271
  # Optional. Settings for the frequency and difficulty at which this key triggers
2255
2272
  # captcha challenges. This should only be specified for IntegrationTypes
2256
- # CHECKBOX and INVISIBLE.
2273
+ # CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE.
2257
2274
  # Corresponds to the JSON property `challengeSecurityPreference`
2258
2275
  # @return [String]
2259
2276
  attr_accessor :challenge_security_preference
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240811"
25
+ REVISION = "20240906"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GoogleCloudRecaptchaenterpriseV1FirewallAction
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -578,6 +584,12 @@ module Google
578
584
  end
579
585
  end
580
586
 
587
+ class GoogleCloudRecaptchaenterpriseV1ExpressKeySettings
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ end
591
+ end
592
+
581
593
  class GoogleCloudRecaptchaenterpriseV1FirewallAction
582
594
  # @private
583
595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -741,6 +753,8 @@ module Google
741
753
 
742
754
  property :create_time, as: 'createTime'
743
755
  property :display_name, as: 'displayName'
756
+ property :express_settings, as: 'expressSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ExpressKeySettings::Representation
757
+
744
758
  property :ios_settings, as: 'iosSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings::Representation
745
759
 
746
760
  hash :labels, as: 'labels'
@@ -89,8 +89,8 @@ module Google
89
89
 
90
90
  # Creates an Assessment of the likelihood an event is legitimate.
91
91
  # @param [String] parent
92
- # Required. The name of the project in which the assessment will be created, in
93
- # the format `projects/`project``.
92
+ # Required. The name of the project in which the assessment is created, in the
93
+ # format `projects/`project``.
94
94
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment] google_cloud_recaptchaenterprise_v1_assessment_object
95
95
  # @param [String] fields
96
96
  # Selector specifying which fields to include in a partial response.
@@ -125,7 +125,7 @@ module Google
125
125
  # Enterprise actions can be executed. A project may have a maximum of 1000
126
126
  # policies.
127
127
  # @param [String] parent
128
- # Required. The name of the project this policy will apply to, in the format `
128
+ # Required. The name of the project this policy applies to, in the format `
129
129
  # projects/`project``.
130
130
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
131
131
  # @param [String] fields
@@ -265,7 +265,7 @@ module Google
265
265
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
266
266
  # @param [String] update_mask
267
267
  # Optional. The mask to control which fields of the policy get updated. If the
268
- # mask is not present, all fields will be updated.
268
+ # mask is not present, all fields are updated.
269
269
  # @param [String] fields
270
270
  # Selector specifying which fields to include in a partial response.
271
271
  # @param [String] quota_user
@@ -332,7 +332,7 @@ module Google
332
332
 
333
333
  # Adds an IP override to a key. The following restrictions hold: * The maximum
334
334
  # number of IP overrides per key is 100. * For any conflict (such as IP already
335
- # exists or IP part of an existing IP range), an error will be returned.
335
+ # exists or IP part of an existing IP range), an error is returned.
336
336
  # @param [String] name
337
337
  # Required. The name of the key to which the IP override is added, in the format
338
338
  # `projects/`project`/keys/`key``.
@@ -368,8 +368,8 @@ module Google
368
368
 
369
369
  # Creates a new reCAPTCHA Enterprise key.
370
370
  # @param [String] parent
371
- # Required. The name of the project in which the key will be created, in the
372
- # format `projects/`project``.
371
+ # Required. The name of the project in which the key is created, in the format `
372
+ # projects/`project``.
373
373
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
374
374
  # @param [String] fields
375
375
  # Selector specifying which fields to include in a partial response.
@@ -496,8 +496,8 @@ module Google
496
496
 
497
497
  # Returns the list of all keys that belong to a project.
498
498
  # @param [String] parent
499
- # Required. The name of the project that contains the keys that will be listed,
500
- # in the format `projects/`project``.
499
+ # Required. The name of the project that contains the keys that is listed, in
500
+ # the format `projects/`project``.
501
501
  # @param [Fixnum] page_size
502
502
  # Optional. The maximum number of keys to return. Default is 10. Max limit is
503
503
  # 1000.
@@ -618,7 +618,7 @@ module Google
618
618
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
619
619
  # @param [String] update_mask
620
620
  # Optional. The mask to control which fields of the key get updated. If the mask
621
- # is not present, all fields will be updated.
621
+ # is not present, all fields are updated.
622
622
  # @param [String] fields
623
623
  # Selector specifying which fields to include in a partial response.
624
624
  # @param [String] quota_user
@@ -650,9 +650,9 @@ module Google
650
650
  end
651
651
 
652
652
  # Removes an IP override from a key. The following restrictions hold: * If the
653
- # IP isn't found in an existing IP override, a `NOT_FOUND` error will be
654
- # returned. * If the IP is found in an existing IP override, but the override
655
- # type does not match, a `NOT_FOUND` error will be returned.
653
+ # IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. *
654
+ # If the IP is found in an existing IP override, but the override type does not
655
+ # match, a `NOT_FOUND` error is returned.
656
656
  # @param [String] name
657
657
  # Required. The name of the key from which the IP override is removed, in the
658
658
  # format `projects/`project`/keys/`key``.
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.54.0
4
+ version: 0.56.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-08-18 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.56.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: []