google-cloud-recaptcha_enterprise-v1 0.14.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b9c31504d56dcb461a85883c17f76c4fa57230b28fa9155ca4dd7dce55dc96b
|
4
|
+
data.tar.gz: '080878a11ee4d86cb2ae570f9a760d9ad0cbf28938b5db04fd1beef12473cd93'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4991b140a0ef45db6014a9a6c8ba6ec7b56a7d9b4c7a392f08ab1ad5d1a0cb5aaed7c0ddd8685f5eced18826a729fb7b6e9bffeb9379cff6f34a75f8c6bf1bf
|
7
|
+
data.tar.gz: b75a165097a4d4fab7837baf4b7527a1b7462f1018c73e7d2b149b925654efd91ec66d94856f01cc585ee67bc6d41755343c55e9cffa7432f24307eeb21f197c
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
credentials = @config.credentials
|
138
138
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
139
139
|
# but only if the default endpoint does not have a region prefix.
|
140
|
-
enable_self_signed_jwt = @config.endpoint ==
|
140
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
141
141
|
!@config.endpoint.split(".").first.include?("-")
|
142
142
|
credentials ||= Credentials.default scope: @config.scope,
|
143
143
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -152,7 +152,8 @@ module Google
|
|
152
152
|
credentials: credentials,
|
153
153
|
endpoint: @config.endpoint,
|
154
154
|
channel_args: @config.channel_args,
|
155
|
-
interceptors: @config.interceptors
|
155
|
+
interceptors: @config.interceptors,
|
156
|
+
channel_pool_config: @config.channel_pool
|
156
157
|
)
|
157
158
|
end
|
158
159
|
|
@@ -1463,7 +1464,9 @@ module Google
|
|
1463
1464
|
class Configuration
|
1464
1465
|
extend ::Gapic::Config
|
1465
1466
|
|
1466
|
-
|
1467
|
+
DEFAULT_ENDPOINT = "recaptchaenterprise.googleapis.com"
|
1468
|
+
|
1469
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1467
1470
|
config_attr :credentials, nil do |value|
|
1468
1471
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1469
1472
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -1498,6 +1501,14 @@ module Google
|
|
1498
1501
|
end
|
1499
1502
|
end
|
1500
1503
|
|
1504
|
+
##
|
1505
|
+
# Configuration for the channel pool
|
1506
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1507
|
+
#
|
1508
|
+
def channel_pool
|
1509
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1510
|
+
end
|
1511
|
+
|
1501
1512
|
##
|
1502
1513
|
# Configuration RPC class for the RecaptchaEnterpriseService API.
|
1503
1514
|
#
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recaptcha_enterprise-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.4.
|
210
|
+
rubygems_version: 3.4.19
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Help protect your website from fraudulent activity, spam, and abuse without
|