google-apis-monitoring_v3 0.13.0 → 0.14.0
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/CHANGELOG.md +4 -0
- data/lib/google/apis/monitoring_v3/classes.rb +20 -13
- data/lib/google/apis/monitoring_v3/gem_version.rb +2 -2
- data/lib/google/apis/monitoring_v3/representations.rb +1 -0
- data/lib/google/apis/monitoring_v3/service.rb +4 -2
- data/lib/google/apis/monitoring_v3.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 676123eaca08c119e50e4b6fd1188fd7a88ed757a6415daf71655831e9bc724c
|
4
|
+
data.tar.gz: cf5acb6976f01be4ab40255ee03bd31218c2842f26ab92b2d427f9cb8a353f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 711438b3cf2f249637697e596ed63bb92b6b109b01f10898c698e51bcaf5b49e65fbe43756ca1bcb349a51bf7a69c079b4c0e56d79fc777d891c5c7f0eac910a
|
7
|
+
data.tar.gz: f9a2c2a4f28632983576e46fc51edb41460abe50250ac2e3b33ba41efed395cc1186201fcd9cb7ac3d592bbfa37292507efd79040a80107f1ba0227d40c17666
|
data/CHANGELOG.md
CHANGED
@@ -241,6 +241,12 @@ module Google
|
|
241
241
|
class AlertStrategy
|
242
242
|
include Google::Apis::Core::Hashable
|
243
243
|
|
244
|
+
# If an alert policy that was active has no data for this log, any open
|
245
|
+
# incidents will close
|
246
|
+
# Corresponds to the JSON property `autoClose`
|
247
|
+
# @return [String]
|
248
|
+
attr_accessor :auto_close
|
249
|
+
|
244
250
|
# Control over the rate of notifications sent to this alert policy's
|
245
251
|
# notification channels.
|
246
252
|
# Corresponds to the JSON property `notificationRateLimit`
|
@@ -253,6 +259,7 @@ module Google
|
|
253
259
|
|
254
260
|
# Update properties of this object
|
255
261
|
def update!(**args)
|
262
|
+
@auto_close = args[:auto_close] if args.key?(:auto_close)
|
256
263
|
@notification_rate_limit = args[:notification_rate_limit] if args.key?(:notification_rate_limit)
|
257
264
|
end
|
258
265
|
end
|
@@ -1007,9 +1014,7 @@ module Google
|
|
1007
1014
|
# @return [String]
|
1008
1015
|
attr_accessor :distribution_filter
|
1009
1016
|
|
1010
|
-
# Range of numerical values within min and max.
|
1011
|
-
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
1012
|
-
# desired, set range.max = infinity.
|
1017
|
+
# Range of numerical values within min and max.
|
1013
1018
|
# Corresponds to the JSON property `range`
|
1014
1019
|
# @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]
|
1015
1020
|
attr_accessor :range
|
@@ -1365,9 +1370,7 @@ module Google
|
|
1365
1370
|
end
|
1366
1371
|
end
|
1367
1372
|
|
1368
|
-
# Range of numerical values within min and max.
|
1369
|
-
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
1370
|
-
# desired, set range.max = infinity.
|
1373
|
+
# Range of numerical values within min and max.
|
1371
1374
|
class GoogleMonitoringV3Range
|
1372
1375
|
include Google::Apis::Core::Hashable
|
1373
1376
|
|
@@ -2169,8 +2172,9 @@ module Google
|
|
2169
2172
|
class LogMatch
|
2170
2173
|
include Google::Apis::Core::Hashable
|
2171
2174
|
|
2172
|
-
# Required. A logs-based filter. See Advanced Logs Queries
|
2173
|
-
# should be
|
2175
|
+
# Required. A logs-based filter. See Advanced Logs Queries (https://cloud.google.
|
2176
|
+
# com/logging/docs/view/advanced-queries) for how this filter should be
|
2177
|
+
# constructed.
|
2174
2178
|
# Corresponds to the JSON property `filter`
|
2175
2179
|
# @return [String]
|
2176
2180
|
attr_accessor :filter
|
@@ -2181,7 +2185,9 @@ module Google
|
|
2181
2185
|
# filter. Each combination of extracted values is treated as a separate rule for
|
2182
2186
|
# the purposes of triggering notifications. Label keys and corresponding values
|
2183
2187
|
# can be used in notifications generated by this condition.Please see the
|
2184
|
-
# documentation on logs-based metric valueExtractors
|
2188
|
+
# documentation on logs-based metric valueExtractors (https://cloud.google.com/
|
2189
|
+
# logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.
|
2190
|
+
# value_extractor) for syntax and examples.
|
2185
2191
|
# Corresponds to the JSON property `labelExtractors`
|
2186
2192
|
# @return [Hash<String,String>]
|
2187
2193
|
attr_accessor :label_extractors
|
@@ -2501,9 +2507,7 @@ module Google
|
|
2501
2507
|
class MetricRange
|
2502
2508
|
include Google::Apis::Core::Hashable
|
2503
2509
|
|
2504
|
-
# Range of numerical values within min and max.
|
2505
|
-
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
2506
|
-
# desired, set range.max = infinity.
|
2510
|
+
# Range of numerical values within min and max.
|
2507
2511
|
# Corresponds to the JSON property `range`
|
2508
2512
|
# @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]
|
2509
2513
|
attr_accessor :range
|
@@ -2711,7 +2715,10 @@ module Google
|
|
2711
2715
|
attr_accessor :name
|
2712
2716
|
|
2713
2717
|
# Required. The monitored resource type. For example, the type "
|
2714
|
-
# cloudsql_database" represents databases in Google Cloud SQL.
|
2718
|
+
# cloudsql_database" represents databases in Google Cloud SQL. For a list of
|
2719
|
+
# types, see Monitoring resource types (https://cloud.google.com/monitoring/api/
|
2720
|
+
# resources) and Logging resource types (https://cloud.google.com/logging/docs/
|
2721
|
+
# api/v2/resource-list).
|
2715
2722
|
# Corresponds to the JSON property `type`
|
2716
2723
|
# @return [String]
|
2717
2724
|
attr_accessor :type
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV3
|
18
18
|
# Version of the google-apis-monitoring_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -671,6 +671,7 @@ module Google
|
|
671
671
|
class AlertStrategy
|
672
672
|
# @private
|
673
673
|
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :auto_close, as: 'autoClose'
|
674
675
|
property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
|
675
676
|
|
676
677
|
end
|
@@ -887,8 +887,10 @@ module Google
|
|
887
887
|
execute_or_queue_command(command, &block)
|
888
888
|
end
|
889
889
|
|
890
|
-
# Creates a new metric descriptor.
|
891
|
-
#
|
890
|
+
# Creates a new metric descriptor. The creation is executed asynchronously and
|
891
|
+
# callers may check the returned operation to track its progress. User-created
|
892
|
+
# metric descriptors define custom metrics (https://cloud.google.com/monitoring/
|
893
|
+
# custom-metrics).
|
892
894
|
# @param [String] name
|
893
895
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
894
896
|
# on which to execute the request. The format is: 4 projects/
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# This is NOT the gem version.
|
35
35
|
VERSION = 'V3'
|
36
36
|
|
37
|
-
# See, edit, configure, and delete your Google Cloud
|
37
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
38
38
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
39
39
|
|
40
40
|
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|