google-cloud-monitoring 0.29.4 → 0.29.5

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: 441efddbf31ee031665e3cf1ad55dc495c83fbb4eda6e14921406b72cfa8b301
4
- data.tar.gz: 2766134674f57e88798b27c4dbbd6384c17cf138b8d14c02392deaed60c35b76
3
+ metadata.gz: 96bd17a0d6a13dbc76e95f209e5148366d8ff5c09c524b8d353ae13037073d87
4
+ data.tar.gz: f1d5ec86a56efa796d4ac1c63250a05d090fc8a7884cb24786da3d78516cd67f
5
5
  SHA512:
6
- metadata.gz: 16bd2062fd76d895bdebb9d9a7ecb70a28d743e8589404ea4c6c4f3faf43caf478464af4784589ed9f051586513ac5e56a04c1888cb407710fac635b89202337
7
- data.tar.gz: 706b996e2ff80685b5e12c6aa8905469a9269079300c3ab2374252914e88730e3c7fcf0bb19b2d6f0a6d41013b247a525687d59f3af8601fd3fe45343d650647
6
+ metadata.gz: 5c3ef0052a592249839c6b8d13f4d5aa8016c9c03c0a7f2b9317bd8e90fffe49a7120ec069d0d8a41c0a91a5a6a12782666a87d15c0de1229412b94d8f6a02d0
7
+ data.tar.gz: 376a9acad4154488ea192eda27ceb793712aee6d37584af96610d61db32c51c66ed5793ac87df33c20a80e95abb427f141704e30e7cb44835f71a9d866667962
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/monitoring/v3/alert_service_pb"
29
29
  require "google/cloud/monitoring/v3/credentials"
30
+ require "google/cloud/monitoring/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -191,7 +192,7 @@ module Google
191
192
  updater_proc = credentials.updater_proc
192
193
  end
193
194
 
194
- package_version = Gem.loaded_specs['google-cloud-monitoring'].version.version
195
+ package_version = Google::Cloud::Monitoring::VERSION
195
196
 
196
197
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
197
198
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -126,10 +126,14 @@ module Google
126
126
  # @!attribute [rw] metadata
127
127
  # @return [Google::Api::MetricDescriptor::MetricDescriptorMetadata]
128
128
  # Optional. Metadata which can be used to guide usage of the metric.
129
+ # @!attribute [rw] launch_stage
130
+ # @return [Google::Api::LaunchStage]
131
+ # Optional. The launch stage of the metric definition.
129
132
  class MetricDescriptor
130
133
  # Additional annotations that can be used to guide the usage of a metric.
131
134
  # @!attribute [rw] launch_stage
132
135
  # @return [Google::Api::LaunchStage]
136
+ # Deprecated. Please use the MetricDescriptor.launch_stage instead.
133
137
  # The launch stage of the metric definition.
134
138
  # @!attribute [rw] sample_period
135
139
  # @return [Google::Protobuf::Duration]
@@ -52,6 +52,9 @@ module Google
52
52
  # Required. A set of labels used to describe instances of this monitored
53
53
  # resource type. For example, an individual Google Cloud SQL database is
54
54
  # identified by values for the labels `"database_id"` and `"zone"`.
55
+ # @!attribute [rw] launch_stage
56
+ # @return [Google::Api::LaunchStage]
57
+ # Optional. The launch stage of the monitored resource definition.
55
58
  class MonitoredResourceDescriptor; end
56
59
 
57
60
  # An object representing a resource that can be used for monitoring, logging,
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/monitoring/v3/group_service_pb"
29
29
  require "google/cloud/monitoring/v3/credentials"
30
+ require "google/cloud/monitoring/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -179,7 +180,7 @@ module Google
179
180
  updater_proc = credentials.updater_proc
180
181
  end
181
182
 
182
- package_version = Gem.loaded_specs['google-cloud-monitoring'].version.version
183
+ package_version = Google::Cloud::Monitoring::VERSION
183
184
 
184
185
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
185
186
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/monitoring/v3/metric_service_pb"
29
29
  require "google/cloud/monitoring/v3/credentials"
30
+ require "google/cloud/monitoring/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -190,7 +191,7 @@ module Google
190
191
  updater_proc = credentials.updater_proc
191
192
  end
192
193
 
193
- package_version = Gem.loaded_specs['google-cloud-monitoring'].version.version
194
+ package_version = Google::Cloud::Monitoring::VERSION
194
195
 
195
196
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
196
197
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/monitoring/v3/notification_service_pb"
29
29
  require "google/cloud/monitoring/v3/credentials"
30
+ require "google/cloud/monitoring/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -186,7 +187,7 @@ module Google
186
187
  updater_proc = credentials.updater_proc
187
188
  end
188
189
 
189
- package_version = Gem.loaded_specs['google-cloud-monitoring'].version.version
190
+ package_version = Google::Cloud::Monitoring::VERSION
190
191
 
191
192
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
192
193
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/monitoring/v3/uptime_service_pb"
29
29
  require "google/cloud/monitoring/v3/credentials"
30
+ require "google/cloud/monitoring/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -175,7 +176,7 @@ module Google
175
176
  updater_proc = credentials.updater_proc
176
177
  end
177
178
 
178
- package_version = Gem.loaded_specs['google-cloud-monitoring'].version.version
179
+ package_version = Google::Cloud::Monitoring::VERSION
179
180
 
180
181
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
181
182
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -0,0 +1,22 @@
1
+ # Copyright 2019 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+
16
+ module Google
17
+ module Cloud
18
+ module Monitoring
19
+ VERSION = "0.29.5".freeze
20
+ end
21
+ end
22
+ end
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.29.4
4
+ version: 0.29.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-30 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -157,6 +157,7 @@ files:
157
157
  - lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json
158
158
  - lib/google/cloud/monitoring/v3/uptime_check_service_client.rb
159
159
  - lib/google/cloud/monitoring/v3/uptime_check_service_client_config.json
160
+ - lib/google/cloud/monitoring/version.rb
160
161
  - lib/google/monitoring/v3/alert_pb.rb
161
162
  - lib/google/monitoring/v3/alert_service_pb.rb
162
163
  - lib/google/monitoring/v3/alert_service_services_pb.rb