google-cloud-policy_troubleshooter-v1 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/policy_troubleshooter/v1/iam_checker/client.rb +4 -2
- data/lib/google/cloud/policy_troubleshooter/v1/iam_checker/rest/client.rb +4 -2
- data/lib/google/cloud/policy_troubleshooter/v1/iam_checker/rest/service_stub.rb +1 -1
- data/lib/google/cloud/policy_troubleshooter/v1/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: fa6e27cfe5b8974a20cd0aad57baf5b5a47ea5688f8d330bf6d7b710bbcc759d
|
4
|
+
data.tar.gz: fcd314d8b7495d51846935efe4acdc6d2137d5cd8187ff774cf27981202d14c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d9c7c91eff4c865b5f0e12fe783a49e308a2770f20e5e15aa7ae89537ff73cb15f93f4ce7665d06c67ca5855e0c50a5a3bc129361c06163c74907bd852e336b
|
7
|
+
data.tar.gz: f87e86029e944eba2b965bec48ad4d6b630436af885d6aea2eb33c853d4364d126435c1eeead2ac6853673bb74e7b6b7fcd5e29145f5ad0c09ef370d7e401247
|
@@ -130,7 +130,7 @@ module Google
|
|
130
130
|
credentials = @config.credentials
|
131
131
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
132
132
|
# but only if the default endpoint does not have a region prefix.
|
133
|
-
enable_self_signed_jwt = @config.endpoint ==
|
133
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
134
134
|
!@config.endpoint.split(".").first.include?("-")
|
135
135
|
credentials ||= Credentials.default scope: @config.scope,
|
136
136
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -312,7 +312,9 @@ module Google
|
|
312
312
|
class Configuration
|
313
313
|
extend ::Gapic::Config
|
314
314
|
|
315
|
-
|
315
|
+
DEFAULT_ENDPOINT = "policytroubleshooter.googleapis.com"
|
316
|
+
|
317
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
316
318
|
config_attr :credentials, nil do |value|
|
317
319
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
318
320
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
credentials = @config.credentials
|
127
127
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
128
128
|
# but only if the default endpoint does not have a region prefix.
|
129
|
-
enable_self_signed_jwt = @config.endpoint ==
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
130
130
|
!@config.endpoint.split(".").first.include?("-")
|
131
131
|
credentials ||= Credentials.default scope: @config.scope,
|
132
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -279,7 +279,9 @@ module Google
|
|
279
279
|
class Configuration
|
280
280
|
extend ::Gapic::Config
|
281
281
|
|
282
|
-
|
282
|
+
DEFAULT_ENDPOINT = "policytroubleshooter.googleapis.com"
|
283
|
+
|
284
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
283
285
|
config_attr :credentials, nil do |value|
|
284
286
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
285
287
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_troubleshoot_iam_policy_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-policy_troubleshooter-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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
|