google-cloud-monitoring-v3 0.4.2 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +157 -61
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +189 -68
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +360 -80
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +286 -87
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +60 -41
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +281 -84
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +182 -63
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +17 -2
- data/lib/google/monitoring/v3/alert_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/alert_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/common_pb.rb +2 -2
- data/lib/google/monitoring/v3/group_pb.rb +1 -1
- data/lib/google/monitoring/v3/group_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/group_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_pb.rb +2 -2
- data/lib/google/monitoring/v3/metric_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +13 -1
- data/lib/google/monitoring/v3/mutation_record_pb.rb +1 -1
- data/lib/google/monitoring/v3/notification_pb.rb +2 -2
- data/lib/google/monitoring/v3/notification_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/notification_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/query_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/query_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/service_pb.rb +5 -2
- data/lib/google/monitoring/v3/service_service_pb.rb +2 -2
- data/lib/google/monitoring/v3/service_service_services_pb.rb +1 -1
- data/lib/google/monitoring/v3/uptime_pb.rb +2 -2
- data/lib/google/monitoring/v3/uptime_service_pb.rb +3 -2
- data/lib/google/monitoring/v3/uptime_service_services_pb.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/monitoring/v3/alert.rb +68 -3
- data/proto_docs/google/monitoring/v3/alert_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/common.rb +17 -5
- data/proto_docs/google/monitoring/v3/group_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/metric.rb +3 -1
- data/proto_docs/google/monitoring/v3/metric_service.rb +13 -8
- data/proto_docs/google/monitoring/v3/notification_service.rb +8 -4
- data/proto_docs/google/monitoring/v3/service.rb +38 -6
- data/proto_docs/google/monitoring/v3/service_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/span_context.rb +2 -2
- data/proto_docs/google/monitoring/v3/uptime.rb +5 -2
- data/proto_docs/google/monitoring/v3/uptime_service.rb +4 -2
- metadata +5 -4
@@ -29,8 +29,10 @@ module Google
|
|
29
29
|
#
|
30
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
31
31
|
#
|
32
|
-
# Note that this
|
33
|
-
#
|
32
|
+
# Note that this
|
33
|
+
# [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
|
34
|
+
# container in which to look for the descriptors; to retrieve a single
|
35
|
+
# descriptor by name, use the
|
34
36
|
# {::Google::Cloud::Monitoring::V3::NotificationChannelService::Client#get_notification_channel_descriptor GetNotificationChannelDescriptor}
|
35
37
|
# operation, instead.
|
36
38
|
# @!attribute [rw] page_size
|
@@ -78,7 +80,8 @@ module Google
|
|
78
80
|
# The `CreateNotificationChannel` request.
|
79
81
|
# @!attribute [rw] name
|
80
82
|
# @return [::String]
|
81
|
-
# Required. The project on
|
83
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
84
|
+
# which to execute the request. The format is:
|
82
85
|
#
|
83
86
|
# projects/[PROJECT_ID_OR_NUMBER]
|
84
87
|
#
|
@@ -97,7 +100,8 @@ module Google
|
|
97
100
|
# The `ListNotificationChannels` request.
|
98
101
|
# @!attribute [rw] name
|
99
102
|
# @return [::String]
|
100
|
-
# Required. The project on
|
103
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
104
|
+
# which to execute the request. The format is:
|
101
105
|
#
|
102
106
|
# projects/[PROJECT_ID_OR_NUMBER]
|
103
107
|
#
|
@@ -57,6 +57,14 @@ module Google
|
|
57
57
|
# @!attribute [rw] telemetry
|
58
58
|
# @return [::Google::Cloud::Monitoring::V3::Service::Telemetry]
|
59
59
|
# Configuration for how to query telemetry on a Service.
|
60
|
+
# @!attribute [rw] user_labels
|
61
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
62
|
+
# Labels which have been used to annotate the service. Label keys must start
|
63
|
+
# with a letter. Label keys and values may contain lowercase letters,
|
64
|
+
# numbers, underscores, and dashes. Label keys and values have a maximum
|
65
|
+
# length of 63 characters, and must be less than 128 bytes in size. Up to 64
|
66
|
+
# label entries may be stored. For labels which do not have a semantic value,
|
67
|
+
# the empty string may be supplied for the label value.
|
60
68
|
class Service
|
61
69
|
include ::Google::Protobuf::MessageExts
|
62
70
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -168,6 +176,15 @@ module Google
|
|
168
176
|
include ::Google::Protobuf::MessageExts
|
169
177
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
178
|
end
|
179
|
+
|
180
|
+
# @!attribute [rw] key
|
181
|
+
# @return [::String]
|
182
|
+
# @!attribute [rw] value
|
183
|
+
# @return [::String]
|
184
|
+
class UserLabelsEntry
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
end
|
171
188
|
end
|
172
189
|
|
173
190
|
# A Service-Level Objective (SLO) describes a level of desired good service. It
|
@@ -202,10 +219,27 @@ module Google
|
|
202
219
|
# A calendar period, semantically "since the start of the current
|
203
220
|
# `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
|
204
221
|
# `MONTH` are supported.
|
222
|
+
# @!attribute [rw] user_labels
|
223
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
224
|
+
# Labels which have been used to annotate the service-level objective. Label
|
225
|
+
# keys must start with a letter. Label keys and values may contain lowercase
|
226
|
+
# letters, numbers, underscores, and dashes. Label keys and values have a
|
227
|
+
# maximum length of 63 characters, and must be less than 128 bytes in size.
|
228
|
+
# Up to 64 label entries may be stored. For labels which do not have a
|
229
|
+
# semantic value, the empty string may be supplied for the label value.
|
205
230
|
class ServiceLevelObjective
|
206
231
|
include ::Google::Protobuf::MessageExts
|
207
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
233
|
|
234
|
+
# @!attribute [rw] key
|
235
|
+
# @return [::String]
|
236
|
+
# @!attribute [rw] value
|
237
|
+
# @return [::String]
|
238
|
+
class UserLabelsEntry
|
239
|
+
include ::Google::Protobuf::MessageExts
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
|
+
end
|
242
|
+
|
209
243
|
# `ServiceLevelObjective.View` determines what form of
|
210
244
|
# `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
|
211
245
|
# `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
|
@@ -309,9 +343,7 @@ module Google
|
|
309
343
|
end
|
310
344
|
end
|
311
345
|
|
312
|
-
# Range of numerical values
|
313
|
-
# open range "< range.max" is desired, set `range.min = -infinity`. If the open
|
314
|
-
# range ">= range.min" is desired, set `range.max = infinity`.
|
346
|
+
# Range of numerical values within `min` and `max`.
|
315
347
|
# @!attribute [rw] min
|
316
348
|
# @return [::Float]
|
317
349
|
# Range minimum.
|
@@ -373,8 +405,8 @@ module Google
|
|
373
405
|
# A `DistributionCut` defines a `TimeSeries` and thresholds used for measuring
|
374
406
|
# good service and total service. The `TimeSeries` must have `ValueType =
|
375
407
|
# DISTRIBUTION` and `MetricKind = DELTA` or `MetricKind = CUMULATIVE`. The
|
376
|
-
# computed `good_service` will be the count of values
|
377
|
-
#
|
408
|
+
# computed `good_service` will be the estimated count of values in the
|
409
|
+
# `Distribution` that fall within the specified `min` and `max`.
|
378
410
|
# @!attribute [rw] distribution_filter
|
379
411
|
# @return [::String]
|
380
412
|
# A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
|
@@ -433,7 +465,7 @@ module Google
|
|
433
465
|
end
|
434
466
|
|
435
467
|
# A `MetricRange` is used when each window is good when the value x of a
|
436
|
-
# single `TimeSeries` satisfies `range.min <= x
|
468
|
+
# single `TimeSeries` satisfies `range.min <= x <= range.max`. The provided
|
437
469
|
# `TimeSeries` must have `ValueType = INT64` or `ValueType = DOUBLE` and
|
438
470
|
# `MetricKind = GAUGE`.
|
439
471
|
# @!attribute [rw] time_series
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# The `CreateService` request.
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. Resource name of
|
27
|
+
# Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
|
28
|
+
# the parent workspace. The format is:
|
28
29
|
#
|
29
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
30
31
|
# @!attribute [rw] service_id
|
@@ -54,7 +55,8 @@ module Google
|
|
54
55
|
# @!attribute [rw] parent
|
55
56
|
# @return [::String]
|
56
57
|
# Required. Resource name of the parent containing the listed services, either a
|
57
|
-
# project or a
|
58
|
+
# [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
|
59
|
+
# Monitoring Workspace. The formats are:
|
58
60
|
#
|
59
61
|
# projects/[PROJECT_ID_OR_NUMBER]
|
60
62
|
# workspaces/[HOST_PROJECT_ID_OR_NUMBER]
|
@@ -21,8 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Monitoring
|
23
23
|
module V3
|
24
|
-
# The context of a span
|
25
|
-
#
|
24
|
+
# The context of a span. This is attached to an
|
25
|
+
# {::Google::Api::Distribution::Exemplar Exemplar}
|
26
26
|
# in {::Google::Api::Distribution Distribution} values during aggregation.
|
27
27
|
#
|
28
28
|
# It contains the name of a span with format:
|
@@ -102,12 +102,13 @@ module Google
|
|
102
102
|
# The [monitored
|
103
103
|
# resource](https://cloud.google.com/monitoring/api/resources) associated
|
104
104
|
# with the configuration.
|
105
|
-
# The following monitored resource types are
|
105
|
+
# The following monitored resource types are valid for this field:
|
106
106
|
# `uptime_url`,
|
107
107
|
# `gce_instance`,
|
108
108
|
# `gae_app`,
|
109
109
|
# `aws_ec2_instance`,
|
110
110
|
# `aws_elb_load_balancer`
|
111
|
+
# `k8s_service`
|
111
112
|
# @!attribute [rw] resource_group
|
112
113
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ResourceGroup]
|
113
114
|
# The group resource associated with the configuration.
|
@@ -339,11 +340,13 @@ module Google
|
|
339
340
|
|
340
341
|
# Selects regular-expression matching. The match succeeds of the output
|
341
342
|
# matches the regular expression specified in the `content` string.
|
343
|
+
# Regex matching is only supported for HTTP/HTTPS checks.
|
342
344
|
MATCHES_REGEX = 3
|
343
345
|
|
344
346
|
# Selects negation of regular-expression matching. The match succeeds if
|
345
347
|
# the output does _NOT_ match the regular expression specified in the
|
346
|
-
# `content` string.
|
348
|
+
# `content` string. Regex matching is only supported for HTTP/HTTPS
|
349
|
+
# checks.
|
347
350
|
NOT_MATCHES_REGEX = 4
|
348
351
|
end
|
349
352
|
end
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# The protocol for the `ListUptimeCheckConfigs` request.
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The project
|
27
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
|
28
|
+
# whose Uptime check configurations are listed. The format is:
|
28
29
|
#
|
29
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
30
31
|
# @!attribute [rw] page_size
|
@@ -77,7 +78,8 @@ module Google
|
|
77
78
|
# The protocol for the `CreateUptimeCheckConfig` request.
|
78
79
|
# @!attribute [rw] parent
|
79
80
|
# @return [::String]
|
80
|
-
# Required. The project in
|
81
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
|
82
|
+
# which to create the Uptime check. The format is:
|
81
83
|
#
|
82
84
|
# projects/[PROJECT_ID_OR_NUMBER]
|
83
85
|
# @!attribute [rw] uptime_check_config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
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-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -232,6 +232,7 @@ files:
|
|
232
232
|
- proto_docs/google/api/metric.rb
|
233
233
|
- proto_docs/google/api/monitored_resource.rb
|
234
234
|
- proto_docs/google/api/resource.rb
|
235
|
+
- proto_docs/google/longrunning/operations.rb
|
235
236
|
- proto_docs/google/monitoring/v3/alert.rb
|
236
237
|
- proto_docs/google/monitoring/v3/alert_service.rb
|
237
238
|
- proto_docs/google/monitoring/v3/common.rb
|