google-apis-monitoring_v3 0.68.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: fe171b394d074b12ce04ed8cc1bc459543c708c6cf1afd13510d07b9d2fddc39
4
- data.tar.gz: 51a95d30eef1e36421c7a4228772bb91e7f79adae97681ee44c6567d7c6bb4d7
3
+ metadata.gz: aed7ac3103177cce183236459670b47fe00eea503f92cd1375eb6066f1dcc030
4
+ data.tar.gz: 36ec95f53ee0723f3d918185a8c673faacd880e05ca5b7f9ed3eac67092d0cda
5
5
  SHA512:
6
- metadata.gz: 5957094ff78af716a43b822762cd8f8cf9df04f5437f5f9279c2c9a0d9f4aa0585341ac35b524e8dce05e111c357aa07c1a8473c2bfdd57bb22b3975d4941975
7
- data.tar.gz: cd99a6d608e75783f852650c103cfb911f86575a87ce0009af596b675cbf1f61f9d36d30f0316a74dfc7995de6f77ebb5a28790443cf1b064a6e59b3d0a79ac6
6
+ metadata.gz: 3479de49e71437d3c40d6b86fa0221498b2a946fd69f83c113bb234a9e600727cfeb8ec56820b2ff457fa0fd665a0a94c804d0f5f833b0a11e29696cbe5adb99
7
+ data.tar.gz: e195dd193485d296dd3970f1c2cd9a52297463323f3ecfd3338fe8fa7c80b105266ffd9e0267b9c77e0e53e43f7ca5dff1d203a0dcdcea89bbc944b082113d83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.69.0 (2024-10-06)
8
+
9
+ * Regenerated from discovery document revision 20240929
10
+
3
11
  ### v0.68.0 (2024-09-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20240829
@@ -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
@@ -440,6 +448,27 @@ module Google
440
448
  end
441
449
  end
442
450
 
451
+ # A test that uses an alerting result in a boolean column produced by the SQL
452
+ # query.
453
+ class BooleanTest
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Required. The name of the column containing the boolean value. If the value in
457
+ # a row is NULL, that row is ignored.
458
+ # Corresponds to the JSON property `column`
459
+ # @return [String]
460
+ attr_accessor :column
461
+
462
+ def initialize(**args)
463
+ update!(**args)
464
+ end
465
+
466
+ # Update properties of this object
467
+ def update!(**args)
468
+ @column = args[:column] if args.key?(:column)
469
+ end
470
+ end
471
+
443
472
  # BucketOptions describes the bucket boundaries used to create a histogram for
444
473
  # the distribution. The buckets can be in a linear sequence, an exponential
445
474
  # sequence, or each bucket can be specified explicitly. BucketOptions does not
@@ -810,13 +839,13 @@ module Google
810
839
  # @return [Google::Apis::MonitoringV3::LogMatch]
811
840
  attr_accessor :condition_matched_log
812
841
 
813
- # 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
814
843
  # Query Language (https://cloud.google.com/monitoring/mql).
815
844
  # Corresponds to the JSON property `conditionMonitoringQueryLanguage`
816
845
  # @return [Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition]
817
846
  attr_accessor :condition_monitoring_query_language
818
847
 
819
- # 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
820
849
  # Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
821
850
  # basics/).The PrometheusQueryLanguageCondition message contains information
822
851
  # from a Prometheus alerting rule and its associated rule group.A Prometheus
@@ -842,6 +871,13 @@ module Google
842
871
  # @return [Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition]
843
872
  attr_accessor :condition_prometheus_query_language
844
873
 
874
+ # A condition that allows alerting policies to be defined using GoogleSQL. SQL
875
+ # conditions examine a sliding window of logs using GoogleSQL. Alert policies
876
+ # with SQL conditions may incur additional billing.
877
+ # Corresponds to the JSON property `conditionSql`
878
+ # @return [Google::Apis::MonitoringV3::SqlCondition]
879
+ attr_accessor :condition_sql
880
+
845
881
  # A condition type that compares a collection of time series against a threshold.
846
882
  # Corresponds to the JSON property `conditionThreshold`
847
883
  # @return [Google::Apis::MonitoringV3::MetricThreshold]
@@ -882,6 +918,7 @@ module Google
882
918
  @condition_matched_log = args[:condition_matched_log] if args.key?(:condition_matched_log)
