google-cloud-recaptcha_enterprise-v1 1.5.0 → 1.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0da14a4f95b92882d3f0d9d76a87df9d833a2a2eb111336f7d35fedf648532
|
4
|
+
data.tar.gz: e207fa5f72af961ee4b91c3d72b429de722c2b841feaf68e620c4cc13fce4d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03b1d7c2eae79937dca5cc991dffda357413bc6ebec925e9619a79826bada4e9e6f442314f9c03fea87a5e53f497fe07241dc297912e7ffa5393a9472026de3
|
7
|
+
data.tar.gz: 5618ec2ef0fd20b533cd90f028fcea04ce1ff24134df5dd3adc06f8b29d74a464dee469098468367981896b209501c454bc9a31b5617a1e553ee6f8eb6bac70f
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -2297,6 +2297,13 @@ module Google
|
|
2297
2297
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2298
2298
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2299
2299
|
# * (`nil`) indicating no credentials
|
2300
|
+
#
|
2301
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2302
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2303
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2304
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2305
|
+
# For more information, refer to [Validate credential configurations from external
|
2306
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2300
2307
|
# @return [::Object]
|
2301
2308
|
# @!attribute [rw] scope
|
2302
2309
|
# The OAuth scopes
|
@@ -285,10 +285,14 @@ module Google
|
|
285
285
|
# @!attribute [rw] email_address
|
286
286
|
# @return [::String]
|
287
287
|
# Email address for which to trigger a verification request.
|
288
|
+
#
|
289
|
+
# Note: The following fields are mutually exclusive: `email_address`, `phone_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
288
290
|
# @!attribute [rw] phone_number
|
289
291
|
# @return [::String]
|
290
292
|
# Phone number for which to trigger a verification request. Should be given
|
291
293
|
# in E.164 format.
|
294
|
+
#
|
295
|
+
# Note: The following fields are mutually exclusive: `phone_number`, `email_address`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
292
296
|
# @!attribute [r] request_token
|
293
297
|
# @return [::String]
|
294
298
|
# Output only. Token to provide to the client to trigger endpoint
|
@@ -517,10 +521,8 @@ module Google
|
|
517
521
|
|
518
522
|
# Setting that controls Fraud Prevention assessments.
|
519
523
|
module FraudPrevention
|
520
|
-
# Default, unspecified setting.
|
521
|
-
# `
|
522
|
-
# Otherwise, `fraud_prevention_assessment` is returned if
|
523
|
-
# `transaction_data` is present in the `Event` and Fraud Prevention is
|
524
|
+
# Default, unspecified setting. `fraud_prevention_assessment` is returned
|
525
|
+
# if `transaction_data` is present in `Event` and Fraud Prevention is
|
524
526
|
# enabled in the Google Cloud console.
|
525
527
|
FRAUD_PREVENTION_UNSPECIFIED = 0
|
526
528
|
|
@@ -528,8 +530,8 @@ module Google
|
|
528
530
|
# enabled in the Google Cloud console.
|
529
531
|
ENABLED = 1
|
530
532
|
|
531
|
-
# Disable Fraud Prevention for this assessment, regardless of
|
532
|
-
#
|
533
|
+
# Disable Fraud Prevention for this assessment, regardless of Google Cloud
|
534
|
+
# console settings.
|
533
535
|
DISABLED = 2
|
534
536
|
end
|
535
537
|
end
|
@@ -716,14 +718,20 @@ module Google
|
|
716
718
|
# @!attribute [rw] email
|
717
719
|
# @return [::String]
|
718
720
|
# Optional. An email address.
|
721
|
+
#
|
722
|
+
# Note: The following fields are mutually exclusive: `email`, `phone_number`, `username`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
719
723
|
# @!attribute [rw] phone_number
|
720
724
|
# @return [::String]
|
721
725
|
# Optional. A phone number. Should use the E.164 format.
|
726
|
+
#
|
727
|
+
# Note: The following fields are mutually exclusive: `phone_number`, `email`, `username`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
722
728
|
# @!attribute [rw] username
|
723
729
|
# @return [::String]
|
724
730
|
# Optional. A unique username, if different from all the other identifiers
|
725
731
|
# and `account_id` that are provided. Can be a unique login handle or
|
726
732
|
# display name for a user.
|
733
|
+
#
|
734
|
+
# Note: The following fields are mutually exclusive: `username`, `email`, `phone_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
727
735
|
class UserId
|
728
736
|
include ::Google::Protobuf::MessageExts
|
729
737
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1288,15 +1296,23 @@ module Google
|
|
1288
1296
|
# @!attribute [rw] web_settings
|
1289
1297
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings]
|
1290
1298
|
# Settings for keys that can be used by websites.
|
1299
|
+
#
|
1300
|
+
# Note: The following fields are mutually exclusive: `web_settings`, `android_settings`, `ios_settings`, `express_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1291
1301
|
# @!attribute [rw] android_settings
|
1292
1302
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings]
|
1293
1303
|
# Settings for keys that can be used by Android apps.
|
1304
|
+
#
|
1305
|
+
# Note: The following fields are mutually exclusive: `android_settings`, `web_settings`, `ios_settings`, `express_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1294
1306
|
# @!attribute [rw] ios_settings
|
1295
1307
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings]
|
1296
1308
|
# Settings for keys that can be used by iOS apps.
|
1309
|
+
#
|
1310
|
+
# Note: The following fields are mutually exclusive: `ios_settings`, `web_settings`, `android_settings`, `express_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1297
1311
|
# @!attribute [rw] express_settings
|
1298
1312
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings]
|
1299
1313
|
# Settings for keys that can be used by reCAPTCHA Express.
|
1314
|
+
#
|
1315
|
+
# Note: The following fields are mutually exclusive: `express_settings`, `web_settings`, `android_settings`, `ios_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1300
1316
|
# @!attribute [rw] labels
|
1301
1317
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1302
1318
|
# Optional. See [Creating and managing labels]
|
@@ -1565,26 +1581,38 @@ module Google
|
|
1565
1581
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::AllowAction]
|
1566
1582
|
# The user request did not match any policy and should be allowed
|
1567
1583
|
# access to the requested resource.
|
1584
|
+
#
|
1585
|
+
# Note: The following fields are mutually exclusive: `allow`, `block`, `include_recaptcha_script`, `redirect`, `substitute`, `set_header`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1568
1586
|
# @!attribute [rw] block
|
1569
1587
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::BlockAction]
|
1570
1588
|
# This action denies access to a given page. The user gets an HTTP
|
1571
1589
|
# error code.
|
1590
|
+
#
|
1591
|
+
# Note: The following fields are mutually exclusive: `block`, `allow`, `include_recaptcha_script`, `redirect`, `substitute`, `set_header`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1572
1592
|
# @!attribute [rw] include_recaptcha_script
|
1573
1593
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::IncludeRecaptchaScriptAction]
|
1574
1594
|
# This action injects reCAPTCHA JavaScript code into the HTML page
|
1575
1595
|
# returned by the site backend.
|
1596
|
+
#
|
1597
|
+
# Note: The following fields are mutually exclusive: `include_recaptcha_script`, `allow`, `block`, `redirect`, `substitute`, `set_header`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1576
1598
|
# @!attribute [rw] redirect
|
1577
1599
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::RedirectAction]
|
1578
1600
|
# This action redirects the request to a reCAPTCHA interstitial to
|
1579
1601
|
# attach a token.
|
1602
|
+
#
|
1603
|
+
# Note: The following fields are mutually exclusive: `redirect`, `allow`, `block`, `include_recaptcha_script`, `substitute`, `set_header`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1580
1604
|
# @!attribute [rw] substitute
|
1581
1605
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SubstituteAction]
|
1582
1606
|
# This action transparently serves a different page to an offending
|
1583
1607
|
# user.
|
1608
|
+
#
|
1609
|
+
# Note: The following fields are mutually exclusive: `substitute`, `allow`, `block`, `include_recaptcha_script`, `redirect`, `set_header`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1584
1610
|
# @!attribute [rw] set_header
|
1585
1611
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SetHeaderAction]
|
1586
1612
|
# This action sets a custom header but allow the request to continue
|
1587
1613
|
# to the customer backend.
|
1614
|
+
#
|
1615
|
+
# Note: The following fields are mutually exclusive: `set_header`, `allow`, `block`, `include_recaptcha_script`, `redirect`, `substitute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1588
1616
|
class FirewallAction
|
1589
1617
|
include ::Google::Protobuf::MessageExts
|
1590
1618
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recaptcha_enterprise-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -83,7 +82,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
83
82
|
licenses:
|
84
83
|
- Apache-2.0
|
85
84
|
metadata: {}
|
86
|
-
post_install_message:
|
87
85
|
rdoc_options: []
|
88
86
|
require_paths:
|
89
87
|
- lib
|
@@ -91,15 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
89
|
requirements:
|
92
90
|
- - ">="
|
93
91
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
92
|
+
version: '3.0'
|
95
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
94
|
requirements:
|
97
95
|
- - ">="
|
98
96
|
- !ruby/object:Gem::Version
|
99
97
|
version: '0'
|
100
98
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
-
signing_key:
|
99
|
+
rubygems_version: 3.6.2
|
103
100
|
specification_version: 4
|
104
101
|
summary: Help protect your website from fraudulent activity, spam, and abuse without
|
105
102
|
creating friction.
|