google-cloud-recaptcha_enterprise-v1 0.14.0 → 0.14.1
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: 7ec8f60966c5fb42f419d6f79a72d6db5b7bb6f9a341527fb219259aa17016c7
|
4
|
+
data.tar.gz: eecd6be3190851497a2d477e775510f96c0f8c8ea734f013932d900578f5a92b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6141402fa19cb4376c0b513a91d23292a3c103f4efb6372f17d959c41d9e658fa4817daa50db76ef03de1758d7301cb0b3cf7a600e2d33b3e308eb061c681fc0
|
7
|
+
data.tar.gz: b988233a98d6baf41a1a098a1b6fcbb08867e99d480007a4f65f9d4e1a11d29b0b532625bbe854490b202e9753f44ca44e5165041622bfa5c0f4bd8e83e796b1
|
@@ -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
|
@@ -1463,7 +1463,9 @@ module Google
|
|
1463
1463
|
class Configuration
|
1464
1464
|
extend ::Gapic::Config
|
1465
1465
|
|
1466
|
-
|
1466
|
+
DEFAULT_ENDPOINT = "recaptchaenterprise.googleapis.com"
|
1467
|
+
|
1468
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1467
1469
|
config_attr :credentials, nil do |value|
|
1468
1470
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1469
1471
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
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.14.
|
4
|
+
version: 0.14.1
|
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-06-
|
11
|
+
date: 2023-06-06 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.
|
19
|
+
version: 0.19.1
|
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.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|