google-apis-monitoring_v3 0.69.0 → 0.71.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f9660415a05c62cac53c0e22b52582eff1e473426bf74d5ea179caadda279f1
|
4
|
+
data.tar.gz: 3d44c5ada56d9e8162f8daab91fdbdf78df58416f040874df9ba1e65199abfdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2896200c814097f498314ff34267ec37c7e9d300348945e5b8948aa514369cd046ec046be6af7644c129b2ba25857cea17374ac19216d0d603d4a755afeffba
|
7
|
+
data.tar.gz: 5f86d9dfbab3a4833a362775557b6d599b928ffdb9ff62ed6c330fdd91d907a76d30081d8ca4dfb954f109f17a6cbb3788be300797cec1f9604aeed5329b7e96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.71.0 (2024-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241017
|
6
|
+
|
7
|
+
### v0.70.0 (2024-10-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241003
|
10
|
+
|
3
11
|
### v0.69.0 (2024-10-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240929
|
@@ -118,8 +118,8 @@ module Google
|
|
118
118
|
|
119
119
|
# A description of the conditions under which some aspect of your system is
|
120
120
|
# considered to be "unhealthy" and the ways to notify people or services about
|
121
|
-
# this state. For an overview of
|
122
|
-
# https://cloud.google.com/monitoring/alerts/).
|
121
|
+
# this state. For an overview of alerting policies, see Introduction to Alerting
|
122
|
+
# (https://cloud.google.com/monitoring/alerts/).
|
123
123
|
class AlertPolicy
|
124
124
|
include Google::Apis::Core::Hashable
|
125
125
|
|
@@ -203,7 +203,7 @@ module Google
|
|
203
203
|
# @return [Array<String>]
|
204
204
|
attr_accessor :notification_channels
|
205
205
|
|
206
|
-
# Optional. The severity of an
|
206
|
+
# Optional. The severity of an alerting policy indicates how important incidents
|
207
207
|
# generated by that policy are. The severity level will be displayed on the
|
208
208
|
# Incident detail page and in notifications.
|
209
209
|
# Corresponds to the JSON property `severity`
|
@@ -260,7 +260,7 @@ module Google
|
|
260
260
|
class AlertStrategy
|
261
261
|
include Google::Apis::Core::Hashable
|
262
262
|
|
263
|
-
# If an
|
263
|
+
# If an alerting policy that was active has no data for this long, any open
|
264
264
|
# incidents will close
|
265
265
|
# Corresponds to the JSON property `autoClose`
|
266
266
|
# @return [String]
|
@@ -271,7 +271,14 @@ module Google
|
|
271
271
|
# @return [Array<Google::Apis::MonitoringV3::NotificationChannelStrategy>]
|
272
272
|
attr_accessor :notification_channel_strategy
|
273
273
|
|
274
|
-
#
|
274
|
+
# For log-based alert policies, the notification prompts is always OPENED. For
|
275
|
+
# non log-based alert policies, the notification prompts can be OPENED or OPENED,
|
276
|
+
# CLOSED.
|
277
|
+
# Corresponds to the JSON property `notificationPrompts`
|
278
|
+
# @return [Array<String>]
|
279
|
+
attr_accessor :notification_prompts
|
280
|
+
|
281
|
+
# Control over the rate of notifications sent to this alerting policy's
|
275
282
|
# notification channels.
|
276
283
|
# Corresponds to the JSON property `notificationRateLimit`
|
277
284
|
# @return [Google::Apis::MonitoringV3::NotificationRateLimit]
|
@@ -285,6 +292,7 @@ module Google
|
|
285
292
|
def update!(**args)
|
286
293
|
@auto_close = args[:auto_close] if args.key?(:auto_close)
|
287
294
|
@notification_channel_strategy = args[:notification_channel_strategy] if args.key?(:notification_channel_strategy)
|
295
|
+
@notification_prompts = args[:notification_prompts] if args.key?(:notification_prompts)
|
288
296
|
@notification_rate_limit = args[:notification_rate_limit] if args.key?(:notification_rate_limit)
|
289
297
|
end
|
290
298
|
end
|
@@ -831,13 +839,13 @@ module Google
|
|
831
839
|
# @return [Google::Apis::MonitoringV3::LogMatch]
|
832
840
|
attr_accessor :condition_matched_log
|
833
841
|
|
834
|
-
# A condition type that allows
|
842
|
+
# A condition type that allows alerting policies to be defined using Monitoring
|
835
843
|
# Query Language (https://cloud.google.com/monitoring/mql).
|
836
844
|
# Corresponds to the JSON property `conditionMonitoringQueryLanguage`
|
837
845
|
# @return [Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition]
|
838
846
|
attr_accessor :condition_monitoring_query_language
|
839
847
|
|
840
|
-
# A condition type that allows
|
848
|
+
# A condition type that allows alerting policies to be defined using Prometheus
|
841
849
|
# Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
|
842
850
|
# basics/).The PrometheusQueryLanguageCondition message contains information
|
843
851
|
# from a Prometheus alerting rule and its associated rule group.A Prometheus
|
@@ -863,7 +871,7 @@ module Google
|
|
863
871
|
# @return [Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition]
|
864
872
|
attr_accessor :condition_prometheus_query_language
|
865
873
|
|
866
|
-
# A condition that allows
|
874
|
+
# A condition that allows alerting policies to be defined using GoogleSQL. SQL
|
867
875
|
# conditions examine a sliding window of logs using GoogleSQL. Alert policies
|
868
876
|
# with SQL conditions may incur additional billing.
|
869
877
|
# Corresponds to the JSON property `conditionSql`
|
@@ -1131,9 +1139,8 @@ module Google
|
|
1131
1139
|
# @return [Google::Apis::MonitoringV3::TimeOfDay]
|
1132
1140
|
attr_accessor :execution_time
|
1133
1141
|
|
1134
|
-
# Required.
|
1135
|
-
#
|
1136
|
-
# google3/cloud/monitoring/api/alerts/policy_validation.cc)
|
1142
|
+
# Required. The number of days between runs. Must be greater than or equal to 1
|
1143
|
+
# day and less than or equal to 31 days.
|
1137
1144
|
# Corresponds to the JSON property `periodicity`
|
1138
1145
|
# @return [Fixnum]
|
1139
1146
|
attr_accessor :periodicity
|
@@ -1899,17 +1906,15 @@ module Google
|
|
1899
1906
|
class Hourly
|
1900
1907
|
include Google::Apis::Core::Hashable
|
1901
1908
|
|
1902
|
-
# Optional.
|
1903
|
-
#
|
1904
|
-
# arbitrary offset is used.
|
1905
|
-
# alerts/policy_validation.cc)
|
1909
|
+
# Optional. The number of minutes after the hour (in UTC) to run the query. Must
|
1910
|
+
# be greater than or equal to 0 minutes and less than or equal to 59 minutes. If
|
1911
|
+
# left unspecified, then an arbitrary offset is used.
|
1906
1912
|
# Corresponds to the JSON property `minuteOffset`
|
1907
1913
|
# @return [Fixnum]
|
1908
1914
|
attr_accessor :minute_offset
|
1909
1915
|
|
1910
|
-
# Required.
|
1911
|
-
#
|
1912
|
-
# google3/cloud/monitoring/api/alerts/policy_validation.cc)
|
1916
|
+
# Required. The number of hours between runs. Must be greater than or equal to 1
|
1917
|
+
# hour and less than or equal to 48 hours.
|
1913
1918
|
# Corresponds to the JSON property `periodicity`
|
1914
1919
|
# @return [Fixnum]
|
1915
1920
|
attr_accessor :periodicity
|
@@ -3233,9 +3238,8 @@ module Google
|
|
3233
3238
|
class Minutes
|
3234
3239
|
include Google::Apis::Core::Hashable
|
3235
3240
|
|
3236
|
-
# Required.
|
3237
|
-
#
|
3238
|
-
# monitoring/api/alerts/policy_validation.cc)
|
3241
|
+
# Required. Number of minutes between runs. The interval must be greater than or
|
3242
|
+
# equal to 5 minutes and less than or equal to 1440 minutes.
|
3239
3243
|
# Corresponds to the JSON property `periodicity`
|
3240
3244
|
# @return [Fixnum]
|
3241
3245
|
attr_accessor :periodicity
|
@@ -3392,7 +3396,7 @@ module Google
|
|
3392
3396
|
end
|
3393
3397
|
end
|
3394
3398
|
|
3395
|
-
# A condition type that allows
|
3399
|
+
# A condition type that allows alerting policies to be defined using Monitoring
|
3396
3400
|
# Query Language (https://cloud.google.com/monitoring/mql).
|
3397
3401
|
class MonitoringQueryLanguageCondition
|
3398
3402
|
include Google::Apis::Core::Hashable
|
@@ -3672,7 +3676,7 @@ module Google
|
|
3672
3676
|
end
|
3673
3677
|
end
|
3674
3678
|
|
3675
|
-
# Control over the rate of notifications sent to this
|
3679
|
+
# Control over the rate of notifications sent to this alerting policy's
|
3676
3680
|
# notification channels.
|
3677
3681
|
class NotificationRateLimit
|
3678
3682
|
include Google::Apis::Core::Hashable
|
@@ -3921,7 +3925,7 @@ module Google
|
|
3921
3925
|
end
|
3922
3926
|
end
|
3923
3927
|
|
3924
|
-
# A condition type that allows
|
3928
|
+
# A condition type that allows alerting policies to be defined using Prometheus
|
3925
3929
|
# Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
|
3926
3930
|
# basics/).The PrometheusQueryLanguageCondition message contains information
|
3927
3931
|
# from a Prometheus alerting rule and its associated rule group.A Prometheus
|
@@ -4649,7 +4653,7 @@ module Google
|
|
4649
4653
|
end
|
4650
4654
|
end
|
4651
4655
|
|
4652
|
-
# A condition that allows
|
4656
|
+
# A condition that allows alerting policies to be defined using GoogleSQL. SQL
|
4653
4657
|
# conditions examine a sliding window of logs using GoogleSQL. Alert policies
|
4654
4658
|
# with SQL conditions may incur additional billing.
|
4655
4659
|
class SqlCondition
|
@@ -4680,9 +4684,9 @@ module Google
|
|
4680
4684
|
# conform to the required shape. Specifically, the query must not try to filter
|
4681
4685
|
# the input by time. A filter will automatically be applied to filter the input
|
4682
4686
|
# so that the query receives all rows received since the last time the query was
|
4683
|
-
# run.
|
4684
|
-
# log_name, severity, http_request, resource,
|
4685
|
-
# _Default._AllLogs WHERE http_request IS NOT NULL
|
4687
|
+
# run.For example, the following query extracts all log entries containing an
|
4688
|
+
# HTTP request:SELECT timestamp, log_name, severity, http_request, resource,
|
4689
|
+
# labels FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL
|
4686
4690
|
# Corresponds to the JSON property `query`
|
4687
4691
|
# @return [String]
|
4688
4692
|
attr_accessor :query
|
@@ -4874,24 +4878,28 @@ module Google
|
|
4874
4878
|
class TimeOfDay
|
4875
4879
|
include Google::Apis::Core::Hashable
|
4876
4880
|
|
4877
|
-
# Hours of day in 24 hour format.
|
4878
|
-
#
|
4881
|
+
# Hours of a day in 24 hour format. Must be greater than or equal to 0 and
|
4882
|
+
# typically must be less than or equal to 23. An API may choose to allow the
|
4883
|
+
# value "24:00:00" for scenarios like business closing time.
|
4879
4884
|
# Corresponds to the JSON property `hours`
|
4880
4885
|
# @return [Fixnum]
|
4881
4886
|
attr_accessor :hours
|
4882
4887
|
|
4883
|
-
# Minutes of hour
|
4888
|
+
# Minutes of an hour. Must be greater than or equal to 0 and less than or equal
|
4889
|
+
# to 59.
|
4884
4890
|
# Corresponds to the JSON property `minutes`
|
4885
4891
|
# @return [Fixnum]
|
4886
4892
|
attr_accessor :minutes
|
4887
4893
|
|
4888
|
-
# Fractions of seconds in nanoseconds. Must be
|
4894
|
+
# Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
|
4895
|
+
# less than or equal to 999,999,999.
|
4889
4896
|
# Corresponds to the JSON property `nanos`
|
4890
4897
|
# @return [Fixnum]
|
4891
4898
|
attr_accessor :nanos
|
4892
4899
|
|
4893
|
-
# Seconds of
|
4894
|
-
# allow the value 60 if it allows leap-
|
4900
|
+
# Seconds of a minute. Must be greater than or equal to 0 and typically must be
|
4901
|
+
# less than or equal to 59. An API may allow the value 60 if it allows leap-
|
4902
|
+
# seconds.
|
4895
4903
|
# Corresponds to the JSON property `seconds`
|
4896
4904
|
# @return [Fixnum]
|
4897
4905
|
attr_accessor :seconds
|
@@ -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.71.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241017"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -825,6 +825,7 @@ module Google
|
|
825
825
|
property :auto_close, as: 'autoClose'
|
826
826
|
collection :notification_channel_strategy, as: 'notificationChannelStrategy', class: Google::Apis::MonitoringV3::NotificationChannelStrategy, decorator: Google::Apis::MonitoringV3::NotificationChannelStrategy::Representation
|
827
827
|
|
828
|
+
collection :notification_prompts, as: 'notificationPrompts'
|
828
829
|
property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
|
829
830
|
|
830
831
|
end
|
@@ -1251,8 +1251,8 @@ module Google
|
|
1251
1251
|
# @param [Boolean] force
|
1252
1252
|
# If true, the notification channel will be deleted regardless of its use in
|
1253
1253
|
# alert policies (the policies will be updated to remove the channel). If false,
|
1254
|
-
#
|
1255
|
-
#
|
1254
|
+
# this operation will fail if the notification channel is referenced by existing
|
1255
|
+
# alerting policies.
|
1256
1256
|
# @param [String] fields
|
1257
1257
|
# Selector specifying which fields to include in a partial response.
|
1258
1258
|
# @param [String] quota_user
|
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.71.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: 2024-10-
|
11
|
+
date: 2024-10-27 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/main/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.71.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V3
|