883
919
  @condition_monitoring_query_language = args[:condition_monitoring_query_language] if args.key?(:condition_monitoring_query_language)
884
920
  @condition_prometheus_query_language = args[:condition_prometheus_query_language] if args.key?(:condition_prometheus_query_language)
921
+ @condition_sql = args[:condition_sql] if args.key?(:condition_sql)
885
922
  @condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
886
923
  @display_name = args[:display_name] if args.key?(:display_name)
887
924
  @name = args[:name] if args.key?(:name)
@@ -1091,6 +1128,34 @@ module Google
1091
1128
  end
1092
1129
  end
1093
1130
 
1131
+ # Used to schedule the query to run every so many days.
1132
+ class Daily
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # Represents a time of day. The date and time zone are either not significant or
1136
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1137
+ # types are google.type.Date and google.protobuf.Timestamp.
1138
+ # Corresponds to the JSON property `executionTime`
1139
+ # @return [Google::Apis::MonitoringV3::TimeOfDay]
1140
+ attr_accessor :execution_time
1141
+
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.
1144
+ # Corresponds to the JSON property `periodicity`
1145
+ # @return [Fixnum]
1146
+ attr_accessor :periodicity
1147
+
1148
+ def initialize(**args)
1149
+ update!(**args)
1150
+ end
1151
+
1152
+ # Update properties of this object
1153
+ def update!(**args)
1154
+ @execution_time = args[:execution_time] if args.key?(:execution_time)
1155
+ @periodicity = args[:periodicity] if args.key?(:periodicity)
1156
+ end
1157
+ end
1158
+
1094
1159
  # Distribution contains summary statistics for a population of values. It
1095
1160
  # optionally contains a histogram representing the distribution of those values
1096
1161
  # across a set of buckets.The summary statistics are the count, mean, sum of the
@@ -1837,6 +1902,34 @@ module Google
1837
1902
  end
1838
1903
  end
1839
1904
 
1905
+ # Used to schedule the query to run every so many hours.
1906
+ class Hourly
1907
+ include Google::Apis::Core::Hashable
1908
+
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.
1912
+ # Corresponds to the JSON property `minuteOffset`
1913
+ # @return [Fixnum]
1914
+ attr_accessor :minute_offset
1915
+
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.
1918
+ # Corresponds to the JSON property `periodicity`
1919
+ # @return [Fixnum]
1920
+ attr_accessor :periodicity
1921
+
1922
+ def initialize(**args)
1923
+ update!(**args)
1924
+ end
1925
+
1926
+ # Update properties of this object
1927
+ def update!(**args)
1928
+ @minute_offset = args[:minute_offset] if args.key?(:minute_offset)
1929
+ @periodicity = args[:periodicity] if args.key?(:periodicity)
1930
+ end
1931
+ end
1932
+
1840
1933
  # Information involved in an HTTP/HTTPS Uptime check request.
1841
1934
  class HttpCheck
1842
1935
  include Google::Apis::Core::Hashable
@@ -3141,6 +3234,26 @@ module Google
3141
3234
  end
3142
3235
  end
3143
3236
 
3237
+ # Used to schedule the query to run every so many minutes.
3238
+ class Minutes
3239
+ include Google::Apis::Core::Hashable
3240
+
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.
3243
+ # Corresponds to the JSON property `periodicity`
3244
+ # @return [Fixnum]
3245
+ attr_accessor :periodicity
3246
+
3247
+ def initialize(**args)
3248
+ update!(**args)
3249
+ end
3250
+
3251
+ # Update properties of this object
3252
+ def update!(**args)
3253
+ @periodicity = args[:periodicity] if args.key?(:periodicity)
3254
+ end
3255
+ end
3256
+
3144
3257
  # An object representing a resource that can be used for monitoring, logging,
3145
3258
  # billing, or other purposes. Examples include virtual machine instances,
3146
3259
  # databases, and storage devices such as disks. The type field identifies a
@@ -3283,7 +3396,7 @@ module Google
3283
3396
  end
3284
3397
  end
3285
3398
 
3286
- # 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
3287
3400
  # Query Language (https://cloud.google.com/monitoring/mql).
3288
3401
  class MonitoringQueryLanguageCondition
3289
3402
  include Google::Apis::Core::Hashable
@@ -3563,7 +3676,7 @@ module Google
3563
3676
  end
