google-cloud-monitoring 0.23.0 → 0.23.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/v3/doc/google/api/distribution.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/api/label.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +3 -3
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +14 -11
- data/lib/google/cloud/monitoring/v3/group_service_client_config.json +5 -5
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +14 -11
- data/lib/google/cloud/monitoring/v3/metric_service_client_config.json +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05cbc74dbb18fccbaf3564154234020a856f7d49
|
4
|
+
data.tar.gz: 1041fb70ef3e9fb11f95e84435f9fac2de5b200d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94730c2f496b73eaf3d1ed858ab810878a34b14bacf5caa22a8bcfd95228a3af39149fa98ecd39efd82be4d9ec3a06a1f2d02a86e776e14ea943d4b7453e0f25
|
7
|
+
data.tar.gz: 84cafa8c73c5384842487a4842f49e2f941aac71c510cc4575f89f3b60a94cf965f1e5b3c855599dc4d8d0c9dc5686abd801ced8c538f1ba5035d4ebcb031727
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -169,4 +169,4 @@ module Google
|
|
169
169
|
end
|
170
170
|
end
|
171
171
|
end
|
172
|
-
end
|
172
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -38,4 +38,4 @@ module Google
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
41
|
-
end
|
41
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -184,4 +184,4 @@ module Google
|
|
184
184
|
# labels listed in the +MetricDescriptor+ must be assigned values.
|
185
185
|
class Metric; end
|
186
186
|
end
|
187
|
-
end
|
187
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -78,4 +78,4 @@ module Google
|
|
78
78
|
# +"database_id"+ and +"zone"+.
|
79
79
|
class MonitoredResource; end
|
80
80
|
end
|
81
|
-
end
|
81
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -308,4 +308,4 @@ module Google
|
|
308
308
|
end
|
309
309
|
end
|
310
310
|
end
|
311
|
-
end
|
311
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -66,4 +66,4 @@ module Google
|
|
66
66
|
class Group; end
|
67
67
|
end
|
68
68
|
end
|
69
|
-
end
|
69
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -75,4 +75,4 @@ module Google
|
|
75
75
|
class TimeSeries; end
|
76
76
|
end
|
77
77
|
end
|
78
|
-
end
|
78
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -68,4 +68,4 @@ module Google
|
|
68
68
|
# to +999,999,999 inclusive.
|
69
69
|
class Duration; end
|
70
70
|
end
|
71
|
-
end
|
71
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2017, Google Inc. All rights reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
5
5
|
# You may obtain a copy of the License at
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
8
|
#
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -80,4 +80,4 @@ module Google
|
|
80
80
|
# inclusive.
|
81
81
|
class Timestamp; end
|
82
82
|
end
|
83
|
-
end
|
83
|
+
end
|
@@ -56,8 +56,6 @@ module Google
|
|
56
56
|
# The default port of the service.
|
57
57
|
DEFAULT_SERVICE_PORT = 443
|
58
58
|
|
59
|
-
CODE_GEN_NAME_VERSION = "gapic/0.1.0".freeze
|
60
|
-
|
61
59
|
DEFAULT_TIMEOUT = 30
|
62
60
|
|
63
61
|
PAGE_DESCRIPTORS = {
|
@@ -150,10 +148,6 @@ module Google
|
|
150
148
|
# or the specified config is missing data points.
|
151
149
|
# @param timeout [Numeric]
|
152
150
|
# The default timeout, in seconds, for calls made through this client.
|
153
|
-
# @param app_name [String]
|
154
|
-
# The codename of the calling service.
|
155
|
-
# @param app_version [String]
|
156
|
-
# The version of the calling service.
|
157
151
|
def initialize \
|
158
152
|
service_path: SERVICE_ADDRESS,
|
159
153
|
port: DEFAULT_SERVICE_PORT,
|
@@ -162,8 +156,10 @@ module Google
|
|
162
156
|
scopes: ALL_SCOPES,
|
163
157
|
client_config: {},
|
164
158
|
timeout: DEFAULT_TIMEOUT,
|
165
|
-
app_name:
|
166
|
-
app_version:
|
159
|
+
app_name: nil,
|
160
|
+
app_version: nil,
|
161
|
+
lib_name: nil,
|
162
|
+
lib_version: ""
|
167
163
|
# These require statements are intentionally placed here to initialize
|
168
164
|
# the gRPC module only when it's required.
|
169
165
|
# See https://github.com/googleapis/toolkit/issues/446
|
@@ -171,9 +167,16 @@ module Google
|
|
171
167
|
require "google/monitoring/v3/group_service_services_pb"
|
172
168
|
|
173
169
|
|
174
|
-
|
175
|
-
"
|
176
|
-
|
170
|
+
if app_name || app_version
|
171
|
+
warn "`app_name` and `app_version` are no longer being used in the request headers."
|
172
|
+
end
|
173
|
+
|
174
|
+
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
175
|
+
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
176
|
+
google_api_client << " gapic/ gax/#{Google::Gax::VERSION}"
|
177
|
+
google_api_client << " grpc/#{GRPC::VERSION}"
|
178
|
+
google_api_client.freeze
|
179
|
+
|
177
180
|
headers = { :"x-goog-api-client" => google_api_client }
|
178
181
|
client_config_file = Pathname.new(__dir__).join(
|
179
182
|
"group_service_client_config.json"
|
@@ -2,11 +2,11 @@
|
|
2
2
|
"interfaces": {
|
3
3
|
"google.monitoring.v3.GroupService": {
|
4
4
|
"retry_codes": {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
10
|
},
|
11
11
|
"retry_params": {
|
12
12
|
"default": {
|
@@ -46,8 +46,6 @@ module Google
|
|
46
46
|
# The default port of the service.
|
47
47
|
DEFAULT_SERVICE_PORT = 443
|
48
48
|
|
49
|
-
CODE_GEN_NAME_VERSION = "gapic/0.1.0".freeze
|
50
|
-
|
51
49
|
DEFAULT_TIMEOUT = 30
|
52
50
|
|
53
51
|
PAGE_DESCRIPTORS = {
|
@@ -175,10 +173,6 @@ module Google
|
|
175
173
|
# or the specified config is missing data points.
|
176
174
|
# @param timeout [Numeric]
|
177
175
|
# The default timeout, in seconds, for calls made through this client.
|
178
|
-
# @param app_name [String]
|
179
|
-
# The codename of the calling service.
|
180
|
-
# @param app_version [String]
|
181
|
-
# The version of the calling service.
|
182
176
|
def initialize \
|
183
177
|
service_path: SERVICE_ADDRESS,
|
184
178
|
port: DEFAULT_SERVICE_PORT,
|
@@ -187,8 +181,10 @@ module Google
|
|
187
181
|
scopes: ALL_SCOPES,
|
188
182
|
client_config: {},
|
189
183
|
timeout: DEFAULT_TIMEOUT,
|
190
|
-
app_name:
|
191
|
-
app_version:
|
184
|
+
app_name: nil,
|
185
|
+
app_version: nil,
|
186
|
+
lib_name: nil,
|
187
|
+
lib_version: ""
|
192
188
|
# These require statements are intentionally placed here to initialize
|
193
189
|
# the gRPC module only when it's required.
|
194
190
|
# See https://github.com/googleapis/toolkit/issues/446
|
@@ -196,9 +192,16 @@ module Google
|
|
196
192
|
require "google/monitoring/v3/metric_service_services_pb"
|
197
193
|
|
198
194
|
|
199
|
-
|
200
|
-
"
|
201
|
-
|
195
|
+
if app_name || app_version
|
196
|
+
warn "`app_name` and `app_version` are no longer being used in the request headers."
|
197
|
+
end
|
198
|
+
|
199
|
+
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
200
|
+
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
201
|
+
google_api_client << " gapic/ gax/#{Google::Gax::VERSION}"
|
202
|
+
google_api_client << " grpc/#{GRPC::VERSION}"
|
203
|
+
google_api_client.freeze
|
204
|
+
|
202
205
|
headers = { :"x-goog-api-client" => google_api_client }
|
203
206
|
client_config_file = Pathname.new(__dir__).join(
|
204
207
|
"metric_service_client_config.json"
|
@@ -2,11 +2,11 @@
|
|
2
2
|
"interfaces": {
|
3
3
|
"google.monitoring.v3.MetricService": {
|
4
4
|
"retry_codes": {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
10
|
},
|
11
11
|
"retry_params": {
|
12
12
|
"default": {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|