google-apis-monitoring_v3 0.9.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/monitoring_v3.rb +2 -1
- data/lib/google/apis/monitoring_v3/classes.rb +188 -80
- data/lib/google/apis/monitoring_v3/gem_version.rb +3 -3
- data/lib/google/apis/monitoring_v3/representations.rb +46 -0
- data/lib/google/apis/monitoring_v3/service.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba6752d6eebbfea0a3936bdfa4261ed4c83f1f83ac4eb1bf6c1dc4d78bb5b50
|
4
|
+
data.tar.gz: e3a122bba63f096d9ec3c8801897aeab7bcd8d3d7db6bb7959491f52e9aafcce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd92c738897cabe20fead8108d3eed32a8ec3ed2d06d79e8c8a472078746d3022f24bd0b8709b61601100d53205210b14295929177cd3c6349c1246b1c4a7c0
|
7
|
+
data.tar.gz: 11c18f82ef8192c07d72185b431f771d942fe689dbce48fa6bc95a83c812b16051e0bd098fc6361546334d5028a47744cc9f09f5b7252c1f4239b11a353774d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.13.0 (2021-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210720
|
6
|
+
|
7
|
+
### v0.12.0 (2021-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210712
|
10
|
+
|
11
|
+
### v0.11.0 (2021-07-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210702
|
14
|
+
|
15
|
+
### v0.10.0 (2021-07-02)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.9.0 (2021-06-25)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210618
|
@@ -25,7 +25,8 @@ module Google
|
|
25
25
|
# associated with a Workspace, with a few exceptions as noted on the individual
|
26
26
|
# method pages. The table entries below are presented in alphabetical order, not
|
27
27
|
# in order of common use. For explanations of the concepts found in the table
|
28
|
-
# entries, read the Cloud Monitoring documentation.
|
28
|
+
# entries, read the Cloud Monitoring documentation (https://cloud.google.com/
|
29
|
+
# monitoring/docs).
|
29
30
|
#
|
30
31
|
# @see https://cloud.google.com/monitoring/api/
|
31
32
|
module MonitoringV3
|
@@ -123,6 +123,12 @@ module Google
|
|
123
123
|
class AlertPolicy
|
124
124
|
include Google::Apis::Core::Hashable
|
125
125
|
|
126
|
+
# Control over how the notification channels in notification_channels are
|
127
|
+
# notified when this alert fires.
|
128
|
+
# Corresponds to the JSON property `alertStrategy`
|
129
|
+
# @return [Google::Apis::MonitoringV3::AlertStrategy]
|
130
|
+
attr_accessor :alert_strategy
|
131
|
+
|
126
132
|
# How to combine the results of multiple conditions to determine if an incident
|
127
133
|
# should be opened. If condition_time_series_query_language is present, this
|
128
134
|
# must be COMBINE_UNSPECIFIED.
|
@@ -215,6 +221,7 @@ module Google
|
|
215
221
|
|
216
222
|
# Update properties of this object
|
217
223
|
def update!(**args)
|
224
|
+
@alert_strategy = args[:alert_strategy] if args.key?(:alert_strategy)
|
218
225
|
@combiner = args[:combiner] if args.key?(:combiner)
|
219
226
|
@conditions = args[:conditions] if args.key?(:conditions)
|
220
227
|
@creation_record = args[:creation_record] if args.key?(:creation_record)
|
@@ -229,6 +236,27 @@ module Google
|
|
229
236
|
end
|
230
237
|
end
|
231
238
|
|
239
|
+
# Control over how the notification channels in notification_channels are
|
240
|
+
# notified when this alert fires.
|
241
|
+
class AlertStrategy
|
242
|
+
include Google::Apis::Core::Hashable
|
243
|
+
|
244
|
+
# Control over the rate of notifications sent to this alert policy's
|
245
|
+
# notification channels.
|
246
|
+
# Corresponds to the JSON property `notificationRateLimit`
|
247
|
+
# @return [Google::Apis::MonitoringV3::NotificationRateLimit]
|
248
|
+
attr_accessor :notification_rate_limit
|
249
|
+
|
250
|
+
def initialize(**args)
|
251
|
+
update!(**args)
|
252
|
+
end
|
253
|
+
|
254
|
+
# Update properties of this object
|
255
|
+
def update!(**args)
|
256
|
+
@notification_rate_limit = args[:notification_rate_limit] if args.key?(:notification_rate_limit)
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
232
260
|
# App Engine service. Learn more at https://cloud.google.com/appengine.
|
233
261
|
class AppEngine
|
234
262
|
include Google::Apis::Core::Hashable
|
@@ -646,6 +674,13 @@ module Google
|
|
646
674
|
# @return [Google::Apis::MonitoringV3::MetricAbsence]
|
647
675
|
attr_accessor :condition_absent
|
648
676
|
|
677
|
+
# A condition type that checks whether a log message in the scoping project (
|
678
|
+
# https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given
|
679
|
+
# filter. Logs from other projects in the metrics scope are not evaluated.
|
680
|
+
# Corresponds to the JSON property `conditionMatchedLog`
|
681
|
+
# @return [Google::Apis::MonitoringV3::LogMatch]
|
682
|
+
attr_accessor :condition_matched_log
|
683
|
+
|
649
684
|
# A condition type that allows alert policies to be defined using Monitoring
|
650
685
|
# Query Language (https://cloud.google.com/monitoring/mql).
|
651
686
|
# Corresponds to the JSON property `conditionMonitoringQueryLanguage`
|
@@ -689,6 +724,7 @@ module Google
|
|
689
724
|
# Update properties of this object
|
690
725
|
def update!(**args)
|
691
726
|
@condition_absent = args[:condition_absent] if args.key?(:condition_absent)
|
727
|
+
@condition_matched_log = args[:condition_matched_log] if args.key?(:condition_matched_log)
|
692
728
|
@condition_monitoring_query_language = args[:condition_monitoring_query_language] if args.key?(:condition_monitoring_query_language)
|
693
729
|
@condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
|
694
730
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -959,8 +995,8 @@ module Google
|
|
959
995
|
# A DistributionCut defines a TimeSeries and thresholds used for measuring good
|
960
996
|
# service and total service. The TimeSeries must have ValueType = DISTRIBUTION
|
961
997
|
# and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service
|
962
|
-
# will be the count of values
|
963
|
-
#
|
998
|
+
# will be the estimated count of values in the Distribution that fall within the
|
999
|
+
# specified min and max.
|
964
1000
|
class DistributionCut
|
965
1001
|
include Google::Apis::Core::Hashable
|
966
1002
|
|
@@ -971,9 +1007,9 @@ module Google
|
|
971
1007
|
# @return [String]
|
972
1008
|
attr_accessor :distribution_filter
|
973
1009
|
|
974
|
-
# Range of numerical values
|
975
|
-
#
|
976
|
-
#
|
1010
|
+
# Range of numerical values within min and max. If the open range "< range.max"
|
1011
|
+
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
1012
|
+
# desired, set range.max = infinity.
|
977
1013
|
# Corresponds to the JSON property `range`
|
978
1014
|
# @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]
|
979
1015
|
attr_accessor :range
|
@@ -1329,9 +1365,9 @@ module Google
|
|
1329
1365
|
end
|
1330
1366
|
end
|
1331
1367
|
|
1332
|
-
# Range of numerical values
|
1333
|
-
#
|
1334
|
-
#
|
1368
|
+
# Range of numerical values within min and max. If the open range "< range.max"
|
1369
|
+
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
1370
|
+
# desired, set range.max = infinity.
|
1335
1371
|
class GoogleMonitoringV3Range
|
1336
1372
|
include Google::Apis::Core::Hashable
|
1337
1373
|
|
@@ -2127,6 +2163,40 @@ module Google
|
|
2127
2163
|
end
|
2128
2164
|
end
|
2129
2165
|
|
2166
|
+
# A condition type that checks whether a log message in the scoping project (
|
2167
|
+
# https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given
|
2168
|
+
# filter. Logs from other projects in the metrics scope are not evaluated.
|
2169
|
+
class LogMatch
|
2170
|
+
include Google::Apis::Core::Hashable
|
2171
|
+
|
2172
|
+
# Required. A logs-based filter. See Advanced Logs Queries for how this filter
|
2173
|
+
# should be constructed.
|
2174
|
+
# Corresponds to the JSON property `filter`
|
2175
|
+
# @return [String]
|
2176
|
+
attr_accessor :filter
|
2177
|
+
|
2178
|
+
# Optional. A map from a label key to an extractor expression, which is used to
|
2179
|
+
# extract the value for this label key. Each entry in this map is a
|
2180
|
+
# specification for how data should be extracted from log entries that match
|
2181
|
+
# filter. Each combination of extracted values is treated as a separate rule for
|
2182
|
+
# the purposes of triggering notifications. Label keys and corresponding values
|
2183
|
+
# can be used in notifications generated by this condition.Please see the
|
2184
|
+
# documentation on logs-based metric valueExtractors for syntax and examples.
|
2185
|
+
# Corresponds to the JSON property `labelExtractors`
|
2186
|
+
# @return [Hash<String,String>]
|
2187
|
+
attr_accessor :label_extractors
|
2188
|
+
|
2189
|
+
def initialize(**args)
|
2190
|
+
update!(**args)
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# Update properties of this object
|
2194
|
+
def update!(**args)
|
2195
|
+
@filter = args[:filter] if args.key?(:filter)
|
2196
|
+
@label_extractors = args[:label_extractors] if args.key?(:label_extractors)
|
2197
|
+
end
|
2198
|
+
end
|
2199
|
+
|
2130
2200
|
# Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
|
2131
2201
|
# will have their services ingested as this type.
|
2132
2202
|
class MeshIstio
|
@@ -2426,14 +2496,14 @@ module Google
|
|
2426
2496
|
end
|
2427
2497
|
|
2428
2498
|
# A MetricRange is used when each window is good when the value x of a single
|
2429
|
-
# TimeSeries satisfies range.min <= x
|
2499
|
+
# TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must
|
2430
2500
|
# have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.
|
2431
2501
|
class MetricRange
|
2432
2502
|
include Google::Apis::Core::Hashable
|
2433
2503
|
|
2434
|
-
# Range of numerical values
|
2435
|
-
#
|
2436
|
-
#
|
2504
|
+
# Range of numerical values within min and max. If the open range "< range.max"
|
2505
|
+
# is desired, set range.min = -infinity. If the open range ">= range.min" is
|
2506
|
+
# desired, set range.max = infinity.
|
2437
2507
|
# Corresponds to the JSON property `range`
|
2438
2508
|
# @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]
|
2439
2509
|
attr_accessor :range
|
@@ -2578,7 +2648,8 @@ module Google
|
|
2578
2648
|
# Required. The monitored resource type. This field must match the type field of
|
2579
2649
|
# a MonitoredResourceDescriptor object. For example, the type of a Compute
|
2580
2650
|
# Engine VM instance is gce_instance. For a list of types, see Monitoring
|
2581
|
-
# resource types and Logging
|
2651
|
+
# resource types (https://cloud.google.com/monitoring/api/resources) and Logging
|
2652
|
+
# resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
|
2582
2653
|
# Corresponds to the JSON property `type`
|
2583
2654
|
# @return [String]
|
2584
2655
|
attr_accessor :type
|
@@ -2929,6 +3000,26 @@ module Google
|
|
2929
3000
|
end
|
2930
3001
|
end
|
2931
3002
|
|
3003
|
+
# Control over the rate of notifications sent to this alert policy's
|
3004
|
+
# notification channels.
|
3005
|
+
class NotificationRateLimit
|
3006
|
+
include Google::Apis::Core::Hashable
|
3007
|
+
|
3008
|
+
# Not more than one notification per period.
|
3009
|
+
# Corresponds to the JSON property `period`
|
3010
|
+
# @return [String]
|
3011
|
+
attr_accessor :period
|
3012
|
+
|
3013
|
+
def initialize(**args)
|
3014
|
+
update!(**args)
|
3015
|
+
end
|
3016
|
+
|
3017
|
+
# Update properties of this object
|
3018
|
+
def update!(**args)
|
3019
|
+
@period = args[:period] if args.key?(:period)
|
3020
|
+
end
|
3021
|
+
end
|
3022
|
+
|
2932
3023
|
# Contains metadata for longrunning operation for the edit Metrics Scope
|
2933
3024
|
# endpoints.
|
2934
3025
|
class OperationMetadata
|
@@ -3036,28 +3127,30 @@ module Google
|
|
3036
3127
|
|
3037
3128
|
# A closed time interval. It extends from the start time to the end time, and
|
3038
3129
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
3039
|
-
# MetricKind
|
3040
|
-
#
|
3041
|
-
#
|
3042
|
-
#
|
3043
|
-
#
|
3044
|
-
#
|
3045
|
-
#
|
3046
|
-
#
|
3130
|
+
# MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
|
3131
|
+
# metricDescriptors#MetricKind) of the metric value. The end time must not be
|
3132
|
+
# earlier than the start time. When writing data points, the start time must not
|
3133
|
+
# be more than 25 hours in the past and the end time must not be more than five
|
3134
|
+
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3135
|
+
# optional; if no value is specified, the start time defaults to the value of
|
3136
|
+
# the end time, and the interval represents a single point in time. If both
|
3137
|
+
# start and end times are specified, they must be identical. Such an interval is
|
3138
|
+
# valid only for GAUGE metrics, which are point-in-time measurements. The end
|
3139
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3140
|
+
# the previous interval. For DELTA metrics, the start time and end time must
|
3141
|
+
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3142
|
+
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3047
3143
|
# interval must be at least a millisecond after the end time of the previous
|
3048
|
-
# interval. For
|
3049
|
-
# zero interval, with subsequent points specifying
|
3050
|
-
#
|
3051
|
-
#
|
3052
|
-
#
|
3053
|
-
# interval
|
3054
|
-
#
|
3055
|
-
#
|
3056
|
-
#
|
3057
|
-
#
|
3058
|
-
# interval because intervals are closed. If the start time of a new interval is
|
3059
|
-
# the same as the end time of the previous interval, then data written at the
|
3060
|
-
# new start time could overwrite data written at the previous end time.
|
3144
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a a
|
3145
|
+
# non-zero interval, with subsequent points specifying the same start time and
|
3146
|
+
# increasing end times, until an event resets the cumulative value to zero and
|
3147
|
+
# sets a new start time for the following points. The new start time must be at
|
3148
|
+
# least a millisecond after the end time of the previous interval. The start
|
3149
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3150
|
+
# the previous interval because intervals are closed. If the start time of a new
|
3151
|
+
# interval is the same as the end time of the previous interval, then data
|
3152
|
+
# written at the new start time could overwrite data written at the previous end
|
3153
|
+
# time.
|
3061
3154
|
# Corresponds to the JSON property `interval`
|
3062
3155
|
# @return [Google::Apis::MonitoringV3::TimeInterval]
|
3063
3156
|
attr_accessor :interval
|
@@ -3086,28 +3179,30 @@ module Google
|
|
3086
3179
|
|
3087
3180
|
# A closed time interval. It extends from the start time to the end time, and
|
3088
3181
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
3089
|
-
# MetricKind
|
3090
|
-
#
|
3091
|
-
#
|
3092
|
-
#
|
3093
|
-
#
|
3094
|
-
#
|
3095
|
-
#
|
3096
|
-
#
|
3182
|
+
# MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
|
3183
|
+
# metricDescriptors#MetricKind) of the metric value. The end time must not be
|
3184
|
+
# earlier than the start time. When writing data points, the start time must not
|
3185
|
+
# be more than 25 hours in the past and the end time must not be more than five
|
3186
|
+
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3187
|
+
# optional; if no value is specified, the start time defaults to the value of
|
3188
|
+
# the end time, and the interval represents a single point in time. If both
|
3189
|
+
# start and end times are specified, they must be identical. Such an interval is
|
3190
|
+
# valid only for GAUGE metrics, which are point-in-time measurements. The end
|
3191
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3192
|
+
# the previous interval. For DELTA metrics, the start time and end time must
|
3193
|
+
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3194
|
+
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3097
3195
|
# interval must be at least a millisecond after the end time of the previous
|
3098
|
-
# interval. For
|
3099
|
-
# zero interval, with subsequent points specifying
|
3100
|
-
#
|
3101
|
-
#
|
3102
|
-
#
|
3103
|
-
# interval
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
#
|
3107
|
-
#
|
3108
|
-
# interval because intervals are closed. If the start time of a new interval is
|
3109
|
-
# the same as the end time of the previous interval, then data written at the
|
3110
|
-
# new start time could overwrite data written at the previous end time.
|
3196
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a a
|
3197
|
+
# non-zero interval, with subsequent points specifying the same start time and
|
3198
|
+
# increasing end times, until an event resets the cumulative value to zero and
|
3199
|
+
# sets a new start time for the following points. The new start time must be at
|
3200
|
+
# least a millisecond after the end time of the previous interval. The start
|
3201
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3202
|
+
# the previous interval because intervals are closed. If the start time of a new
|
3203
|
+
# interval is the same as the end time of the previous interval, then data
|
3204
|
+
# written at the new start time could overwrite data written at the previous end
|
3205
|
+
# time.
|
3111
3206
|
# Corresponds to the JSON property `timeInterval`
|
3112
3207
|
# @return [Google::Apis::MonitoringV3::TimeInterval]
|
3113
3208
|
attr_accessor :time_interval
|
@@ -3235,8 +3330,8 @@ module Google
|
|
3235
3330
|
# A DistributionCut defines a TimeSeries and thresholds used for measuring good
|
3236
3331
|
# service and total service. The TimeSeries must have ValueType = DISTRIBUTION
|
3237
3332
|
# and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service
|
3238
|
-
# will be the count of values
|
3239
|
-
#
|
3333
|
+
# will be the estimated count of values in the Distribution that fall within the
|
3334
|
+
# specified min and max.
|
3240
3335
|
# Corresponds to the JSON property `distributionCut`
|
3241
3336
|
# @return [Google::Apis::MonitoringV3::DistributionCut]
|
3242
3337
|
attr_accessor :distribution_cut
|
@@ -3360,6 +3455,16 @@ module Google
|
|
3360
3455
|
# @return [Google::Apis::MonitoringV3::Telemetry]
|
3361
3456
|
attr_accessor :telemetry
|
3362
3457
|
|
3458
|
+
# Labels which have been used to annotate the service. Label keys must start
|
3459
|
+
# with a letter. Label keys and values may contain lowercase letters, numbers,
|
3460
|
+
# underscores, and dashes. Label keys and values have a maximum length of 63
|
3461
|
+
# characters, and must be less than 128 bytes in size. Up to 64 label entries
|
3462
|
+
# may be stored. For labels which do not have a semantic value, the empty string
|
3463
|
+
# may be supplied for the label value.
|
3464
|
+
# Corresponds to the JSON property `userLabels`
|
3465
|
+
# @return [Hash<String,String>]
|
3466
|
+
attr_accessor :user_labels
|
3467
|
+
|
3363
3468
|
def initialize(**args)
|
3364
3469
|
update!(**args)
|
3365
3470
|
end
|
@@ -3375,6 +3480,7 @@ module Google
|
|
3375
3480
|
@mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
|
3376
3481
|
@name = args[:name] if args.key?(:name)
|
3377
3482
|
@telemetry = args[:telemetry] if args.key?(:telemetry)
|
3483
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
3378
3484
|
end
|
3379
3485
|
end
|
3380
3486
|
|
@@ -3635,28 +3741,30 @@ module Google
|
|
3635
3741
|
|
3636
3742
|
# A closed time interval. It extends from the start time to the end time, and
|
3637
3743
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
3638
|
-
# MetricKind
|
3639
|
-
#
|
3640
|
-
#
|
3641
|
-
#
|
3642
|
-
#
|
3643
|
-
#
|
3644
|
-
#
|
3645
|
-
#
|
3744
|
+
# MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
|
3745
|
+
# metricDescriptors#MetricKind) of the metric value. The end time must not be
|
3746
|
+
# earlier than the start time. When writing data points, the start time must not
|
3747
|
+
# be more than 25 hours in the past and the end time must not be more than five
|
3748
|
+
# minutes in the future. For GAUGE metrics, the startTime value is technically
|
3749
|
+
# optional; if no value is specified, the start time defaults to the value of
|
3750
|
+
# the end time, and the interval represents a single point in time. If both
|
3751
|
+
# start and end times are specified, they must be identical. Such an interval is
|
3752
|
+
# valid only for GAUGE metrics, which are point-in-time measurements. The end
|
3753
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3754
|
+
# the previous interval. For DELTA metrics, the start time and end time must
|
3755
|
+
# specify a non-zero interval, with subsequent points specifying contiguous and
|
3756
|
+
# non-overlapping intervals. For DELTA metrics, the start time of the next
|
3646
3757
|
# interval must be at least a millisecond after the end time of the previous
|
3647
|
-
# interval. For
|
3648
|
-
# zero interval, with subsequent points specifying
|
3649
|
-
#
|
3650
|
-
#
|
3651
|
-
#
|
3652
|
-
# interval
|
3653
|
-
#
|
3654
|
-
#
|
3655
|
-
#
|
3656
|
-
#
|
3657
|
-
# interval because intervals are closed. If the start time of a new interval is
|
3658
|
-
# the same as the end time of the previous interval, then data written at the
|
3659
|
-
# new start time could overwrite data written at the previous end time.
|
3758
|
+
# interval. For CUMULATIVE metrics, the start time and end time must specify a a
|
3759
|
+
# non-zero interval, with subsequent points specifying the same start time and
|
3760
|
+
# increasing end times, until an event resets the cumulative value to zero and
|
3761
|
+
# sets a new start time for the following points. The new start time must be at
|
3762
|
+
# least a millisecond after the end time of the previous interval. The start
|
3763
|
+
# time of a new interval must be at least a millisecond after the end time of
|
3764
|
+
# the previous interval because intervals are closed. If the start time of a new
|
3765
|
+
# interval is the same as the end time of the previous interval, then data
|
3766
|
+
# written at the new start time could overwrite data written at the previous end
|
3767
|
+
# time.
|
3660
3768
|
class TimeInterval
|
3661
3769
|
include Google::Apis::Core::Hashable
|
3662
3770
|
|
@@ -4243,14 +4351,14 @@ module Google
|
|
4243
4351
|
attr_accessor :good_total_ratio_threshold
|
4244
4352
|
|
4245
4353
|
# A MetricRange is used when each window is good when the value x of a single
|
4246
|
-
# TimeSeries satisfies range.min <= x
|
4354
|
+
# TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must
|
4247
4355
|
# have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.
|
4248
4356
|
# Corresponds to the JSON property `metricMeanInRange`
|
4249
4357
|
# @return [Google::Apis::MonitoringV3::MetricRange]
|
4250
4358
|
attr_accessor :metric_mean_in_range
|
4251
4359
|
|
4252
4360
|
# A MetricRange is used when each window is good when the value x of a single
|
4253
|
-
# TimeSeries satisfies range.min <= x
|
4361
|
+
# TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must
|
4254
4362
|
# have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.
|
4255
4363
|
# Corresponds to the JSON property `metricSumInRange`
|
4256
4364
|
# @return [Google::Apis::MonitoringV3::MetricRange]
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210720"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AlertStrategy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AppEngine
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -340,6 +346,12 @@ module Google
|
|
340
346
|
include Google::Apis::Core::JsonObjectSupport
|
341
347
|
end
|
342
348
|
|
349
|
+
class LogMatch
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
343
355
|
class MeshIstio
|
344
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
357
|
|
@@ -424,6 +436,12 @@ module Google
|
|
424
436
|
include Google::Apis::Core::JsonObjectSupport
|
425
437
|
end
|
426
438
|
|
439
|
+
class NotificationRateLimit
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
427
445
|
class OperationMetadata
|
428
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
447
|
|
@@ -629,6 +647,8 @@ module Google
|
|
629
647
|
class AlertPolicy
|
630
648
|
# @private
|
631
649
|
class Representation < Google::Apis::Core::JsonRepresentation
|
650
|
+
property :alert_strategy, as: 'alertStrategy', class: Google::Apis::MonitoringV3::AlertStrategy, decorator: Google::Apis::MonitoringV3::AlertStrategy::Representation
|
651
|
+
|
632
652
|
property :combiner, as: 'combiner'
|
633
653
|
collection :conditions, as: 'conditions', class: Google::Apis::MonitoringV3::Condition, decorator: Google::Apis::MonitoringV3::Condition::Representation
|
634
654
|
|
@@ -648,6 +668,14 @@ module Google
|
|
648
668
|
end
|
649
669
|
end
|
650
670
|
|
671
|
+
class AlertStrategy
|
672
|
+
# @private
|
673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
674
|
+
property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
|
675
|
+
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
651
679
|
class AppEngine
|
652
680
|
# @private
|
653
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -762,6 +790,8 @@ module Google
|
|
762
790
|
class Representation < Google::Apis::Core::JsonRepresentation
|
763
791
|
property :condition_absent, as: 'conditionAbsent', class: Google::Apis::MonitoringV3::MetricAbsence, decorator: Google::Apis::MonitoringV3::MetricAbsence::Representation
|
764
792
|
|
793
|
+
property :condition_matched_log, as: 'conditionMatchedLog', class: Google::Apis::MonitoringV3::LogMatch, decorator: Google::Apis::MonitoringV3::LogMatch::Representation
|
794
|
+
|
765
795
|
property :condition_monitoring_query_language, as: 'conditionMonitoringQueryLanguage', class: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition::Representation
|
766
796
|
|
767
797
|
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
@@ -1142,6 +1172,14 @@ module Google
|
|
1142
1172
|
end
|
1143
1173
|
end
|
1144
1174
|
|
1175
|
+
class LogMatch
|
1176
|
+
# @private
|
1177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1178
|
+
property :filter, as: 'filter'
|
1179
|
+
hash :label_extractors, as: 'labelExtractors'
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1145
1183
|
class MeshIstio
|
1146
1184
|
# @private
|
1147
1185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1303,6 +1341,13 @@ module Google
|
|
1303
1341
|
end
|
1304
1342
|
end
|
1305
1343
|
|
1344
|
+
class NotificationRateLimit
|
1345
|
+
# @private
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1347
|
+
property :period, as: 'period'
|
1348
|
+
end
|
1349
|
+
end
|
1350
|
+
|
1306
1351
|
class OperationMetadata
|
1307
1352
|
# @private
|
1308
1353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1424,6 +1469,7 @@ module Google
|
|
1424
1469
|
property :name, as: 'name'
|
1425
1470
|
property :telemetry, as: 'telemetry', class: Google::Apis::MonitoringV3::Telemetry, decorator: Google::Apis::MonitoringV3::Telemetry::Representation
|
1426
1471
|
|
1472
|
+
hash :user_labels, as: 'userLabels'
|
1427
1473
|
end
|
1428
1474
|
end
|
1429
1475
|
|
@@ -26,7 +26,8 @@ module Google
|
|
26
26
|
# associated with a Workspace, with a few exceptions as noted on the individual
|
27
27
|
# method pages. The table entries below are presented in alphabetical order, not
|
28
28
|
# in order of common use. For explanations of the concepts found in the table
|
29
|
-
# entries, read the Cloud Monitoring documentation.
|
29
|
+
# entries, read the Cloud Monitoring documentation (https://cloud.google.com/
|
30
|
+
# monitoring/docs).
|
30
31
|
#
|
31
32
|
# @example
|
32
33
|
# require 'google/apis/monitoring_v3'
|
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.13.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-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.13.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: []
|