3564
3677
  end
3565
3678
 
3566
- # 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
3567
3680
  # notification channels.
3568
3681
  class NotificationRateLimit
3569
3682
  include Google::Apis::Core::Hashable
@@ -3812,7 +3925,7 @@ module Google
3812
3925
  end
3813
3926
  end
3814
3927
 
3815
- # 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
3816
3929
  # Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
3817
3930
  # basics/).The PrometheusQueryLanguageCondition message contains information
3818
3931
  # from a Prometheus alerting rule and its associated rule group.A Prometheus
@@ -4102,6 +4215,33 @@ module Google
4102
4215
  end
4103
4216
  end
4104
4217
 
4218
+ # A test that checks if the number of rows in the result set violates some
4219
+ # threshold.
4220
+ class RowCountTest
4221
+ include Google::Apis::Core::Hashable
4222
+
4223
+ # Required. The comparison to apply between the number of rows returned by the
4224
+ # query and the threshold.
4225
+ # Corresponds to the JSON property `comparison`
4226
+ # @return [String]
4227
+ attr_accessor :comparison
4228
+
4229
+ # Required. The value against which to compare the row count.
4230
+ # Corresponds to the JSON property `threshold`
4231
+ # @return [Fixnum]
4232
+ attr_accessor :threshold
4233
+
4234
+ def initialize(**args)
4235
+ update!(**args)
4236
+ end
4237
+
4238
+ # Update properties of this object
4239
+ def update!(**args)
4240
+ @comparison = args[:comparison] if args.key?(:comparison)
4241
+ @threshold = args[:threshold] if args.key?(:threshold)
4242
+ end
4243
+ end
4244
+
4105
4245
  # The SendNotificationChannelVerificationCode request.
4106
4246
  class SendNotificationChannelVerificationCodeRequest
4107
4247
  include Google::Apis::Core::Hashable
@@ -4513,6 +4653,65 @@ module Google
4513
4653
  end
4514
4654
  end
4515
4655
 
4656
+ # A condition that allows alerting policies to be defined using GoogleSQL. SQL
4657
+ # conditions examine a sliding window of logs using GoogleSQL. Alert policies
4658
+ # with SQL conditions may incur additional billing.
4659
+ class SqlCondition
4660
+ include Google::Apis::Core::Hashable
4661
+
4662
+ # A test that uses an alerting result in a boolean column produced by the SQL
4663
+ # query.
4664
+ # Corresponds to the JSON property `booleanTest`
4665
+ # @return [Google::Apis::MonitoringV3::BooleanTest]
4666
+ attr_accessor :boolean_test
4667
+
4668
+ # Used to schedule the query to run every so many days.
4669
+ # Corresponds to the JSON property `daily`
4670
+ # @return [Google::Apis::MonitoringV3::Daily]
4671
+ attr_accessor :daily
4672
+
4673
+ # Used to schedule the query to run every so many hours.
4674
+ # Corresponds to the JSON property `hourly`
4675
+ # @return [Google::Apis::MonitoringV3::Hourly]
4676
+ attr_accessor :hourly
4677
+
4678
+ # Used to schedule the query to run every so many minutes.
4679
+ # Corresponds to the JSON property `minutes`
4680
+ # @return [Google::Apis::MonitoringV3::Minutes]
4681
+ attr_accessor :minutes
4682
+
4683
+ # Required. The Log Analytics SQL query to run, as a string. The query must
4684
+ # conform to the required shape. Specifically, the query must not try to filter
4685
+ # the input by time. A filter will automatically be applied to filter the input
4686
+ # so that the query receives all rows received since the last time the query was
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
4690
+ # Corresponds to the JSON property `query`
4691
+ # @return [String]
4692
+ attr_accessor :query
4693
+
4694
+ # A test that checks if the number of rows in the result set violates some
4695
+ # threshold.
4696
+ # Corresponds to the JSON property `rowCountTest`
4697
+ # @return [Google::Apis::MonitoringV3::RowCountTest]
4698
+ attr_accessor :row_count_test
4699
+
4700
+ def initialize(**args)
4701
+ update!(**args)
4702
+ end
4703
+
4704
+ # Update properties of this object
4705
+ def update!(**args)
4706
+ @boolean_test = args[:boolean_test] if args.key?(:boolean_test)
4707
+ @daily = args[:daily] if args.key?(:daily)
4708
+ @hourly = args[:hourly] if args.key?(:hourly)
4709
+ @minutes = args[:minutes] if args.key?(:minutes)
4710
+ @query = args[:query] if args.key?(:query)
4711
+ @row_count_test = args[:row_count_test] if args.key?(:row_count_test)
4712
+ end
4713
+ end
4714
+
4516
4715
  # The Status type defines a logical error model that is suitable for different
