google-cloud-security-public_ca-v1beta1 0.3.0 → 0.3.1
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 +4 -4
- data/lib/google/cloud/security/public_ca/v1beta1/public_certificate_authority_service/client.rb +4 -2
- data/lib/google/cloud/security/public_ca/v1beta1/public_certificate_authority_service/rest/client.rb +4 -2
- data/lib/google/cloud/security/public_ca/v1beta1/public_certificate_authority_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/security/public_ca/v1beta1/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 835827a0f1de6a2dd33e721d7d524d5948405e0faea13eb0e16d7b9bc7eabfac
|
|
4
|
+
data.tar.gz: 97bd44b337631c9dd04f647f47e24f3288c2d9f42945c09212147e5166c8a69c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ca8ee65106f7bf7494c045c47934b716a9d15926b3e9c6b4911dbe07bcb14296562b97fe8a01cb654b26aa12632f6bd1345b1364fe0efa3aa87cd33bf09b6fa
|
|
7
|
+
data.tar.gz: bf535825e3e4d63ebbee496550c6d66783e2d089c1847b3c6609b62a27678ca51a06db0434f8d20ed8e63d69321d7b35f5f059bb5343441679863690aa0f3ebd
|
data/lib/google/cloud/security/public_ca/v1beta1/public_certificate_authority_service/client.rb
CHANGED
|
@@ -131,7 +131,7 @@ module Google
|
|
|
131
131
|
credentials = @config.credentials
|
|
132
132
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
133
133
|
# but only if the default endpoint does not have a region prefix.
|
|
134
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
134
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
135
135
|
!@config.endpoint.split(".").first.include?("-")
|
|
136
136
|
credentials ||= Credentials.default scope: @config.scope,
|
|
137
137
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -326,7 +326,9 @@ module Google
|
|
|
326
326
|
class Configuration
|
|
327
327
|
extend ::Gapic::Config
|
|
328
328
|
|
|
329
|
-
|
|
329
|
+
DEFAULT_ENDPOINT = "publicca.googleapis.com"
|
|
330
|
+
|
|
331
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
330
332
|
config_attr :credentials, nil do |value|
|
|
331
333
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
332
334
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
data/lib/google/cloud/security/public_ca/v1beta1/public_certificate_authority_service/rest/client.rb
CHANGED
|
@@ -127,7 +127,7 @@ module Google
|
|
|
127
127
|
credentials = @config.credentials
|
|
128
128
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
129
129
|
# but only if the default endpoint does not have a region prefix.
|
|
130
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
130
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
131
131
|
!@config.endpoint.split(".").first.include?("-")
|
|
132
132
|
credentials ||= Credentials.default scope: @config.scope,
|
|
133
133
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -285,7 +285,9 @@ module Google
|
|
|
285
285
|
class Configuration
|
|
286
286
|
extend ::Gapic::Config
|
|
287
287
|
|
|
288
|
-
|
|
288
|
+
DEFAULT_ENDPOINT = "publicca.googleapis.com"
|
|
289
|
+
|
|
290
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
289
291
|
config_attr :credentials, nil do |value|
|
|
290
292
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
291
293
|
allowed.any? { |klass| klass === value }
|
|
@@ -60,7 +60,7 @@ module Google
|
|
|
60
60
|
|
|
61
61
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_external_account_key_request request_pb
|
|
62
62
|
query_string_params = if query_string_params.any?
|
|
63
|
-
query_string_params.to_h { |p| p.split
|
|
63
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
64
64
|
else
|
|
65
65
|
{}
|
|
66
66
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-security-public_ca-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.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-
|
|
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
|