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: adeca9f6d58199ed07355741c9c6d36623cd5b021c04eeba231b5c3f47e4361a
4
- data.tar.gz: 5b41c66768925fe80239542b06d1a1222a77b55492dd49b5af12ee9890905d0c
3
+ metadata.gz: 7ec8f60966c5fb42f419d6f79a72d6db5b7bb6f9a341527fb219259aa17016c7
4
+ data.tar.gz: eecd6be3190851497a2d477e775510f96c0f8c8ea734f013932d900578f5a92b
5
5
  SHA512:
6
- metadata.gz: c1ab22f9da8bed262d9e455b177baa693959ebd3b9c54b4be44fb6c6947a2eb28d75794a34b442c9e5d324e4c1f9c5694f894b903b3ed3e57d347f53b6151eb8
7
- data.tar.gz: ef884a5c1a1399b2836df262e9cfed5ffd13016e00da11835d4a56bdb426caa2c7f237b1b359768a422e347cb6af7711336b301b510e6787bc45c5fef83eecc0
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 == Client.configure.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
- config_attr :endpoint, "recaptchaenterprise.googleapis.com", ::String
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.14.1"
25
25
  end
26
26
  end
27
27
  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.14.0
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-01 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a