4517
4716
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
4518
4717
  # (https://github.com/grpc). Each Status message contains three pieces of data:
@@ -4673,6 +4872,51 @@ module Google
4673
4872
  end
4674
4873
  end
4675
4874
 
4875
+ # Represents a time of day. The date and time zone are either not significant or
4876
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
4877
+ # types are google.type.Date and google.protobuf.Timestamp.
4878
+ class TimeOfDay
4879
+ include Google::Apis::Core::Hashable
4880
+
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.
4884
+ # Corresponds to the JSON property `hours`
4885
+ # @return [Fixnum]
4886
+ attr_accessor :hours
4887
+
4888
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
4889
+ # to 59.
4890
+ # Corresponds to the JSON property `minutes`
4891
+ # @return [Fixnum]
4892
+ attr_accessor :minutes
4893
+
4894
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
4895
+ # less than or equal to 999,999,999.
4896
+ # Corresponds to the JSON property `nanos`
4897
+ # @return [Fixnum]
4898
+ attr_accessor :nanos
4899
+
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.
4903
+ # Corresponds to the JSON property `seconds`
4904
+ # @return [Fixnum]
4905
+ attr_accessor :seconds
4906
+
4907
+ def initialize(**args)
4908
+ update!(**args)
4909
+ end
4910
+
4911
+ # Update properties of this object
4912
+ def update!(**args)
4913
+ @hours = args[:hours] if args.key?(:hours)
4914
+ @minutes = args[:minutes] if args.key?(:minutes)
4915
+ @nanos = args[:nanos] if args.key?(:nanos)
4916
+ @seconds = args[:seconds] if args.key?(:seconds)
4917
+ end
4918
+ end
4919
+
4676
4920
  # A collection of data points that describes the time-varying values of a metric.
4677
4921
  # A time series is identified by a combination of a fully-specified monitored
4678
4922
  # resource and a fully-specified metric. This type is used for both listing and
@@ -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.68.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 = "20240829"
25
+ REVISION = "20241003"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BooleanTest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class BucketOptions
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class Daily
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class Distribution
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -280,6 +292,12 @@ module Google
280
292
  include Google::Apis::Core::JsonObjectSupport
281
293
  end
282
294
 
295
+ class Hourly
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
283
301
  class HttpCheck
284
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
303
 
@@ -460,6 +478,12 @@ module Google
460
478
  include Google::Apis::Core::JsonObjectSupport
461
479
  end
462
480
 
481
+ class Minutes
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
463
487
  class MonitoredResource
464
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
489
 
@@ -592,6 +616,12 @@ module Google
592
616
  include Google::Apis::Core::JsonObjectSupport
593
617
  end
594
618
 
619
+ class RowCountTest
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
595
625
  class SendNotificationChannelVerificationCodeRequest
596
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
627
 
@@ -640,6 +670,12 @@ module Google
640
670
  include Google::Apis::Core::JsonObjectSupport
641
671
  end
642
672
 
673
+ class SqlCondition
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
643
679
  class Status
644
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
681
 
@@ -670,6 +706,12 @@ module Google
670
706
  include Google::Apis::Core::JsonObjectSupport
671
707
  end
672
708
 
709
+ class TimeOfDay
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
673
715
  class TimeSeries
674
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
717
 
@@ -783,6 +825,7 @@ module Google
783
825
  property :auto_close, as: 'autoClose'
784
826
  collection :notification_channel_strategy, as: 'notificationChannelStrategy', class: Google::Apis::MonitoringV3::NotificationChannelStrategy, decorator: Google::Apis::MonitoringV3::NotificationChannelStrategy::Representation
785
827
 
828
+ collection :notification_prompts, as: 'notificationPrompts'
786
829
  property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
787
830
 
788
831
  end
@@ -830,6 +873,13 @@ module Google
830
873
  end
831
874
  end
832
875
 
876
+ class BooleanTest
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :column, as: 'column'
880
+ end
881
+ end
882
+
833
883
  class BucketOptions
