google-cloud-monitoring-v3 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +7 -0
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +13 -0
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +19 -1
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +7 -0
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +7 -0
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +7 -0
- data/lib/google/cloud/monitoring/v3/snooze_service/client.rb +7 -2
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +7 -0
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/metric_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/snooze_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/api/distribution.rb +6 -0
- data/proto_docs/google/monitoring/v3/alert.rb +26 -0
- data/proto_docs/google/monitoring/v3/common.rb +10 -0
- data/proto_docs/google/monitoring/v3/group_service.rb +6 -0
- data/proto_docs/google/monitoring/v3/metric.rb +6 -0
- data/proto_docs/google/monitoring/v3/metric_service.rb +12 -0
- data/proto_docs/google/monitoring/v3/service.rb +50 -0
- data/proto_docs/google/monitoring/v3/snooze.rb +18 -0
- data/proto_docs/google/monitoring/v3/snooze_service.rb +0 -2
- data/proto_docs/google/monitoring/v3/uptime.rb +14 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b14c10dc03d5d419280767b6c90b838fa2288c7f34fcefbf61a1d8739bb83a95
|
4
|
+
data.tar.gz: b8ec513c4541309f47f5caf3bce52f19fb1d5c2288bcc1334af77347a27d624a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546f3b195875f202998987197198bfe6d605e5bbecad1444d0f7ab21ed3bca1df228b2bb91c5f3dad0bc09007c168efad7418c37096e49080b2a569c1b98368f
|
7
|
+
data.tar.gz: 140e6101fbea0b70cc60351a5e2dd41335b9e6eb3c15f85b4f133178996c5be2ff70181e628ff334fca4b1ec09345339c58193a7344832af85022bfc7483dfa8
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -777,6 +777,13 @@ module Google
|
|
777
777
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
778
778
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
779
779
|
# * (`nil`) indicating no credentials
|
780
|
+
#
|
781
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
782
|
+
# external source for authentication to Google Cloud, you must validate it before
|
783
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
784
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
785
|
+
# For more information, refer to [Validate credential configurations from external
|
786
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
780
787
|
# @return [::Object]
|
781
788
|
# @!attribute [rw] scope
|
782
789
|
# The OAuth scopes
|
@@ -252,6 +252,8 @@ module Google
|
|
252
252
|
#
|
253
253
|
# Returns groups whose `parent_name` field contains the group
|
254
254
|
# name. If no groups have this parent, the results are empty.
|
255
|
+
#
|
256
|
+
# Note: The following fields are mutually exclusive: `children_of_group`, `ancestors_of_group`, `descendants_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
255
257
|
# @param ancestors_of_group [::String]
|
256
258
|
# A group name. The format is:
|
257
259
|
#
|
@@ -261,6 +263,8 @@ module Google
|
|
261
263
|
# The groups are returned in order, starting with the immediate parent and
|
262
264
|
# ending with the most distant ancestor. If the specified group has no
|
263
265
|
# immediate parent, the results are empty.
|
266
|
+
#
|
267
|
+
# Note: The following fields are mutually exclusive: `ancestors_of_group`, `children_of_group`, `descendants_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
264
268
|
# @param descendants_of_group [::String]
|
265
269
|
# A group name. The format is:
|
266
270
|
#
|
@@ -269,6 +273,8 @@ module Google
|
|
269
273
|
# Returns the descendants of the specified group. This is a superset of
|
270
274
|
# the results returned by the `children_of_group` filter, and includes
|
271
275
|
# children-of-children, and so forth.
|
276
|
+
#
|
277
|
+
# Note: The following fields are mutually exclusive: `descendants_of_group`, `children_of_group`, `ancestors_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
272
278
|
# @param page_size [::Integer]
|
273
279
|
# A positive number that is the maximum number of results to return.
|
274
280
|
# @param page_token [::String]
|
@@ -865,6 +871,13 @@ module Google
|
|
865
871
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
866
872
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
867
873
|
# * (`nil`) indicating no credentials
|
874
|
+
#
|
875
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
876
|
+
# external source for authentication to Google Cloud, you must validate it before
|
877
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
878
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
879
|
+
# For more information, refer to [Validate credential configurations from external
|
880
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
868
881
|
# @return [::Object]
|
869
882
|
# @!attribute [rw] scope
|
870
883
|
# The OAuth scopes
|
@@ -429,7 +429,7 @@ module Google
|
|
429
429
|
# @param options [::Gapic::CallOptions, ::Hash]
|
430
430
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
431
431
|
#
|
432
|
-
# @overload list_metric_descriptors(name: nil, filter: nil, page_size: nil, page_token: nil)
|
432
|
+
# @overload list_metric_descriptors(name: nil, filter: nil, page_size: nil, page_token: nil, active_only: nil)
|
433
433
|
# Pass arguments to `list_metric_descriptors` via keyword arguments. Note that at
|
434
434
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
435
435
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -458,6 +458,17 @@ module Google
|
|
458
458
|
# `nextPageToken` value returned by a previous call to this method. Using
|
459
459
|
# this field causes the method to return additional results from the previous
|
460
460
|
# method call.
|
461
|
+
# @param active_only [::Boolean]
|
462
|
+
# Optional. If true, only metrics and monitored resource types that have
|
463
|
+
# recent data (within roughly 25 hours) will be included in the response.
|
464
|
+
# - If a metric descriptor enumerates monitored resource types, only the
|
465
|
+
# monitored resource types for which the metric type has recent data will
|
466
|
+
# be included in the returned metric descriptor, and if none of them have
|
467
|
+
# recent data, the metric descriptor will not be returned.
|
468
|
+
# - If a metric descriptor does not enumerate the compatible monitored
|
469
|
+
# resource types, it will be returned only if the metric type has recent
|
470
|
+
# data for some monitored resource type. The returned descriptor will not
|
471
|
+
# enumerate any monitored resource types.
|
461
472
|
#
|
462
473
|
# @yield [response, operation] Access the result along with the RPC operation
|
463
474
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Api::MetricDescriptor>]
|
@@ -1196,6 +1207,13 @@ module Google
|
|
1196
1207
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1197
1208
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1198
1209
|
# * (`nil`) indicating no credentials
|
1210
|
+
#
|
1211
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1212
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1213
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1214
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1215
|
+
# For more information, refer to [Validate credential configurations from external
|
1216
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1199
1217
|
# @return [::Object]
|
1200
1218
|
# @!attribute [rw] scope
|
1201
1219
|
# The OAuth scopes
|
@@ -1276,6 +1276,13 @@ module Google
|
|
1276
1276
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1277
1277
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1278
1278
|
# * (`nil`) indicating no credentials
|
1279
|
+
#
|
1280
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1281
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1282
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1283
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1284
|
+
# For more information, refer to [Validate credential configurations from external
|
1285
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1279
1286
|
# @return [::Object]
|
1280
1287
|
# @!attribute [rw] scope
|
1281
1288
|
# The OAuth scopes
|
@@ -337,6 +337,13 @@ module Google
|
|
337
337
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
338
338
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
339
339
|
# * (`nil`) indicating no credentials
|
340
|
+
#
|
341
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
342
|
+
# external source for authentication to Google Cloud, you must validate it before
|
343
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
344
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
345
|
+
# For more information, refer to [Validate credential configurations from external
|
346
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
340
347
|
# @return [::Object]
|
341
348
|
# @!attribute [rw] scope
|
342
349
|
# The OAuth scopes
|
@@ -1219,6 +1219,13 @@ module Google
|
|
1219
1219
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1220
1220
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1221
1221
|
# * (`nil`) indicating no credentials
|
1222
|
+
#
|
1223
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1224
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1225
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1226
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1227
|
+
# For more information, refer to [Validate credential configurations from external
|
1228
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1222
1229
|
# @return [::Object]
|
1223
1230
|
# @!attribute [rw] scope
|
1224
1231
|
# The OAuth scopes
|
@@ -327,10 +327,8 @@ module Google
|
|
327
327
|
#
|
328
328
|
# For example:
|
329
329
|
#
|
330
|
-
# ```
|
331
330
|
# interval.start_time > "2022-03-11T00:00:00-08:00" AND
|
332
331
|
# interval.end_time < "2022-03-12T00:00:00-08:00"
|
333
|
-
# ```
|
334
332
|
# @param page_size [::Integer]
|
335
333
|
# Optional. The maximum number of results to return for a single query. The
|
336
334
|
# server may further constrain the maximum number of results returned in a
|
@@ -651,6 +649,13 @@ module Google
|
|
651
649
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
653
651
|
# * (`nil`) indicating no credentials
|
652
|
+
#
|
653
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
654
|
+
# external source for authentication to Google Cloud, you must validate it before
|
655
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
656
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
657
|
+
# For more information, refer to [Validate credential configurations from external
|
658
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
654
659
|
# @return [::Object]
|
655
660
|
# @!attribute [rw] scope
|
656
661
|
# The OAuth scopes
|
@@ -831,6 +831,13 @@ module Google
|
|
831
831
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
832
832
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
833
833
|
# * (`nil`) indicating no credentials
|
834
|
+
#
|
835
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
836
|
+
# external source for authentication to Google Cloud, you must validate it before
|
837
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
838
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
839
|
+
# For more information, refer to [Validate credential configurations from external
|
840
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
834
841
|
# @return [::Object]
|
835
842
|
# @!attribute [rw] scope
|
836
843
|
# The OAuth scopes
|
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
|
|
16
16
|
require 'google/rpc/status_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n)google/monitoring/v3/metric_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x17google/api/metric.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a!google/monitoring/v3/metric.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xad\x01\n\'ListMonitoredResourceDescriptorsRequest\x12K\n\x04name\x18\x05 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35monitoring.googleapis.com/MonitoredResourceDescriptor\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x8a\x01\n(ListMonitoredResourceDescriptorsResponse\x12\x45\n\x14resource_descriptors\x18\x01 \x03(\x0b\x32\'.google.api.MonitoredResourceDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"t\n%GetMonitoredResourceDescriptorRequest\x12K\n\x04name\x18\x03 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5monitoring.googleapis.com/MonitoredResourceDescriptor\"\
|
19
|
+
descriptor_data = "\n)google/monitoring/v3/metric_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x17google/api/metric.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a!google/monitoring/v3/metric.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xad\x01\n\'ListMonitoredResourceDescriptorsRequest\x12K\n\x04name\x18\x05 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35monitoring.googleapis.com/MonitoredResourceDescriptor\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x8a\x01\n(ListMonitoredResourceDescriptorsResponse\x12\x45\n\x14resource_descriptors\x18\x01 \x03(\x0b\x32\'.google.api.MonitoredResourceDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"t\n%GetMonitoredResourceDescriptorRequest\x12K\n\x04name\x18\x03 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5monitoring.googleapis.com/MonitoredResourceDescriptor\"\xc0\x01\n\x1cListMetricDescriptorsRequest\x12@\n\x04name\x18\x05 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*monitoring.googleapis.com/MetricDescriptor\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x61\x63tive_only\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"r\n\x1dListMetricDescriptorsResponse\x12\x38\n\x12metric_descriptors\x18\x01 \x03(\x0b\x32\x1c.google.api.MetricDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x1aGetMetricDescriptorRequest\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*monitoring.googleapis.com/MetricDescriptor\"\x9f\x01\n\x1d\x43reateMetricDescriptorRequest\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*monitoring.googleapis.com/MetricDescriptor\x12<\n\x11metric_descriptor\x18\x02 \x01(\x0b\x32\x1c.google.api.MetricDescriptorB\x03\xe0\x41\x02\"a\n\x1d\x44\x65leteMetricDescriptorRequest\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*monitoring.googleapis.com/MetricDescriptor\"\xce\x03\n\x15ListTimeSeriesRequest\x12:\n\x04name\x18\n \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$monitoring.googleapis.com/TimeSeries\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x08interval\x18\x04 \x01(\x0b\x32\".google.monitoring.v3.TimeIntervalB\x03\xe0\x41\x02\x12\x36\n\x0b\x61ggregation\x18\x05 \x01(\x0b\x32!.google.monitoring.v3.Aggregation\x12@\n\x15secondary_aggregation\x18\x0b \x01(\x0b\x32!.google.monitoring.v3.Aggregation\x12\x10\n\x08order_by\x18\x06 \x01(\t\x12M\n\x04view\x18\x07 \x01(\x0e\x32:.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesViewB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x12\n\npage_token\x18\t \x01(\t\"\'\n\x0eTimeSeriesView\x12\x08\n\x04\x46ULL\x10\x00\x12\x0b\n\x07HEADERS\x10\x01\"\xa4\x01\n\x16ListTimeSeriesResponse\x12\x35\n\x0btime_series\x18\x01 \x03(\x0b\x32 .google.monitoring.v3.TimeSeries\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12,\n\x10\x65xecution_errors\x18\x03 \x03(\x0b\x32\x12.google.rpc.Status\x12\x0c\n\x04unit\x18\x05 \x01(\t\"\x98\x01\n\x17\x43reateTimeSeriesRequest\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12:\n\x0btime_series\x18\x02 \x03(\x0b\x32 .google.monitoring.v3.TimeSeriesB\x03\xe0\x41\x02\"z\n\x15\x43reateTimeSeriesError\x12\x39\n\x0btime_series\x18\x01 \x01(\x0b\x32 .google.monitoring.v3.TimeSeriesB\x02\x18\x01\x12&\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x02\x18\x01\"\xd8\x01\n\x17\x43reateTimeSeriesSummary\x12\x19\n\x11total_point_count\x18\x01 \x01(\x05\x12\x1b\n\x13success_point_count\x18\x02 \x01(\x05\x12\x43\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x33.google.monitoring.v3.CreateTimeSeriesSummary.Error\x1a@\n\x05\x45rror\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12\x13\n\x0bpoint_count\x18\x02 \x01(\x05\"j\n\x16QueryTimeSeriesRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\t \x01(\x05\x12\x12\n\npage_token\x18\n \x01(\t:\x02\x18\x01\"\xee\x01\n\x17QueryTimeSeriesResponse\x12J\n\x16time_series_descriptor\x18\x08 \x01(\x0b\x32*.google.monitoring.v3.TimeSeriesDescriptor\x12>\n\x10time_series_data\x18\t \x03(\x0b\x32$.google.monitoring.v3.TimeSeriesData\x12\x17\n\x0fnext_page_token\x18\n \x01(\t\x12*\n\x0epartial_errors\x18\x0b \x03(\x0b\x32\x12.google.rpc.Status:\x02\x18\x01\"Y\n\x0eQueryErrorList\x12\x30\n\x06\x65rrors\x18\x01 \x03(\x0b\x32 .google.monitoring.v3.QueryError\x12\x15\n\rerror_summary\x18\x02 \x01(\t2\xbc\x0f\n\rMetricService\x12\xe4\x01\n ListMonitoredResourceDescriptors\x12=.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest\x1a>.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v3/{name=projects/*}/monitoredResourceDescriptors\x12\xcc\x01\n\x1eGetMonitoredResourceDescriptor\x12;.google.monitoring.v3.GetMonitoredResourceDescriptorRequest\x1a\'.google.api.MonitoredResourceDescriptor\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v3/{name=projects/*/monitoredResourceDescriptors/**}\x12\xb8\x01\n\x15ListMetricDescriptors\x12\x32.google.monitoring.v3.ListMetricDescriptorsRequest\x1a\x33.google.monitoring.v3.ListMetricDescriptorsResponse\"6\xda\x41\x04name\x82\xd3\xe4\x93\x02)\x12\'/v3/{name=projects/*}/metricDescriptors\x12\xa0\x01\n\x13GetMetricDescriptor\x12\x30.google.monitoring.v3.GetMetricDescriptorRequest\x1a\x1c.google.api.MetricDescriptor\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v3/{name=projects/*/metricDescriptors/**}\x12\xc8\x01\n\x16\x43reateMetricDescriptor\x12\x33.google.monitoring.v3.CreateMetricDescriptorRequest\x1a\x1c.google.api.MetricDescriptor\"[\xda\x41\x16name,metric_descriptor\x82\xd3\xe4\x93\x02<\"\'/v3/{name=projects/*}/metricDescriptors:\x11metric_descriptor\x12\xa0\x01\n\x16\x44\x65leteMetricDescriptor\x12\x33.google.monitoring.v3.DeleteMetricDescriptorRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v3/{name=projects/*/metricDescriptors/**}\x12\xfe\x01\n\x0eListTimeSeries\x12+.google.monitoring.v3.ListTimeSeriesRequest\x1a,.google.monitoring.v3.ListTimeSeriesResponse\"\x90\x01\xda\x41\x19name,filter,interval,view\x82\xd3\xe4\x93\x02n\x12 /v3/{name=projects/*}/timeSeriesZ\'\x12%/v3/{name=organizations/*}/timeSeriesZ!\x12\x1f/v3/{name=folders/*}/timeSeries\x12\x99\x01\n\x10\x43reateTimeSeries\x12-.google.monitoring.v3.CreateTimeSeriesRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x10name,time_series\x82\xd3\xe4\x93\x02%\" /v3/{name=projects/*}/timeSeries:\x01*\x12\xae\x01\n\x17\x43reateServiceTimeSeries\x12-.google.monitoring.v3.CreateTimeSeriesRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x10name,time_series\x82\xd3\xe4\x93\x02\x33\"./v3/{name=projects/*}/timeSeries:createService:\x01*\x1a\xda\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\xba\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.read,https://www.googleapis.com/auth/monitoring.writeB\x89\x08\n\x18\x63om.google.monitoring.v3B\x12MetricServiceProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3\xea\x41\xf0\x01\n*monitoring.googleapis.com/MetricDescriptor\x12;projects/{project}/metricDescriptors/{metric_descriptor=**}\x12\x45organizations/{organization}/metricDescriptors/{metric_descriptor=**}\x12\x39\x66olders/{folder}/metricDescriptors/{metric_descriptor=**}\x12\x01* \x01\xea\x41\xb7\x02\n5monitoring.googleapis.com/MonitoredResourceDescriptor\x12Oprojects/{project}/monitoredResourceDescriptors/{monitored_resource_descriptor}\x12Yorganizations/{organization}/monitoredResourceDescriptors/{monitored_resource_descriptor}\x12Mfolders/{folder}/monitoredResourceDescriptors/{monitored_resource_descriptor}\x12\x01* \x01\xea\x41Q\n#monitoring.googleapis.com/Workspace\x12\x12projects/{project}\x12\x16workspaces/{workspace}\xea\x41\xb5\x01\n$monitoring.googleapis.com/TimeSeries\x12+projects/{project}/timeSeries/{time_series}\x12\x35organizations/{organization}/timeSeries/{time_series}\x12)folders/{folder}/timeSeries/{time_series}b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/monitoring/v3/common_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n!google/monitoring/v3/snooze.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\"\
|
12
|
+
descriptor_data = "\n!google/monitoring/v3/snooze.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\"\xd5\x02\n\x06Snooze\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12<\n\x08\x63riteria\x18\x03 \x01(\x0b\x32%.google.monitoring.v3.Snooze.CriteriaB\x03\xe0\x41\x02\x12\x39\n\x08interval\x18\x04 \x01(\x0b\x32\".google.monitoring.v3.TimeIntervalB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x1aX\n\x08\x43riteria\x12<\n\x08policies\x18\x01 \x03(\tB*\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t:J\xea\x41G\n monitoring.googleapis.com/Snooze\x12#projects/{project}/snoozes/{snooze}B\xc6\x01\n\x18\x63om.google.monitoring.v3B\x0bSnoozeProtoP\x01ZAcloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb\xaa\x02\x1aGoogle.Cloud.Monitoring.V3\xca\x02\x1aGoogle\\Cloud\\Monitoring\\V3\xea\x02\x1dGoogle::Cloud::Monitoring::V3b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -115,12 +115,18 @@ module Google
|
|
115
115
|
# @!attribute [rw] linear_buckets
|
116
116
|
# @return [::Google::Api::Distribution::BucketOptions::Linear]
|
117
117
|
# The linear bucket.
|
118
|
+
#
|
119
|
+
# Note: The following fields are mutually exclusive: `linear_buckets`, `exponential_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
118
120
|
# @!attribute [rw] exponential_buckets
|
119
121
|
# @return [::Google::Api::Distribution::BucketOptions::Exponential]
|
120
122
|
# The exponential buckets.
|
123
|
+
#
|
124
|
+
# Note: The following fields are mutually exclusive: `exponential_buckets`, `linear_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
121
125
|
# @!attribute [rw] explicit_buckets
|
122
126
|
# @return [::Google::Api::Distribution::BucketOptions::Explicit]
|
123
127
|
# The explicit buckets.
|
128
|
+
#
|
129
|
+
# Note: The following fields are mutually exclusive: `explicit_buckets`, `linear_buckets`, `exponential_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
124
130
|
class BucketOptions
|
125
131
|
include ::Google::Protobuf::MessageExts
|
126
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -225,24 +225,36 @@ module Google
|
|
225
225
|
# @!attribute [rw] condition_threshold
|
226
226
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::MetricThreshold]
|
227
227
|
# A condition that compares a time series against a threshold.
|
228
|
+
#
|
229
|
+
# Note: The following fields are mutually exclusive: `condition_threshold`, `condition_absent`, `condition_matched_log`, `condition_monitoring_query_language`, `condition_prometheus_query_language`, `condition_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
228
230
|
# @!attribute [rw] condition_absent
|
229
231
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::MetricAbsence]
|
230
232
|
# A condition that checks that a time series continues to
|
231
233
|
# receive new data points.
|
234
|
+
#
|
235
|
+
# Note: The following fields are mutually exclusive: `condition_absent`, `condition_threshold`, `condition_matched_log`, `condition_monitoring_query_language`, `condition_prometheus_query_language`, `condition_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
232
236
|
# @!attribute [rw] condition_matched_log
|
233
237
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::LogMatch]
|
234
238
|
# A condition that checks for log messages matching given constraints. If
|
235
239
|
# set, no other conditions can be present.
|
240
|
+
#
|
241
|
+
# Note: The following fields are mutually exclusive: `condition_matched_log`, `condition_threshold`, `condition_absent`, `condition_monitoring_query_language`, `condition_prometheus_query_language`, `condition_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
236
242
|
# @!attribute [rw] condition_monitoring_query_language
|
237
243
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::MonitoringQueryLanguageCondition]
|
238
244
|
# A condition that uses the Monitoring Query Language to define
|
239
245
|
# alerts.
|
246
|
+
#
|
247
|
+
# Note: The following fields are mutually exclusive: `condition_monitoring_query_language`, `condition_threshold`, `condition_absent`, `condition_matched_log`, `condition_prometheus_query_language`, `condition_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
240
248
|
# @!attribute [rw] condition_prometheus_query_language
|
241
249
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::PrometheusQueryLanguageCondition]
|
242
250
|
# A condition that uses the Prometheus query language to define alerts.
|
251
|
+
#
|
252
|
+
# Note: The following fields are mutually exclusive: `condition_prometheus_query_language`, `condition_threshold`, `condition_absent`, `condition_matched_log`, `condition_monitoring_query_language`, `condition_sql`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
243
253
|
# @!attribute [rw] condition_sql
|
244
254
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition]
|
245
255
|
# A condition that periodically evaluates a SQL query result.
|
256
|
+
#
|
257
|
+
# Note: The following fields are mutually exclusive: `condition_sql`, `condition_threshold`, `condition_absent`, `condition_matched_log`, `condition_monitoring_query_language`, `condition_prometheus_query_language`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
246
258
|
class Condition
|
247
259
|
include ::Google::Protobuf::MessageExts
|
248
260
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -253,10 +265,14 @@ module Google
|
|
253
265
|
# @return [::Integer]
|
254
266
|
# The absolute number of time series that must fail
|
255
267
|
# the predicate for the condition to be triggered.
|
268
|
+
#
|
269
|
+
# Note: The following fields are mutually exclusive: `count`, `percent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
256
270
|
# @!attribute [rw] percent
|
257
271
|
# @return [::Float]
|
258
272
|
# The percentage of time series that must fail the
|
259
273
|
# predicate for the condition to be triggered.
|
274
|
+
#
|
275
|
+
# Note: The following fields are mutually exclusive: `percent`, `count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
260
276
|
class Trigger
|
261
277
|
include ::Google::Protobuf::MessageExts
|
262
278
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -636,18 +652,28 @@ module Google
|
|
636
652
|
# @!attribute [rw] minutes
|
637
653
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Minutes]
|
638
654
|
# Schedule the query to execute every so many minutes.
|
655
|
+
#
|
656
|
+
# Note: The following fields are mutually exclusive: `minutes`, `hourly`, `daily`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
639
657
|
# @!attribute [rw] hourly
|
640
658
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Hourly]
|
641
659
|
# Schedule the query to execute every so many hours.
|
660
|
+
#
|
661
|
+
# Note: The following fields are mutually exclusive: `hourly`, `minutes`, `daily`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
642
662
|
# @!attribute [rw] daily
|
643
663
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Daily]
|
644
664
|
# Schedule the query to execute every so many days.
|
665
|
+
#
|
666
|
+
# Note: The following fields are mutually exclusive: `daily`, `minutes`, `hourly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
645
667
|
# @!attribute [rw] row_count_test
|
646
668
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::RowCountTest]
|
647
669
|
# Test the row count against a threshold.
|
670
|
+
#
|
671
|
+
# Note: The following fields are mutually exclusive: `row_count_test`, `boolean_test`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
648
672
|
# @!attribute [rw] boolean_test
|
649
673
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::BooleanTest]
|
650
674
|
# Test the boolean value in the indicated column.
|
675
|
+
#
|
676
|
+
# Note: The following fields are mutually exclusive: `boolean_test`, `row_count_test`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
651
677
|
class SqlCondition
|
652
678
|
include ::Google::Protobuf::MessageExts
|
653
679
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,20 +25,30 @@ module Google
|
|
25
25
|
# @!attribute [rw] bool_value
|
26
26
|
# @return [::Boolean]
|
27
27
|
# A Boolean value: `true` or `false`.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `int64_value`, `double_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] int64_value
|
29
31
|
# @return [::Integer]
|
30
32
|
# A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `int64_value`, `bool_value`, `double_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] double_value
|
32
36
|
# @return [::Float]
|
33
37
|
# A 64-bit double-precision floating-point number. Its magnitude
|
34
38
|
# is approximately ±10<sup>±300</sup> and it has 16
|
35
39
|
# significant digits of precision.
|
40
|
+
#
|
41
|
+
# Note: The following fields are mutually exclusive: `double_value`, `bool_value`, `int64_value`, `string_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
36
42
|
# @!attribute [rw] string_value
|
37
43
|
# @return [::String]
|
38
44
|
# A variable-length string value.
|
45
|
+
#
|
46
|
+
# Note: The following fields are mutually exclusive: `string_value`, `bool_value`, `int64_value`, `double_value`, `distribution_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
39
47
|
# @!attribute [rw] distribution_value
|
40
48
|
# @return [::Google::Api::Distribution]
|
41
49
|
# A distribution value.
|
50
|
+
#
|
51
|
+
# Note: The following fields are mutually exclusive: `distribution_value`, `bool_value`, `int64_value`, `double_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
42
52
|
class TypedValue
|
43
53
|
include ::Google::Protobuf::MessageExts
|
44
54
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -37,6 +37,8 @@ module Google
|
|
37
37
|
#
|
38
38
|
# Returns groups whose `parent_name` field contains the group
|
39
39
|
# name. If no groups have this parent, the results are empty.
|
40
|
+
#
|
41
|
+
# Note: The following fields are mutually exclusive: `children_of_group`, `ancestors_of_group`, `descendants_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
42
|
# @!attribute [rw] ancestors_of_group
|
41
43
|
# @return [::String]
|
42
44
|
# A group name. The format is:
|
@@ -47,6 +49,8 @@ module Google
|
|
47
49
|
# The groups are returned in order, starting with the immediate parent and
|
48
50
|
# ending with the most distant ancestor. If the specified group has no
|
49
51
|
# immediate parent, the results are empty.
|
52
|
+
#
|
53
|
+
# Note: The following fields are mutually exclusive: `ancestors_of_group`, `children_of_group`, `descendants_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
50
54
|
# @!attribute [rw] descendants_of_group
|
51
55
|
# @return [::String]
|
52
56
|
# A group name. The format is:
|
@@ -56,6 +60,8 @@ module Google
|
|
56
60
|
# Returns the descendants of the specified group. This is a superset of
|
57
61
|
# the results returned by the `children_of_group` filter, and includes
|
58
62
|
# children-of-children, and so forth.
|
63
|
+
#
|
64
|
+
# Note: The following fields are mutually exclusive: `descendants_of_group`, `children_of_group`, `ancestors_of_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
65
|
# @!attribute [rw] page_size
|
60
66
|
# @return [::Integer]
|
61
67
|
# A positive number that is the maximum number of results to return.
|
@@ -173,12 +173,18 @@ module Google
|
|
173
173
|
# @!attribute [rw] bool_value
|
174
174
|
# @return [::Boolean]
|
175
175
|
# A bool label value.
|
176
|
+
#
|
177
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
176
178
|
# @!attribute [rw] int64_value
|
177
179
|
# @return [::Integer]
|
178
180
|
# An int64 label value.
|
181
|
+
#
|
182
|
+
# Note: The following fields are mutually exclusive: `int64_value`, `bool_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
179
183
|
# @!attribute [rw] string_value
|
180
184
|
# @return [::String]
|
181
185
|
# A string label value.
|
186
|
+
#
|
187
|
+
# Note: The following fields are mutually exclusive: `string_value`, `bool_value`, `int64_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
182
188
|
class LabelValue
|
183
189
|
include ::Google::Protobuf::MessageExts
|
184
190
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,6 +108,18 @@ module Google
|
|
108
108
|
# `nextPageToken` value returned by a previous call to this method. Using
|
109
109
|
# this field causes the method to return additional results from the previous
|
110
110
|
# method call.
|
111
|
+
# @!attribute [rw] active_only
|
112
|
+
# @return [::Boolean]
|
113
|
+
# Optional. If true, only metrics and monitored resource types that have
|
114
|
+
# recent data (within roughly 25 hours) will be included in the response.
|
115
|
+
# - If a metric descriptor enumerates monitored resource types, only the
|
116
|
+
# monitored resource types for which the metric type has recent data will
|
117
|
+
# be included in the returned metric descriptor, and if none of them have
|
118
|
+
# recent data, the metric descriptor will not be returned.
|
119
|
+
# - If a metric descriptor does not enumerate the compatible monitored
|
120
|
+
# resource types, it will be returned only if the metric type has recent
|
121
|
+
# data for some monitored resource type. The returned descriptor will not
|
122
|
+
# enumerate any monitored resource types.
|
111
123
|
class ListMetricDescriptorsRequest
|
112
124
|
include ::Google::Protobuf::MessageExts
|
113
125
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -37,35 +37,55 @@ module Google
|
|
37
37
|
# @!attribute [rw] custom
|
38
38
|
# @return [::Google::Cloud::Monitoring::V3::Service::Custom]
|
39
39
|
# Custom service type.
|
40
|
+
#
|
41
|
+
# Note: The following fields are mutually exclusive: `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
42
|
# @!attribute [rw] app_engine
|
41
43
|
# @return [::Google::Cloud::Monitoring::V3::Service::AppEngine]
|
42
44
|
# Type used for App Engine services.
|
45
|
+
#
|
46
|
+
# Note: The following fields are mutually exclusive: `app_engine`, `custom`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
47
|
# @!attribute [rw] cloud_endpoints
|
44
48
|
# @return [::Google::Cloud::Monitoring::V3::Service::CloudEndpoints]
|
45
49
|
# Type used for Cloud Endpoints services.
|
50
|
+
#
|
51
|
+
# Note: The following fields are mutually exclusive: `cloud_endpoints`, `custom`, `app_engine`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
46
52
|
# @!attribute [rw] cluster_istio
|
47
53
|
# @return [::Google::Cloud::Monitoring::V3::Service::ClusterIstio]
|
48
54
|
# Type used for Istio services that live in a Kubernetes cluster.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `cluster_istio`, `custom`, `app_engine`, `cloud_endpoints`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
49
57
|
# @!attribute [rw] mesh_istio
|
50
58
|
# @return [::Google::Cloud::Monitoring::V3::Service::MeshIstio]
|
51
59
|
# Type used for Istio services scoped to an Istio mesh.
|
60
|
+
#
|
61
|
+
# Note: The following fields are mutually exclusive: `mesh_istio`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
62
|
# @!attribute [rw] istio_canonical_service
|
53
63
|
# @return [::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService]
|
54
64
|
# Type used for canonical services scoped to an Istio mesh.
|
55
65
|
# Metrics for Istio are
|
56
66
|
# [documented here](https://istio.io/latest/docs/reference/config/metrics/)
|
67
|
+
#
|
68
|
+
# Note: The following fields are mutually exclusive: `istio_canonical_service`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `cloud_run`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
57
69
|
# @!attribute [rw] cloud_run
|
58
70
|
# @return [::Google::Cloud::Monitoring::V3::Service::CloudRun]
|
59
71
|
# Type used for Cloud Run services.
|
72
|
+
#
|
73
|
+
# Note: The following fields are mutually exclusive: `cloud_run`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `gke_namespace`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
60
74
|
# @!attribute [rw] gke_namespace
|
61
75
|
# @return [::Google::Cloud::Monitoring::V3::Service::GkeNamespace]
|
62
76
|
# Type used for GKE Namespaces.
|
77
|
+
#
|
78
|
+
# Note: The following fields are mutually exclusive: `gke_namespace`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_workload`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
63
79
|
# @!attribute [rw] gke_workload
|
64
80
|
# @return [::Google::Cloud::Monitoring::V3::Service::GkeWorkload]
|
65
81
|
# Type used for GKE Workloads.
|
82
|
+
#
|
83
|
+
# Note: The following fields are mutually exclusive: `gke_workload`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_service`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
66
84
|
# @!attribute [rw] gke_service
|
67
85
|
# @return [::Google::Cloud::Monitoring::V3::Service::GkeService]
|
68
86
|
# Type used for GKE Services (the Kubernetes concept of a service).
|
87
|
+
#
|
88
|
+
# Note: The following fields are mutually exclusive: `gke_service`, `custom`, `app_engine`, `cloud_endpoints`, `cluster_istio`, `mesh_istio`, `istio_canonical_service`, `cloud_run`, `gke_namespace`, `gke_workload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
69
89
|
# @!attribute [rw] basic_service
|
70
90
|
# @return [::Google::Cloud::Monitoring::V3::Service::BasicService]
|
71
91
|
# Message that contains the service type and service labels of this service
|
@@ -356,11 +376,15 @@ module Google
|
|
356
376
|
# @return [::Google::Protobuf::Duration]
|
357
377
|
# A rolling time period, semantically "in the past `<rolling_period>`".
|
358
378
|
# Must be an integer multiple of 1 day no larger than 30 days.
|
379
|
+
#
|
380
|
+
# Note: The following fields are mutually exclusive: `rolling_period`, `calendar_period`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
359
381
|
# @!attribute [rw] calendar_period
|
360
382
|
# @return [::Google::Type::CalendarPeriod]
|
361
383
|
# A calendar period, semantically "since the start of the current
|
362
384
|
# `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
|
363
385
|
# `MONTH` are supported.
|
386
|
+
#
|
387
|
+
# Note: The following fields are mutually exclusive: `calendar_period`, `rolling_period`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
364
388
|
# @!attribute [rw] user_labels
|
365
389
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
366
390
|
# Labels which have been used to annotate the service-level objective. Label
|
@@ -418,12 +442,18 @@ module Google
|
|
418
442
|
# @!attribute [rw] basic_sli
|
419
443
|
# @return [::Google::Cloud::Monitoring::V3::BasicSli]
|
420
444
|
# Basic SLI on a well-known service type.
|
445
|
+
#
|
446
|
+
# Note: The following fields are mutually exclusive: `basic_sli`, `request_based`, `windows_based`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
421
447
|
# @!attribute [rw] request_based
|
422
448
|
# @return [::Google::Cloud::Monitoring::V3::RequestBasedSli]
|
423
449
|
# Request-based SLIs
|
450
|
+
#
|
451
|
+
# Note: The following fields are mutually exclusive: `request_based`, `basic_sli`, `windows_based`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
424
452
|
# @!attribute [rw] windows_based
|
425
453
|
# @return [::Google::Cloud::Monitoring::V3::WindowsBasedSli]
|
426
454
|
# Windows-based SLIs
|
455
|
+
#
|
456
|
+
# Note: The following fields are mutually exclusive: `windows_based`, `basic_sli`, `request_based`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
427
457
|
class ServiceLevelIndicator
|
428
458
|
include ::Google::Protobuf::MessageExts
|
429
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -460,10 +490,14 @@ module Google
|
|
460
490
|
# @return [::Google::Cloud::Monitoring::V3::BasicSli::AvailabilityCriteria]
|
461
491
|
# Good service is defined to be the count of requests made to this service
|
462
492
|
# that return successfully.
|
493
|
+
#
|
494
|
+
# Note: The following fields are mutually exclusive: `availability`, `latency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
463
495
|
# @!attribute [rw] latency
|
464
496
|
# @return [::Google::Cloud::Monitoring::V3::BasicSli::LatencyCriteria]
|
465
497
|
# Good service is defined to be the count of requests made to this service
|
466
498
|
# that are fast enough with respect to `latency.threshold`.
|
499
|
+
#
|
500
|
+
# Note: The following fields are mutually exclusive: `latency`, `availability`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
467
501
|
class BasicSli
|
468
502
|
include ::Google::Protobuf::MessageExts
|
469
503
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -503,12 +537,16 @@ module Google
|
|
503
537
|
# @return [::Google::Cloud::Monitoring::V3::TimeSeriesRatio]
|
504
538
|
# `good_total_ratio` is used when the ratio of `good_service` to
|
505
539
|
# `total_service` is computed from two `TimeSeries`.
|
540
|
+
#
|
541
|
+
# Note: The following fields are mutually exclusive: `good_total_ratio`, `distribution_cut`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
506
542
|
# @!attribute [rw] distribution_cut
|
507
543
|
# @return [::Google::Cloud::Monitoring::V3::DistributionCut]
|
508
544
|
# `distribution_cut` is used when `good_service` is a count of values
|
509
545
|
# aggregated in a `Distribution` that fall into a good range. The
|
510
546
|
# `total_service` is the total count of all values aggregated in the
|
511
547
|
# `Distribution`.
|
548
|
+
#
|
549
|
+
# Note: The following fields are mutually exclusive: `distribution_cut`, `good_total_ratio`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
512
550
|
class RequestBasedSli
|
513
551
|
include ::Google::Protobuf::MessageExts
|
514
552
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -571,17 +609,25 @@ module Google
|
|
571
609
|
# A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
|
572
610
|
# specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
|
573
611
|
# any `true` values appear in the window.
|
612
|
+
#
|
613
|
+
# Note: The following fields are mutually exclusive: `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`, `metric_sum_in_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
574
614
|
# @!attribute [rw] good_total_ratio_threshold
|
575
615
|
# @return [::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold]
|
576
616
|
# A window is good if its `performance` is high enough.
|
617
|
+
#
|
618
|
+
# Note: The following fields are mutually exclusive: `good_total_ratio_threshold`, `good_bad_metric_filter`, `metric_mean_in_range`, `metric_sum_in_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
577
619
|
# @!attribute [rw] metric_mean_in_range
|
578
620
|
# @return [::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange]
|
579
621
|
# A window is good if the metric's value is in a good range, averaged
|
580
622
|
# across returned streams.
|
623
|
+
#
|
624
|
+
# Note: The following fields are mutually exclusive: `metric_mean_in_range`, `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_sum_in_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
581
625
|
# @!attribute [rw] metric_sum_in_range
|
582
626
|
# @return [::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange]
|
583
627
|
# A window is good if the metric's value is in a good range, summed across
|
584
628
|
# returned streams.
|
629
|
+
#
|
630
|
+
# Note: The following fields are mutually exclusive: `metric_sum_in_range`, `good_bad_metric_filter`, `good_total_ratio_threshold`, `metric_mean_in_range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
585
631
|
# @!attribute [rw] window_period
|
586
632
|
# @return [::Google::Protobuf::Duration]
|
587
633
|
# Duration over which window quality is evaluated. Must be an integer
|
@@ -595,9 +641,13 @@ module Google
|
|
595
641
|
# @!attribute [rw] performance
|
596
642
|
# @return [::Google::Cloud::Monitoring::V3::RequestBasedSli]
|
597
643
|
# `RequestBasedSli` to evaluate to judge window quality.
|
644
|
+
#
|
645
|
+
# Note: The following fields are mutually exclusive: `performance`, `basic_sli_performance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
598
646
|
# @!attribute [rw] basic_sli_performance
|
599
647
|
# @return [::Google::Cloud::Monitoring::V3::BasicSli]
|
600
648
|
# `BasicSli` to evaluate to judge window quality.
|
649
|
+
#
|
650
|
+
# Note: The following fields are mutually exclusive: `basic_sli_performance`, `performance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
601
651
|
# @!attribute [rw] threshold
|
602
652
|
# @return [::Float]
|
603
653
|
# If window `performance >= threshold`, the window is counted as good.
|
@@ -63,6 +63,24 @@ module Google
|
|
63
63
|
#
|
64
64
|
# There is a limit of 16 policies per snooze. This limit is checked during
|
65
65
|
# snooze creation.
|
66
|
+
# Exactly 1 alert policy is required if `filter` is specified at the same
|
67
|
+
# time.
|
68
|
+
# @!attribute [rw] filter
|
69
|
+
# @return [::String]
|
70
|
+
# Optional. The filter string to match on Alert fields when silencing the
|
71
|
+
# alerts. It follows the standard https://google.aip.dev/160 syntax.
|
72
|
+
# A filter string used to apply the snooze to specific incidents
|
73
|
+
# that have matching filter values.
|
74
|
+
# Filters can be defined for snoozes that apply to one alerting
|
75
|
+
# policy.
|
76
|
+
# Filters must be a string formatted as one or more resource labels with
|
77
|
+
# specific label values. If multiple resource labels are used, then they
|
78
|
+
# must be connected with an AND operator. For example, the following filter
|
79
|
+
# applies the snooze to incidents that have an instance ID of
|
80
|
+
# `1234567890` and a zone of `us-central1-a`:
|
81
|
+
#
|
82
|
+
# resource.labels.instance_id="1234567890" AND
|
83
|
+
# resource.labels.zone="us-central1-a"
|
66
84
|
class Criteria
|
67
85
|
include ::Google::Protobuf::MessageExts
|
68
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -58,10 +58,8 @@ module Google
|
|
58
58
|
#
|
59
59
|
# For example:
|
60
60
|
#
|
61
|
-
# ```
|
62
61
|
# interval.start_time > "2022-03-11T00:00:00-08:00" AND
|
63
62
|
# interval.end_time < "2022-03-12T00:00:00-08:00"
|
64
|
-
# ```
|
65
63
|
# @!attribute [rw] page_size
|
66
64
|
# @return [::Integer]
|
67
65
|
# Optional. The maximum number of results to return for a single query. The
|
@@ -139,18 +139,28 @@ module Google
|
|
139
139
|
# `k8s_service`
|
140
140
|
# `servicedirectory_service`
|
141
141
|
# `cloud_run_revision`
|
142
|
+
#
|
143
|
+
# Note: The following fields are mutually exclusive: `monitored_resource`, `resource_group`, `synthetic_monitor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
142
144
|
# @!attribute [rw] resource_group
|
143
145
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::ResourceGroup]
|
144
146
|
# The group resource associated with the configuration.
|
147
|
+
#
|
148
|
+
# Note: The following fields are mutually exclusive: `resource_group`, `monitored_resource`, `synthetic_monitor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
145
149
|
# @!attribute [rw] synthetic_monitor
|
146
150
|
# @return [::Google::Cloud::Monitoring::V3::SyntheticMonitorTarget]
|
147
151
|
# Specifies a Synthetic Monitor to invoke.
|
152
|
+
#
|
153
|
+
# Note: The following fields are mutually exclusive: `synthetic_monitor`, `monitored_resource`, `resource_group`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
148
154
|
# @!attribute [rw] http_check
|
149
155
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck]
|
150
156
|
# Contains information needed to make an HTTP or HTTPS check.
|
157
|
+
#
|
158
|
+
# Note: The following fields are mutually exclusive: `http_check`, `tcp_check`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
151
159
|
# @!attribute [rw] tcp_check
|
152
160
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::TcpCheck]
|
153
161
|
# Contains information needed to make a TCP check.
|
162
|
+
#
|
163
|
+
# Note: The following fields are mutually exclusive: `tcp_check`, `http_check`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
154
164
|
# @!attribute [rw] period
|
155
165
|
# @return [::Google::Protobuf::Duration]
|
156
166
|
# How often, in seconds, the Uptime check is performed.
|
@@ -347,9 +357,13 @@ module Google
|
|
347
357
|
# @!attribute [rw] status_value
|
348
358
|
# @return [::Integer]
|
349
359
|
# A status code to accept.
|
360
|
+
#
|
361
|
+
# Note: The following fields are mutually exclusive: `status_value`, `status_class`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
350
362
|
# @!attribute [rw] status_class
|
351
363
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ResponseStatusCode::StatusClass]
|
352
364
|
# A class of status codes to accept.
|
365
|
+
#
|
366
|
+
# Note: The following fields are mutually exclusive: `status_class`, `status_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
353
367
|
class ResponseStatusCode
|
354
368
|
include ::Google::Protobuf::MessageExts
|
355
369
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -161,7 +160,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
161
160
|
licenses:
|
162
161
|
- Apache-2.0
|
163
162
|
metadata: {}
|
164
|
-
post_install_message:
|
165
163
|
rdoc_options: []
|
166
164
|
require_paths:
|
167
165
|
- lib
|
@@ -169,15 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
169
167
|
requirements:
|
170
168
|
- - ">="
|
171
169
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
170
|
+
version: '3.0'
|
173
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
172
|
requirements:
|
175
173
|
- - ">="
|
176
174
|
- !ruby/object:Gem::Version
|
177
175
|
version: '0'
|
178
176
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
180
|
-
signing_key:
|
177
|
+
rubygems_version: 3.6.3
|
181
178
|
specification_version: 4
|
182
179
|
summary: Manages your Cloud Monitoring data and configurations.
|
183
180
|
test_files: []
|