google-apis-monitoring_v3 0.69.0 → 0.70.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: 1d7c6715cb102eb536e1f92f8363b3ed0e7e8175a9bd99f61ea3ff5c9d6bced1
4
- data.tar.gz: 7ee36081b4b72adafadeaf17f39ebf2e4966ea697997cc3fe20f4001c373c671
3
+ metadata.gz: aed7ac3103177cce183236459670b47fe00eea503f92cd1375eb6066f1dcc030
4
+ data.tar.gz: 36ec95f53ee0723f3d918185a8c673faacd880e05ca5b7f9ed3eac67092d0cda
5
5
  SHA512:
6
- metadata.gz: e1aebb665f32f112528cbf9e1dfcc0586182bc568c5a94a94672e92151b3cf802af4bf8576287f150194c91c358db20fa2d5f6c4533479839120c4a6abd5c865
7
- data.tar.gz: 81376e4914bf551438a759548c72a7b9822370794dcf23118068dcbb0acb888dd503d5ff3a2f77f6258b89759d72a8182daf8a2361cdebbbe2ed9f63a416cd75
6
+ metadata.gz: 3479de49e71437d3c40d6b86fa0221498b2a946fd69f83c113bb234a9e600727cfeb8ec56820b2ff457fa0fd665a0a94c804d0f5f833b0a11e29696cbe5adb99
7
+ data.tar.gz: e195dd193485d296dd3970f1c2cd9a52297463323f3ecfd3338fe8fa7c80b105266ffd9e0267b9c77e0e53e43f7ca5dff1d203a0dcdcea89bbc944b082113d83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.70.0 (2024-10-13)
4
+
5
+ * Regenerated from discovery document revision 20241003
6
+
3
7
  ### v0.69.0 (2024-10-06)
4
8
 
5
9
  * 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 alert policies, see Introduction to Alerting (
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 alert policy indicates how important incidents
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 alert policy that was active has no data for this long, any open
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
- # Control over the rate of notifications sent to this alert policy's
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 alert policies to be defined using Monitoring
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 alert policies to be defined using Prometheus
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 alert policies to be defined using GoogleSQL. SQL
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. LINT.IfChange The number of days between runs. Must be greater than
1135
- # or equal to 1 day and less than or equal to 31 days. LINT.ThenChange(//depot/
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. LINT.IfChange The number of minutes after the hour (in UTC) to run
1903
- # the query. Must be between 0 and 59 inclusive. If left unspecified, then an
1904
- # arbitrary offset is used. LINT.ThenChange(//depot/google3/cloud/monitoring/api/
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. LINT.IfChange The number of hours between runs. Must be greater than
1911
- # or equal to 1 hour and less than or equal to 48 hours. LINT.ThenChange(//depot/
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. LINT.IfChange Number of minutes between runs. The interval must be
3237
- # between 5 minutes and 1440 minutes. LINT.ThenChange(//depot/google3/cloud/
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 alert policies to be defined using Monitoring
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 alert policy's
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 alert policies to be defined using Prometheus
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 alert policies to be defined using GoogleSQL. SQL
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.E.g. Extract all log entries containing an HTTP request:SELECT timestamp,
4684
- # log_name, severity, http_request, resource, labels FROM my-project.global.
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. Should be from 0 to 23. An API may choose to
4878
- # allow the value "24:00:00" for scenarios like business closing time.
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 of day. Must be from 0 to 59.
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 from 0 to 999,999,999.
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 minutes of the time. Must normally be from 0 to 59. An API may
4894
- # allow the value 60 if it allows leap-seconds.
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.69.0"
19
+ GEM_VERSION = "0.70.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 = "20240929"
25
+ REVISION = "20241003"
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
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.69.0
4
+ version: 0.70.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-06 00:00:00.000000000 Z
11
+ date: 2024-10-13 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.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.70.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.6
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