834
884
  # @private
835
885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -933,6 +983,8 @@ module Google
933
983
 
934
984
  property :condition_prometheus_query_language, as: 'conditionPrometheusQueryLanguage', class: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition::Representation
935
985
 
986
+ property :condition_sql, as: 'conditionSql', class: Google::Apis::MonitoringV3::SqlCondition, decorator: Google::Apis::MonitoringV3::SqlCondition::Representation
987
+
936
988
  property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
937
989
 
938
990
  property :display_name, as: 'displayName'
@@ -1002,6 +1054,15 @@ module Google
1002
1054
  end
1003
1055
  end
1004
1056
 
1057
+ class Daily
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :execution_time, as: 'executionTime', class: Google::Apis::MonitoringV3::TimeOfDay, decorator: Google::Apis::MonitoringV3::TimeOfDay::Representation
1061
+
1062
+ property :periodicity, as: 'periodicity'
1063
+ end
1064
+ end
1065
+
1005
1066
  class Distribution
1006
1067
  # @private
1007
1068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1176,6 +1237,14 @@ module Google
1176
1237
  end
1177
1238
  end
1178
1239
 
1240
+ class Hourly
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ property :minute_offset, as: 'minuteOffset'
1244
+ property :periodicity, as: 'periodicity'
1245
+ end
1246
+ end
1247
+
1179
1248
  class HttpCheck
1180
1249
  # @private
1181
1250
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1490,6 +1559,13 @@ module Google
1490
1559
  end
1491
1560
  end
1492
1561
 
1562
+ class Minutes
1563
+ # @private
1564
+ class Representation < Google::Apis::Core::JsonRepresentation
1565
+ property :periodicity, as: 'periodicity'
1566
+ end
1567
+ end
1568
+
1493
1569
  class MonitoredResource
1494
1570
  # @private
1495
1571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1708,6 +1784,14 @@ module Google
1708
1784
  end
1709
1785
  end
1710
1786
 
1787
+ class RowCountTest
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ property :comparison, as: 'comparison'
1791
+ property :threshold, :numeric_string => true, as: 'threshold'
1792
+ end
1793
+ end
1794
+
1711
1795
  class SendNotificationChannelVerificationCodeRequest
1712
1796
  # @private
1713
1797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1806,6 +1890,23 @@ module Google
1806
1890
  end
1807
1891
  end
1808
1892
 
1893
+ class SqlCondition
1894
+ # @private
1895
+ class Representation < Google::Apis::Core::JsonRepresentation
1896
+ property :boolean_test, as: 'booleanTest', class: Google::Apis::MonitoringV3::BooleanTest, decorator: Google::Apis::MonitoringV3::BooleanTest::Representation
1897
+
1898
+ property :daily, as: 'daily', class: Google::Apis::MonitoringV3::Daily, decorator: Google::Apis::MonitoringV3::Daily::Representation
1899
+
1900
+ property :hourly, as: 'hourly', class: Google::Apis::MonitoringV3::Hourly, decorator: Google::Apis::MonitoringV3::Hourly::Representation
1901
+
1902
+ property :minutes, as: 'minutes', class: Google::Apis::MonitoringV3::Minutes, decorator: Google::Apis::MonitoringV3::Minutes::Representation
1903
+
1904
+ property :query, as: 'query'
1905
+ property :row_count_test, as: 'rowCountTest', class: Google::Apis::MonitoringV3::RowCountTest, decorator: Google::Apis::MonitoringV3::RowCountTest::Representation
1906
+
1907
+ end
1908
+ end
1909
+
1809
1910
  class Status
1810
1911
  # @private
1811
1912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1847,6 +1948,16 @@ module Google
1847
1948
  end
1848
1949
  end
1849
1950
 
1951
+ class TimeOfDay
1952
+ # @private
1953
+ class Representation < Google::Apis::Core::JsonRepresentation
1954
+ property :hours, as: 'hours'
1955
+ property :minutes, as: 'minutes'
1956
+ property :nanos, as: 'nanos'
1957
+ property :seconds, as: 'seconds'
1958
+ end
1959
+ end
1960
+
1850
1961
  class TimeSeries
1851
1962
  # @private
1852
1963
  class Representation < Google::Apis::Core::JsonRepresentation
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.68.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-09-15 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.68.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