google-cloud-monitoring 0.29.2 → 0.29.3
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.rb +1 -1
- data/lib/google/cloud/monitoring/v3.rb +1 -1
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client_config.json +5 -5
- data/lib/google/cloud/monitoring/v3/credentials.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb +86 -59
- data/lib/google/cloud/monitoring/v3/doc/google/api/label.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert_service.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +5 -5
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group_service.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb +1 -13
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/mutation_record.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification_service.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +48 -35
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime_service.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/any.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/field_mask.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/wrappers.rb +1 -65
- data/lib/google/cloud/monitoring/v3/doc/google/rpc/status.rb +1 -1
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/group_service_client_config.json +6 -6
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/metric_service_client_config.json +8 -8
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +2 -2
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json +7 -7
- data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +1 -1
- data/lib/google/monitoring/v3/alert_service_services_pb.rb +2 -1
- data/lib/google/monitoring/v3/group_service_services_pb.rb +2 -1
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +2 -1
- data/lib/google/monitoring/v3/notification_service_pb.rb +1 -0
- data/lib/google/monitoring/v3/notification_service_services_pb.rb +3 -2
- data/lib/google/monitoring/v3/uptime_pb.rb +5 -5
- data/lib/google/monitoring/v3/uptime_service_services_pb.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: b792e40ae869d39f4135020eb9c7bab809f82dfbc7428cb0053c745979d90bd5
|
4
|
+
data.tar.gz: 80c0233b94b4e28111e3ad543e01fc7efdfd5ff9955f30c19fe3e09821c0dff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99da32cacf20be0bef15fe42e761e49d1a19a8df6a566c6bbe698b808a3f845ddd898ad62217e867b3be7930ae1e1d6b13f79597442d9a519ac02158e187e562
|
7
|
+
data.tar.gz: 9d3d18c4b1a2173c3aeeafdf0cd77a5e5624b4eef9269c9d4c8d6a6a3f29b41dc5dd557f0bc64c25704ecec142256952d289ebd2f0f01463cacd58b7808adee6
|
@@ -21,27 +21,27 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListAlertPolicies": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 30000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetAlertPolicy": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 30000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"CreateAlertPolicy": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 30000,
|
35
35
|
"retry_codes_name": "non_idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"DeleteAlertPolicy": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 30000,
|
40
40
|
"retry_codes_name": "idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"UpdateAlertPolicy": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 30000,
|
45
45
|
"retry_codes_name": "non_idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -15,24 +15,25 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Api
|
18
|
-
# Distribution contains summary statistics for a population of values
|
19
|
-
# optionally
|
20
|
-
# a
|
18
|
+
# `Distribution` contains summary statistics for a population of values. It
|
19
|
+
# optionally contains a histogram representing the distribution of those values
|
20
|
+
# across a set of buckets.
|
21
21
|
#
|
22
22
|
# The summary statistics are the count, mean, sum of the squared deviation from
|
23
23
|
# the mean, the minimum, and the maximum of the set of population of values.
|
24
|
-
#
|
25
24
|
# The histogram is based on a sequence of buckets and gives a count of values
|
26
|
-
# that fall into each bucket.
|
27
|
-
# explicitly or by
|
28
|
-
#
|
25
|
+
# that fall into each bucket. The boundaries of the buckets are given either
|
26
|
+
# explicitly or by formulas for buckets of fixed or exponentially increasing
|
27
|
+
# widths.
|
29
28
|
#
|
30
29
|
# Although it is not forbidden, it is generally a bad idea to include
|
31
30
|
# non-finite values (infinities or NaNs) in the population of values, as this
|
32
31
|
# will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
33
32
|
# @!attribute [rw] count
|
34
33
|
# @return [Integer]
|
35
|
-
# The number of values in the population. Must be non-negative.
|
34
|
+
# The number of values in the population. Must be non-negative. This value
|
35
|
+
# must equal the sum of the values in `bucket_counts` if a histogram is
|
36
|
+
# provided.
|
36
37
|
# @!attribute [rw] mean
|
37
38
|
# @return [Float]
|
38
39
|
# The arithmetic mean of the values in the population. If `count` is zero
|
@@ -40,7 +41,7 @@ module Google
|
|
40
41
|
# @!attribute [rw] sum_of_squared_deviation
|
41
42
|
# @return [Float]
|
42
43
|
# The sum of squared deviations from the mean of the values in the
|
43
|
-
# population.
|
44
|
+
# population. For values x_i this is:
|
44
45
|
#
|
45
46
|
# Sum[i=1..n](https://cloud.google.com(x_i - mean)^2)
|
46
47
|
#
|
@@ -54,21 +55,28 @@ module Google
|
|
54
55
|
# must not be present if the `count` is zero.
|
55
56
|
# @!attribute [rw] bucket_options
|
56
57
|
# @return [Google::Api::Distribution::BucketOptions]
|
57
|
-
# Defines the histogram bucket boundaries.
|
58
|
+
# Defines the histogram bucket boundaries. If the distribution does not
|
59
|
+
# contain a histogram, then omit this field.
|
58
60
|
# @!attribute [rw] bucket_counts
|
59
61
|
# @return [Array<Integer>]
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# above (the underflow bucket has number 0; the finite buckets, if any,
|
66
|
-
# have numbers 1 through N-2; the overflow bucket has number N-1).
|
62
|
+
# The number of values in each bucket of the histogram, as described in
|
63
|
+
# `bucket_options`. If the distribution does not have a histogram, then omit
|
64
|
+
# this field. If there is a histogram, then the sum of the values in
|
65
|
+
# `bucket_counts` must equal the value in the `count` field of the
|
66
|
+
# distribution.
|
67
67
|
#
|
68
|
-
#
|
69
|
-
# `bucket_options`.
|
68
|
+
# If present, `bucket_counts` should contain N values, where N is the number
|
69
|
+
# of buckets specified in `bucket_options`. If you supply fewer than N
|
70
|
+
# values, the remaining values are assumed to be 0.
|
70
71
|
#
|
71
|
-
#
|
72
|
+
# The order of the values in `bucket_counts` follows the bucket numbering
|
73
|
+
# schemes described for the three bucket types. The first value must be the
|
74
|
+
# count for the underflow bucket (number 0). The next N-2 values are the
|
75
|
+
# counts for the finite buckets (number 1 through N-2). The N'th value in
|
76
|
+
# `bucket_counts` is the count for the overflow bucket (number N-1).
|
77
|
+
# @!attribute [rw] exemplars
|
78
|
+
# @return [Array<Google::Api::Distribution::Exemplar>]
|
79
|
+
# Must be in increasing order of `value` field.
|
72
80
|
class Distribution
|
73
81
|
# The range of the population values.
|
74
82
|
# @!attribute [rw] min
|
@@ -79,29 +87,21 @@ module Google
|
|
79
87
|
# The maximum of the population values.
|
80
88
|
class Range; end
|
81
89
|
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# of
|
86
|
-
#
|
87
|
-
# A bucket specifies an inclusive lower bound and exclusive upper bound for
|
88
|
-
# the values that are counted for that bucket. The upper bound of a bucket
|
89
|
-
# is strictly greater than the lower bound.
|
90
|
+
# `BucketOptions` describes the bucket boundaries used to create a histogram
|
91
|
+
# for the distribution. The buckets can be in a linear sequence, an
|
92
|
+
# exponential sequence, or each bucket can be specified explicitly.
|
93
|
+
# `BucketOptions` does not include the number of values in each bucket.
|
90
94
|
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
# finite
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# describe the boundaries by giving parameters for a formula to generate
|
102
|
-
# boundaries and one gives the bucket boundaries explicitly.
|
103
|
-
#
|
104
|
-
# If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
|
95
|
+
# A bucket has an inclusive lower bound and exclusive upper bound for the
|
96
|
+
# values that are counted for that bucket. The upper bound of a bucket must
|
97
|
+
# be strictly greater than the lower bound. The sequence of N buckets for a
|
98
|
+
# distribution consists of an underflow bucket (number 0), zero or more
|
99
|
+
# finite buckets (number 1 through N - 2) and an overflow bucket (number N -
|
100
|
+
# 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
|
101
|
+
# same as the upper bound of bucket i - 1. The buckets span the whole range
|
102
|
+
# of finite values: lower bound of the underflow bucket is -infinity and the
|
103
|
+
# upper bound of the overflow bucket is +infinity. The finite buckets are
|
104
|
+
# so-called because both bounds are finite.
|
105
105
|
# @!attribute [rw] linear_buckets
|
106
106
|
# @return [Google::Api::Distribution::BucketOptions::Linear]
|
107
107
|
# The linear bucket.
|
@@ -112,12 +112,12 @@ module Google
|
|
112
112
|
# @return [Google::Api::Distribution::BucketOptions::Explicit]
|
113
113
|
# The explicit buckets.
|
114
114
|
class BucketOptions
|
115
|
-
#
|
116
|
-
# overflow and underflow).
|
117
|
-
# uncertainty on the specific value in the bucket.
|
115
|
+
# Specifies a linear sequence of buckets that all have the same width
|
116
|
+
# (except overflow and underflow). Each bucket represents a constant
|
117
|
+
# absolute uncertainty on the specific value in the bucket.
|
118
118
|
#
|
119
|
-
#
|
120
|
-
#
|
119
|
+
# There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
120
|
+
# following boundaries:
|
121
121
|
#
|
122
122
|
# Upper bound (0 <= i < N-1): offset + (width * i).
|
123
123
|
# Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
@@ -132,12 +132,12 @@ module Google
|
|
132
132
|
# Lower bound of the first bucket.
|
133
133
|
class Linear; end
|
134
134
|
|
135
|
-
#
|
136
|
-
# the value of the lower bound.
|
137
|
-
# uncertainty on a specific value in the bucket.
|
135
|
+
# Specifies an exponential sequence of buckets that have a width that is
|
136
|
+
# proportional to the value of the lower bound. Each bucket represents a
|
137
|
+
# constant relative uncertainty on a specific value in the bucket.
|
138
138
|
#
|
139
|
-
#
|
140
|
-
#
|
139
|
+
# There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
140
|
+
# following boundaries:
|
141
141
|
#
|
142
142
|
# Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
143
143
|
# Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
@@ -152,22 +152,49 @@ module Google
|
|
152
152
|
# Must be greater than 0.
|
153
153
|
class Exponential; end
|
154
154
|
|
155
|
-
#
|
155
|
+
# Specifies a set of buckets with arbitrary widths.
|
156
156
|
#
|
157
|
-
#
|
158
|
-
#
|
157
|
+
# There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
|
158
|
+
# boundaries:
|
159
159
|
#
|
160
160
|
# Upper bound (0 <= i < N-1): bounds[i]
|
161
161
|
# Lower bound (1 <= i < N); bounds[i - 1]
|
162
162
|
#
|
163
|
-
#
|
164
|
-
# element, there are no finite buckets, and that single
|
165
|
-
# common boundary of the overflow and underflow buckets.
|
163
|
+
# The `bounds` field must contain at least one element. If `bounds` has
|
164
|
+
# only one element, then there are no finite buckets, and that single
|
165
|
+
# element is the common boundary of the overflow and underflow buckets.
|
166
166
|
# @!attribute [rw] bounds
|
167
167
|
# @return [Array<Float>]
|
168
168
|
# The values must be monotonically increasing.
|
169
169
|
class Explicit; end
|
170
170
|
end
|
171
|
+
|
172
|
+
# Exemplars are example points that may be used to annotate aggregated
|
173
|
+
# distribution values. They are metadata that gives information about a
|
174
|
+
# particular value added to a Distribution bucket, such as a trace ID that
|
175
|
+
# was active when a value was added. They may contain further information,
|
176
|
+
# such as a example values and timestamps, origin, etc.
|
177
|
+
# @!attribute [rw] value
|
178
|
+
# @return [Float]
|
179
|
+
# Value of the exemplar point. This value determines to which bucket the
|
180
|
+
# exemplar belongs.
|
181
|
+
# @!attribute [rw] timestamp
|
182
|
+
# @return [Google::Protobuf::Timestamp]
|
183
|
+
# The observation (sampling) time of the above value.
|
184
|
+
# @!attribute [rw] attachments
|
185
|
+
# @return [Array<Google::Protobuf::Any>]
|
186
|
+
# Contextual information about the example value. Examples are:
|
187
|
+
#
|
188
|
+
# Trace ID: type.googleapis.com/google.devtools.cloudtrace.v1.Trace
|
189
|
+
#
|
190
|
+
# Literal string: type.googleapis.com/google.protobuf.StringValue
|
191
|
+
#
|
192
|
+
# Labels dropped during aggregation:
|
193
|
+
# type.googleapis.com/google.monitoring.v3.DroppedLabels
|
194
|
+
#
|
195
|
+
# There may be only a single attachment of any given message type in a
|
196
|
+
# single exemplar, and this is enforced by the system.
|
197
|
+
class Exemplar; end
|
171
198
|
end
|
172
199
|
end
|
173
200
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -375,8 +375,8 @@ module Google
|
|
375
375
|
COMPARISON_NE = 6
|
376
376
|
end
|
377
377
|
|
378
|
-
# The tier of service for a
|
379
|
-
# [service tiers documentation](https://cloud.google.com/monitoring/
|
378
|
+
# The tier of service for a Workspace. Please see the
|
379
|
+
# [service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers)
|
380
380
|
# for more details.
|
381
381
|
module ServiceTier
|
382
382
|
# An invalid sentinel value, used to indicate that a tier has not
|
@@ -386,13 +386,13 @@ module Google
|
|
386
386
|
# The Stackdriver Basic tier, a free tier of service that provides basic
|
387
387
|
# features, a moderate allotment of logs, and access to built-in metrics.
|
388
388
|
# A number of features are not available in this tier. For more details,
|
389
|
-
# see [the service tiers documentation](https://cloud.google.com/monitoring/
|
389
|
+
# see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
390
390
|
SERVICE_TIER_BASIC = 1
|
391
391
|
|
392
392
|
# The Stackdriver Premium tier, a higher, more expensive tier of service
|
393
393
|
# that provides access to all Stackdriver features, lets you use Stackdriver
|
394
394
|
# with AWS accounts, and has a larger allotments for logs and metrics. For
|
395
|
-
# more details, see [the service tiers documentation](https://cloud.google.com/monitoring/
|
395
|
+
# more details, see [the service tiers documentation](https://cloud.google.com/monitoring/workspaces/tiers).
|
396
396
|
SERVICE_TIER_PREMIUM = 2
|
397
397
|
end
|
398
398
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -211,18 +211,6 @@ module Google
|
|
211
211
|
# `TimeSeries` value must fully specify a unique time series by supplying
|
212
212
|
# all label values for the metric and the monitored resource.
|
213
213
|
class CreateTimeSeriesRequest; end
|
214
|
-
|
215
|
-
# Describes the result of a failed request to write data to a time series.
|
216
|
-
# @!attribute [rw] time_series
|
217
|
-
# @return [Google::Monitoring::V3::TimeSeries]
|
218
|
-
# The time series, including the `Metric`, `MonitoredResource`,
|
219
|
-
# and `Point`s (including timestamp and value) that resulted
|
220
|
-
# in the error. This field provides all of the context that
|
221
|
-
# would be needed to retry the operation.
|
222
|
-
# @!attribute [rw] status
|
223
|
-
# @return [Google::Rpc::Status]
|
224
|
-
# The status of the requested write operation.
|
225
|
-
class CreateTimeSeriesError; end
|
226
214
|
end
|
227
215
|
end
|
228
216
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -16,24 +16,34 @@
|
|
16
16
|
module Google
|
17
17
|
module Monitoring
|
18
18
|
module V3
|
19
|
-
#
|
20
|
-
#
|
19
|
+
# An internal checker allows uptime checks to run on private/internal GCP
|
20
|
+
# resources.
|
21
|
+
# @!attribute [rw] name
|
22
|
+
# @return [String]
|
23
|
+
# A unique resource name for this InternalChecker. The format is:
|
24
|
+
#
|
25
|
+
#
|
26
|
+
# `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
|
27
|
+
#
|
28
|
+
# PROJECT_ID is the stackdriver workspace project for the
|
29
|
+
# uptime check config associated with the internal checker.
|
30
|
+
# @!attribute [rw] display_name
|
21
31
|
# @return [String]
|
22
|
-
# The
|
23
|
-
#
|
32
|
+
# The checker's human-readable name. The display name
|
33
|
+
# should be unique within a Stackdriver Workspace in order to make it easier
|
34
|
+
# to identify; however, uniqueness is not enforced.
|
24
35
|
# @!attribute [rw] network
|
25
36
|
# @return [String]
|
26
|
-
# The
|
37
|
+
# The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
|
38
|
+
# internal resource lives (ex: "default").
|
27
39
|
# @!attribute [rw] gcp_zone
|
28
40
|
# @return [String]
|
29
41
|
# The GCP zone the uptime check should egress from. Only respected for
|
30
42
|
# internal uptime checks, where internal_network is specified.
|
31
|
-
# @!attribute [rw]
|
43
|
+
# @!attribute [rw] peer_project_id
|
32
44
|
# @return [String]
|
33
|
-
# The checker
|
34
|
-
#
|
35
|
-
# @return [String]
|
36
|
-
# The checker's human-readable name.
|
45
|
+
# The GCP project_id where the internal checker lives. Not necessary
|
46
|
+
# the same as the workspace project.
|
37
47
|
class InternalChecker; end
|
38
48
|
|
39
49
|
# This message configures which resources and services to monitor for
|
@@ -51,7 +61,7 @@ module Google
|
|
51
61
|
# @!attribute [rw] display_name
|
52
62
|
# @return [String]
|
53
63
|
# A human-friendly name for the uptime check configuration. The display name
|
54
|
-
# should be unique within a Stackdriver
|
64
|
+
# should be unique within a Stackdriver Workspace in order to make it easier
|
55
65
|
# to identify; however, uniqueness is not enforced. Required.
|
56
66
|
# @!attribute [rw] monitored_resource
|
57
67
|
# @return [Google::Api::MonitoredResource]
|
@@ -93,17 +103,21 @@ module Google
|
|
93
103
|
# @!attribute [rw] selected_regions
|
94
104
|
# @return [Array<Google::Monitoring::V3::UptimeCheckRegion>]
|
95
105
|
# The list of regions from which the check will be run.
|
106
|
+
# Some regions contain one location, and others contain more than one.
|
96
107
|
# If this field is specified, enough regions to include a minimum of
|
97
108
|
# 3 locations must be provided, or an error message is returned.
|
98
109
|
# Not specifying this field will result in uptime checks running from all
|
99
110
|
# regions.
|
100
111
|
# @!attribute [rw] is_internal
|
101
112
|
# @return [true, false]
|
102
|
-
#
|
113
|
+
# If this is true, then checks are made only from the 'internal_checkers'.
|
114
|
+
# If it is false, then checks are made only from the 'selected_regions'.
|
115
|
+
# It is an error to provide 'selected_regions' when is_internal is true,
|
116
|
+
# or to provide 'internal_checkers' when is_internal is false.
|
103
117
|
# @!attribute [rw] internal_checkers
|
104
118
|
# @return [Array<Google::Monitoring::V3::InternalChecker>]
|
105
119
|
# The internal checkers that this check will egress from. If `is_internal` is
|
106
|
-
# true and this list is empty, the check will egress from all
|
120
|
+
# true and this list is empty, the check will egress from all the
|
107
121
|
# InternalCheckers configured for the project that owns this CheckConfig.
|
108
122
|
class UptimeCheckConfig
|
109
123
|
# The resource submessage for group checks. It can be used instead of a
|
@@ -174,12 +188,11 @@ module Google
|
|
174
188
|
# Required.
|
175
189
|
class TcpCheck; end
|
176
190
|
|
177
|
-
# Used to perform string matching.
|
178
|
-
#
|
179
|
-
# and more complex matching.
|
191
|
+
# Used to perform string matching. It allows substring and regular
|
192
|
+
# expressions, together with their negations.
|
180
193
|
# @!attribute [rw] content
|
181
194
|
# @return [String]
|
182
|
-
# String content to match (max 1024 bytes)
|
195
|
+
# String or regex content to match (max 1024 bytes)
|
183
196
|
class ContentMatcher; end
|
184
197
|
end
|
185
198
|
|
@@ -202,6 +215,23 @@ module Google
|
|
202
215
|
# interpreting this field in either IPv4 or IPv6 format.
|
203
216
|
class UptimeCheckIp; end
|
204
217
|
|
218
|
+
# The supported resource types that can be used as values of
|
219
|
+
# `group_resource.resource_type`.
|
220
|
+
# `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types.
|
221
|
+
# The resource types `gae_app` and `uptime_url` are not valid here because
|
222
|
+
# group checks on App Engine modules and URLs are not allowed.
|
223
|
+
module GroupResourceType
|
224
|
+
# Default value (not valid).
|
225
|
+
RESOURCE_TYPE_UNSPECIFIED = 0
|
226
|
+
|
227
|
+
# A group of instances from Google Cloud Platform (GCP) or
|
228
|
+
# Amazon Web Services (AWS).
|
229
|
+
INSTANCE = 1
|
230
|
+
|
231
|
+
# A group of Amazon ELB load balancers.
|
232
|
+
AWS_ELB_LOAD_BALANCER = 2
|
233
|
+
end
|
234
|
+
|
205
235
|
# The regions from which an uptime check can be run.
|
206
236
|
module UptimeCheckRegion
|
207
237
|
# Default value if no region is specified. Will result in uptime checks
|
@@ -222,23 +252,6 @@ module Google
|
|
222
252
|
# Singapore).
|
223
253
|
ASIA_PACIFIC = 4
|
224
254
|
end
|
225
|
-
|
226
|
-
# The supported resource types that can be used as values of
|
227
|
-
# `group_resource.resource_type`.
|
228
|
-
# `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types.
|
229
|
-
# The resource types `gae_app` and `uptime_url` are not valid here because
|
230
|
-
# group checks on App Engine modules and URLs are not allowed.
|
231
|
-
module GroupResourceType
|
232
|
-
# Default value (not valid).
|
233
|
-
RESOURCE_TYPE_UNSPECIFIED = 0
|
234
|
-
|
235
|
-
# A group of instances from Google Cloud Platform (GCP) or
|
236
|
-
# Amazon Web Services (AWS).
|
237
|
-
INSTANCE = 1
|
238
|
-
|
239
|
-
# A group of Amazon ELB load balancers.
|
240
|
-
AWS_ELB_LOAD_BALANCER = 2
|
241
|
-
end
|
242
255
|
end
|
243
256
|
end
|
244
257
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -15,54 +15,6 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Protobuf
|
18
|
-
# Wrapper message for `double`.
|
19
|
-
#
|
20
|
-
# The JSON representation for `DoubleValue` is JSON number.
|
21
|
-
# @!attribute [rw] value
|
22
|
-
# @return [Float]
|
23
|
-
# The double value.
|
24
|
-
class DoubleValue; end
|
25
|
-
|
26
|
-
# Wrapper message for `float`.
|
27
|
-
#
|
28
|
-
# The JSON representation for `FloatValue` is JSON number.
|
29
|
-
# @!attribute [rw] value
|
30
|
-
# @return [Float]
|
31
|
-
# The float value.
|
32
|
-
class FloatValue; end
|
33
|
-
|
34
|
-
# Wrapper message for `int64`.
|
35
|
-
#
|
36
|
-
# The JSON representation for `Int64Value` is JSON string.
|
37
|
-
# @!attribute [rw] value
|
38
|
-
# @return [Integer]
|
39
|
-
# The int64 value.
|
40
|
-
class Int64Value; end
|
41
|
-
|
42
|
-
# Wrapper message for `uint64`.
|
43
|
-
#
|
44
|
-
# The JSON representation for `UInt64Value` is JSON string.
|
45
|
-
# @!attribute [rw] value
|
46
|
-
# @return [Integer]
|
47
|
-
# The uint64 value.
|
48
|
-
class UInt64Value; end
|
49
|
-
|
50
|
-
# Wrapper message for `int32`.
|
51
|
-
#
|
52
|
-
# The JSON representation for `Int32Value` is JSON number.
|
53
|
-
# @!attribute [rw] value
|
54
|
-
# @return [Integer]
|
55
|
-
# The int32 value.
|
56
|
-
class Int32Value; end
|
57
|
-
|
58
|
-
# Wrapper message for `uint32`.
|
59
|
-
#
|
60
|
-
# The JSON representation for `UInt32Value` is JSON number.
|
61
|
-
# @!attribute [rw] value
|
62
|
-
# @return [Integer]
|
63
|
-
# The uint32 value.
|
64
|
-
class UInt32Value; end
|
65
|
-
|
66
18
|
# Wrapper message for `bool`.
|
67
19
|
#
|
68
20
|
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
@@ -70,21 +22,5 @@ module Google
|
|
70
22
|
# @return [true, false]
|
71
23
|
# The bool value.
|
72
24
|
class BoolValue; end
|
73
|
-
|
74
|
-
# Wrapper message for `string`.
|
75
|
-
#
|
76
|
-
# The JSON representation for `StringValue` is JSON string.
|
77
|
-
# @!attribute [rw] value
|
78
|
-
# @return [String]
|
79
|
-
# The string value.
|
80
|
-
class StringValue; end
|
81
|
-
|
82
|
-
# Wrapper message for `bytes`.
|
83
|
-
#
|
84
|
-
# The JSON representation for `BytesValue` is JSON string.
|
85
|
-
# @!attribute [rw] value
|
86
|
-
# @return [String]
|
87
|
-
# The bytes value.
|
88
|
-
class BytesValue; end
|
89
25
|
end
|
90
26
|
end
|
@@ -21,32 +21,32 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListGroups": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 30000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetGroup": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 30000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"CreateGroup": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 30000,
|
35
35
|
"retry_codes_name": "non_idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"UpdateGroup": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 30000,
|
40
40
|
"retry_codes_name": "idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"DeleteGroup": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 30000,
|
45
45
|
"retry_codes_name": "idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
48
|
"ListGroupMembers": {
|
49
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 30000,
|
50
50
|
"retry_codes_name": "idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
}
|
@@ -21,42 +21,42 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListMonitoredResourceDescriptors": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 30000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetMonitoredResourceDescriptor": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 30000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"ListMetricDescriptors": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 30000,
|
35
35
|
"retry_codes_name": "idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"GetMetricDescriptor": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 30000,
|
40
40
|
"retry_codes_name": "idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"CreateMetricDescriptor": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 30000,
|
45
45
|
"retry_codes_name": "non_idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
48
|
"DeleteMetricDescriptor": {
|
49
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 30000,
|
50
50
|
"retry_codes_name": "idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
},
|
53
53
|
"ListTimeSeries": {
|
54
|
-
"timeout_millis":
|
54
|
+
"timeout_millis": 30000,
|
55
55
|
"retry_codes_name": "idempotent",
|
56
56
|
"retry_params_name": "default"
|
57
57
|
},
|
58
58
|
"CreateTimeSeries": {
|
59
|
-
"timeout_millis":
|
59
|
+
"timeout_millis": 12000,
|
60
60
|
"retry_codes_name": "non_idempotent",
|
61
61
|
"retry_params_name": "default"
|
62
62
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright
|
1
|
+
# Copyright 2019 Google LLC
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -473,7 +473,7 @@ module Google
|
|
473
473
|
end
|
474
474
|
|
475
475
|
# Creates a new notification channel, representing a single notification
|
476
|
-
# endpoint such as an email address, SMS number, or
|
476
|
+
# endpoint such as an email address, SMS number, or PagerDuty service.
|
477
477
|
#
|
478
478
|
# @param name [String]
|
479
479
|
# The project on which to execute the request. The format is:
|
@@ -21,37 +21,37 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"ListNotificationChannelDescriptors": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 30000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"GetNotificationChannelDescriptor": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 30000,
|
30
30
|
"retry_codes_name": "idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
33
|
"ListNotificationChannels": {
|
34
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 30000,
|
35
35
|
"retry_codes_name": "idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
38
|
"GetNotificationChannel": {
|
39
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 30000,
|
40
40
|
"retry_codes_name": "idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
43
|
"CreateNotificationChannel": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 30000,
|
45
45
|
"retry_codes_name": "non_idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
48
|
"UpdateNotificationChannel": {
|
49
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 30000,
|
50
50
|
"retry_codes_name": "non_idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
},
|
53
53
|
"DeleteNotificationChannel": {
|
54
|
-
"timeout_millis":
|
54
|
+
"timeout_millis": 30000,
|
55
55
|
"retry_codes_name": "idempotent",
|
56
56
|
"retry_params_name": "default"
|
57
57
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/monitoring/v3/alert_service.proto for package 'google.monitoring.v3'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright 2018 Google LLC
|
4
|
+
# Copyright 2018 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
+
#
|
18
19
|
|
19
20
|
|
20
21
|
require 'grpc'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/monitoring/v3/group_service.proto for package 'google.monitoring.v3'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright 2018 Google LLC
|
4
|
+
# Copyright 2018 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
+
#
|
18
19
|
|
19
20
|
|
20
21
|
require 'grpc'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/monitoring/v3/metric_service.proto for package 'google.monitoring.v3'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright 2018 Google LLC
|
4
|
+
# Copyright 2018 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
+
#
|
18
19
|
|
19
20
|
|
20
21
|
require 'grpc'
|
@@ -8,6 +8,7 @@ require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/monitoring/v3/notification_pb'
|
9
9
|
require 'google/protobuf/empty_pb'
|
10
10
|
require 'google/protobuf/field_mask_pb'
|
11
|
+
require 'google/protobuf/struct_pb'
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
14
|
add_message "google.monitoring.v3.ListNotificationChannelDescriptorsRequest" do
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/monitoring/v3/notification_service.proto for package 'google.monitoring.v3'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright 2018 Google LLC
|
4
|
+
# Copyright 2018 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
+
#
|
18
19
|
|
19
20
|
|
20
21
|
require 'grpc'
|
@@ -49,7 +50,7 @@ module Google
|
|
49
50
|
# that was supplied in the call to the create method.
|
50
51
|
rpc :GetNotificationChannel, GetNotificationChannelRequest, NotificationChannel
|
51
52
|
# Creates a new notification channel, representing a single notification
|
52
|
-
# endpoint such as an email address, SMS number, or
|
53
|
+
# endpoint such as an email address, SMS number, or PagerDuty service.
|
53
54
|
rpc :CreateNotificationChannel, CreateNotificationChannelRequest, NotificationChannel
|
54
55
|
# Updates a notification channel. Fields not specified in the field mask
|
55
56
|
# remain unchanged.
|
@@ -8,11 +8,11 @@ require 'google/api/monitored_resource_pb'
|
|
8
8
|
require 'google/protobuf/duration_pb'
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_message "google.monitoring.v3.InternalChecker" do
|
11
|
-
optional :
|
12
|
-
optional :
|
13
|
-
optional :
|
14
|
-
optional :
|
15
|
-
optional :
|
11
|
+
optional :name, :string, 1
|
12
|
+
optional :display_name, :string, 2
|
13
|
+
optional :network, :string, 3
|
14
|
+
optional :gcp_zone, :string, 4
|
15
|
+
optional :peer_project_id, :string, 6
|
16
16
|
end
|
17
17
|
add_message "google.monitoring.v3.UptimeCheckConfig" do
|
18
18
|
optional :name, :string, 1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/monitoring/v3/uptime_service.proto for package 'google.monitoring.v3'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright 2018 Google LLC
|
4
|
+
# Copyright 2018 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
+
#
|
18
19
|
|
19
20
|
|
20
21
|
require 'grpc'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.29.
|
4
|
+
version: 0.29.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.61.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.61.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.7.
|
198
|
+
rubygems_version: 2.7.6
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: API Client library for Stackdriver Monitoring API
|