google-cloud-recaptcha_enterprise-v1 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc01d0383a6b2aee3285e939cacaaa458a7a2bc2875071d3c13e7bd8947cf4e1
4
- data.tar.gz: aa633d8c23ed95d03c1a8079602790a73f50658aafdff815d593bd860c5b1010
3
+ metadata.gz: 3e0da14a4f95b92882d3f0d9d76a87df9d833a2a2eb111336f7d35fedf648532
4
+ data.tar.gz: e207fa5f72af961ee4b91c3d72b429de722c2b841feaf68e620c4cc13fce4d51
5
5
  SHA512:
6
- metadata.gz: d3f9d47216cfd4e5015cacc6324b00803e0fa48cf90e18e88f7dfade3500efda33c30b8d8bf015ce6735f6680f16fa296147d20fc279226103e6b1e6302cf3f7
7
- data.tar.gz: 033b91621a275b34a53983cea13484ded908a730a3e369fe576131f0b9c14396a635e414f1cfac14c8b809baadf997112d5fc59cb44cca25b36a5af7ac98f7a4
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 2.7+.
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1
24
- VERSION = "1.5.1"
24
+ VERSION = "1.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -714,14 +718,20 @@ module Google
714
718
  # @!attribute [rw] email
715
719
  # @return [::String]
716
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.
717
723
  # @!attribute [rw] phone_number
718
724
  # @return [::String]
719
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.
720
728
  # @!attribute [rw] username
721
729
  # @return [::String]
722
730
  # Optional. A unique username, if different from all the other identifiers
723
731
  # and `account_id` that are provided. Can be a unique login handle or
724
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.
725
735
  class UserId
726
736
  include ::Google::Protobuf::MessageExts
727
737
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1286,15 +1296,23 @@ module Google
1286
1296
  # @!attribute [rw] web_settings
1287
1297
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings]
1288
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.
1289
1301
  # @!attribute [rw] android_settings
1290
1302
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings]
1291
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.
1292
1306
  # @!attribute [rw] ios_settings
1293
1307
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings]
1294
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.
1295
1311
  # @!attribute [rw] express_settings
1296
1312
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings]
1297
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.
1298
1316
  # @!attribute [rw] labels
1299
1317
  # @return [::Google::Protobuf::Map{::String => ::String}]
1300
1318
  # Optional. See [Creating and managing labels]
@@ -1563,26 +1581,38 @@ module Google
1563
1581
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::AllowAction]
1564
1582
  # The user request did not match any policy and should be allowed
1565
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.
1566
1586
  # @!attribute [rw] block
1567
1587
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::BlockAction]
1568
1588
  # This action denies access to a given page. The user gets an HTTP
1569
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.
1570
1592
  # @!attribute [rw] include_recaptcha_script
1571
1593
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::IncludeRecaptchaScriptAction]
1572
1594
  # This action injects reCAPTCHA JavaScript code into the HTML page
1573
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.
1574
1598
  # @!attribute [rw] redirect
1575
1599
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::RedirectAction]
1576
1600
  # This action redirects the request to a reCAPTCHA interstitial to
1577
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.
1578
1604
  # @!attribute [rw] substitute
1579
1605
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SubstituteAction]
1580
1606
  # This action transparently serves a different page to an offending
1581
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.
1582
1610
  # @!attribute [rw] set_header
1583
1611
  # @return [::Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SetHeaderAction]
1584
1612
  # This action sets a custom header but allow the request to continue
1585
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.
1586
1616
  class FirewallAction
1587
1617
  include ::Google::Protobuf::MessageExts
1588
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.5.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: 2025-01-08 00:00:00.000000000 Z
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.24.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.24.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: '2.7'
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.5.23
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.