google-apis-recaptchaenterprise_v1 0.55.0 → 0.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +22 -17
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +1 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +13 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8a43575c736c56af96df55a0a6d867482876f4f61c269f1bd54bf73f2a4229a
|
4
|
+
data.tar.gz: e394751f9b3fe6414a4fd362a44d1c45de646aedccb53fc48e9142fcb94dee1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1dcefe5ddb46ba922a39fcd045d8e2b288f3954213276204e2474c8d76c907c2b836f28a295b8773706e3b0aa493dfddf46280937b9ebf0888009a559421e0b
|
7
|
+
data.tar.gz: 67a0bd3c7ea196b5871247aba9fdb1a3fd0b1da8992d94243b8c79596c985bef505dc9b646efee843a570a39552fffcb17a3068e37c6d96e1818147d72f45d01
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2024-10-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241013
|
6
|
+
|
7
|
+
### v0.56.0 (2024-09-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240906
|
10
|
+
|
3
11
|
### v0.55.0 (2024-09-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240825
|
@@ -158,9 +158,9 @@ module Google
|
|
158
158
|
# @return [String]
|
159
159
|
attr_accessor :account_id
|
160
160
|
|
161
|
-
# Optional. The annotation that
|
162
|
-
#
|
163
|
-
#
|
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
|
@@ -462,8 +462,8 @@ module Google
|
|
462
462
|
alias_method :express?, :express
|
463
463
|
|
464
464
|
# Optional. Flag for enabling firewall policy config assessment. If this flag is
|
465
|
-
# enabled, the firewall policy
|
466
|
-
#
|
465
|
+
# enabled, the firewall policy is evaluated and a suggested firewall action is
|
466
|
+
# returned in the response.
|
467
467
|
# Corresponds to the JSON property `firewallPolicyEvaluation`
|
468
468
|
# @return [Boolean]
|
469
469
|
attr_accessor :firewall_policy_evaluation
|
@@ -600,7 +600,7 @@ module Google
|
|
600
600
|
attr_accessor :include_recaptcha_script
|
601
601
|
|
602
602
|
# A redirect action returns a 307 (temporary redirect) response, pointing the
|
603
|
-
# user to a
|
603
|
+
# user to a reCAPTCHA interstitial page to attach a token.
|
604
604
|
# Corresponds to the JSON property `redirect`
|
605
605
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]
|
606
606
|
attr_accessor :redirect
|
@@ -677,7 +677,7 @@ module Google
|
|
677
677
|
end
|
678
678
|
|
679
679
|
# A redirect action returns a 307 (temporary redirect) response, pointing the
|
680
|
-
# user to a
|
680
|
+
# user to a reCAPTCHA interstitial page to attach a token.
|
681
681
|
class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
|
682
682
|
include Google::Apis::Core::Hashable
|
683
683
|
|
@@ -1274,9 +1274,8 @@ module Google
|
|
1274
1274
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
1275
1275
|
include Google::Apis::Core::Hashable
|
1276
1276
|
|
1277
|
-
# Metrics
|
1278
|
-
#
|
1279
|
-
# 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.
|
1280
1279
|
# Corresponds to the JSON property `challengeMetrics`
|
1281
1280
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
|
1282
1281
|
attr_accessor :challenge_metrics
|
@@ -1287,8 +1286,8 @@ module Google
|
|
1287
1286
|
# @return [String]
|
1288
1287
|
attr_accessor :name
|
1289
1288
|
|
1290
|
-
# Metrics
|
1291
|
-
#
|
1289
|
+
# Metrics are continuous and in order by dates, and in the granularity of day.
|
1290
|
+
# All Key types should have score-based data.
|
1292
1291
|
# Corresponds to the JSON property `scoreMetrics`
|
1293
1292
|
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics>]
|
1294
1293
|
attr_accessor :score_metrics
|
@@ -1553,6 +1552,11 @@ module Google
|
|
1553
1552
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
1554
1553
|
include Google::Apis::Core::Hashable
|
1555
1554
|
|
1555
|
+
# Output only. Challenge information for SCORE_AND_CHALLENGE keys
|
1556
|
+
# Corresponds to the JSON property `challenge`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :challenge
|
1559
|
+
|
1556
1560
|
# Output only. Extended verdict reasons to be used for experimentation only. The
|
1557
1561
|
# set of possible reasons is subject to change.
|
1558
1562
|
# Corresponds to the JSON property `extendedVerdictReasons`
|
@@ -1576,6 +1580,7 @@ module Google
|
|
1576
1580
|
|
1577
1581
|
# Update properties of this object
|
1578
1582
|
def update!(**args)
|
1583
|
+
@challenge = args[:challenge] if args.key?(:challenge)
|
1579
1584
|
@extended_verdict_reasons = args[:extended_verdict_reasons] if args.key?(:extended_verdict_reasons)
|
1580
1585
|
@reasons = args[:reasons] if args.key?(:reasons)
|
1581
1586
|
@score = args[:score] if args.key?(:score)
|
@@ -1737,14 +1742,14 @@ module Google
|
|
1737
1742
|
include Google::Apis::Core::Hashable
|
1738
1743
|
|
1739
1744
|
# Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
|
1740
|
-
# requests for this site
|
1745
|
+
# requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable
|
1741
1746
|
# challenge if CHALLENGE.
|
1742
1747
|
# Corresponds to the JSON property `testingChallenge`
|
1743
1748
|
# @return [String]
|
1744
1749
|
attr_accessor :testing_challenge
|
1745
1750
|
|
1746
|
-
# Optional. All assessments for this Key
|
1747
|
-
#
|
1751
|
+
# Optional. All assessments for this Key return this score. Must be between 0 (
|
1752
|
+
# likely not legitimate) and 1 (likely legitimate) inclusive.
|
1748
1753
|
# Corresponds to the JSON property `testingScore`
|
1749
1754
|
# @return [Float]
|
1750
1755
|
attr_accessor :testing_score
|
@@ -2248,7 +2253,7 @@ module Google
|
|
2248
2253
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
2249
2254
|
include Google::Apis::Core::Hashable
|
2250
2255
|
|
2251
|
-
# Optional. If set to true, it means allowed_domains
|
2256
|
+
# Optional. If set to true, it means allowed_domains are not enforced.
|
2252
2257
|
# Corresponds to the JSON property `allowAllDomains`
|
2253
2258
|
# @return [Boolean]
|
2254
2259
|
attr_accessor :allow_all_domains
|
@@ -2271,7 +2276,7 @@ module Google
|
|
2271
2276
|
|
2272
2277
|
# Optional. Settings for the frequency and difficulty at which this key triggers
|
2273
2278
|
# captcha challenges. This should only be specified for IntegrationTypes
|
2274
|
-
# CHECKBOX and INVISIBLE.
|
2279
|
+
# CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE.
|
2275
2280
|
# Corresponds to the JSON property `challengeSecurityPreference`
|
2276
2281
|
# @return [String]
|
2277
2282
|
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.
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
25
|
+
REVISION = "20241013"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -903,6 +903,7 @@ module Google
|
|
903
903
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
904
904
|
# @private
|
905
905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
906
|
+
property :challenge, as: 'challenge'
|
906
907
|
collection :extended_verdict_reasons, as: 'extendedVerdictReasons'
|
907
908
|
collection :reasons, as: 'reasons'
|
908
909
|
property :score, as: 'score'
|
@@ -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
|
93
|
-
#
|
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
|
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
|
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
|
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
|
372
|
-
#
|
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
|
500
|
-
#
|
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
|
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
|
654
|
-
#
|
655
|
-
#
|
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.
|
4
|
+
version: 0.57.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-
|
11
|
+
date: 2024-10-27 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.57.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.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for reCAPTCHA Enterprise API V1
|