google-cloud-monitoring-dashboard-v1 0.12.0 → 0.12.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/monitoring/dashboard/v1/dashboards_service/client.rb +4 -2
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb +4 -2
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/service_stub.rb +5 -5
- data/lib/google/cloud/monitoring/dashboard/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: 91d27544406498203c77c4dee0f815abd3f8d0c4780a6e9fb557e29bd215dc38
|
4
|
+
data.tar.gz: 7e029c34e4dc36569702ab1193b27fd8cf101fd8cd02401d91bf799779305d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f3faa5acb66feb560d2334acc159eb90054bd8bb46b5254cfc69e6afe1666f3ad29d79ba3f0166e252bbb872b59bd61bd5d932cdf790ca6164eec68ab0606c3
|
7
|
+
data.tar.gz: bf4338ca2ccf5140417588f8998a84b0737d4fc1360e9e95c250eeeeb39c587b2edc15c6b6a131e84f0b90709db5f0cffd0e1db92373478d3709bd22963df441
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
credentials = @config.credentials
|
137
137
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
138
138
|
# but only if the default endpoint does not have a region prefix.
|
139
|
-
enable_self_signed_jwt = @config.endpoint ==
|
139
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
140
140
|
!@config.endpoint.split(".").first.include?("-")
|
141
141
|
credentials ||= Credentials.default scope: @config.scope,
|
142
142
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -717,7 +717,9 @@ module Google
|
|
717
717
|
class Configuration
|
718
718
|
extend ::Gapic::Config
|
719
719
|
|
720
|
-
|
720
|
+
DEFAULT_ENDPOINT = "monitoring.googleapis.com"
|
721
|
+
|
722
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
721
723
|
config_attr :credentials, nil do |value|
|
722
724
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
723
725
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
credentials = @config.credentials
|
133
133
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
134
134
|
# but only if the default endpoint does not have a region prefix.
|
135
|
-
enable_self_signed_jwt = @config.endpoint ==
|
135
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
136
136
|
!@config.endpoint.split(".").first.include?("-")
|
137
137
|
credentials ||= Credentials.default scope: @config.scope,
|
138
138
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -580,7 +580,9 @@ module Google
|
|
580
580
|
class Configuration
|
581
581
|
extend ::Gapic::Config
|
582
582
|
|
583
|
-
|
583
|
+
DEFAULT_ENDPOINT = "monitoring.googleapis.com"
|
584
|
+
|
585
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
584
586
|
config_attr :credentials, nil do |value|
|
585
587
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
586
588
|
allowed.any? { |klass| klass === value }
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
|
61
61
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_dashboard_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
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
|
99
99
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_dashboards_request request_pb
|
100
100
|
query_string_params = if query_string_params.any?
|
101
|
-
query_string_params.to_h { |p| p.split
|
101
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
102
102
|
else
|
103
103
|
{}
|
104
104
|
end
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
|
137
137
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_dashboard_request request_pb
|
138
138
|
query_string_params = if query_string_params.any?
|
139
|
-
query_string_params.to_h { |p| p.split
|
139
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
140
140
|
else
|
141
141
|
{}
|
142
142
|
end
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
|
175
175
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_dashboard_request request_pb
|
176
176
|
query_string_params = if query_string_params.any?
|
177
|
-
query_string_params.to_h { |p| p.split
|
177
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
178
178
|
else
|
179
179
|
{}
|
180
180
|
end
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
|
213
213
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_dashboard_request request_pb
|
214
214
|
query_string_params = if query_string_params.any?
|
215
|
-
query_string_params.to_h { |p| p.split
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
216
216
|
else
|
217
217
|
{}
|
218
218
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-dashboard-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.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
|