google-cloud-monitoring-v3 1.0.1 → 1.1.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/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +10 -9
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +10 -10
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +2 -1
- data/lib/google/monitoring/v3/alert_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/notification_pb.rb +2 -1
- data/lib/google/monitoring/v3/notification_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/snooze_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/api/metric.rb +18 -0
- data/proto_docs/google/monitoring/v3/alert.rb +39 -20
- data/proto_docs/google/monitoring/v3/alert_service.rb +10 -9
- data/proto_docs/google/monitoring/v3/notification.rb +1 -1
- data/proto_docs/google/monitoring/v3/notification_service.rb +10 -10
- data/proto_docs/google/monitoring/v3/snooze.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e067d83342d54d01578abf4a8c8a84d9507429395d45789e652cbf8e0ff9e6d
|
4
|
+
data.tar.gz: ff907c0d3676bf54dfb12e8b613aff4071f406e524b420f8ece210eb6a0ed55e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e698b65d95b50a16ad089e69b348eb7c49486970dadf3c13a30d31158eb734fd527133e3d6ab99dc4eab018cdc41e6c57bc2107f7d6edad93893bfc10babff3f
|
7
|
+
data.tar.gz: 567f853b183d4d7b0d0f2f5fe29d355be158a814a98b791af8807d25014fd7f268645997d181711e4caecdb3918a3bc107bc598082974823b8c49489030e153a
|
@@ -221,24 +221,25 @@ module Google
|
|
221
221
|
# {::Google::Cloud::Monitoring::V3::AlertPolicyService::Client#get_alert_policy GetAlertPolicy}
|
222
222
|
# operation, instead.
|
223
223
|
# @param filter [::String]
|
224
|
-
# If provided, this field specifies the criteria that must be met
|
225
|
-
# alert policies to be included in the response.
|
224
|
+
# Optional. If provided, this field specifies the criteria that must be met
|
225
|
+
# by alert policies to be included in the response.
|
226
226
|
#
|
227
227
|
# For more details, see [sorting and
|
228
228
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
229
229
|
# @param order_by [::String]
|
230
|
-
# A comma-separated list of fields by which to sort the result.
|
231
|
-
# the same set of field references as the `filter` field. Entries
|
232
|
-
# prefixed with a minus sign to sort by the field in descending order.
|
230
|
+
# Optional. A comma-separated list of fields by which to sort the result.
|
231
|
+
# Supports the same set of field references as the `filter` field. Entries
|
232
|
+
# can be prefixed with a minus sign to sort by the field in descending order.
|
233
233
|
#
|
234
234
|
# For more details, see [sorting and
|
235
235
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
236
236
|
# @param page_size [::Integer]
|
237
|
-
# The maximum number of results to return in a single response.
|
237
|
+
# Optional. The maximum number of results to return in a single response.
|
238
238
|
# @param page_token [::String]
|
239
|
-
# If this field is not empty then it must contain the
|
240
|
-
# returned by a previous call to this method. Using
|
241
|
-
# method to return more results from the previous
|
239
|
+
# Optional. If this field is not empty then it must contain the
|
240
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
241
|
+
# this field causes the method to return more results from the previous
|
242
|
+
# method call.
|
242
243
|
#
|
243
244
|
# @yield [response, operation] Access the result along with the RPC operation
|
244
245
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Monitoring::V3::AlertPolicy>]
|
@@ -438,24 +438,24 @@ module Google
|
|
438
438
|
# {::Google::Cloud::Monitoring::V3::NotificationChannelService::Client#get_notification_channel `GetNotificationChannel`}
|
439
439
|
# operation.
|
440
440
|
# @param filter [::String]
|
441
|
-
# If provided, this field specifies the criteria that must be met
|
442
|
-
# notification channels to be included in the response.
|
441
|
+
# Optional. If provided, this field specifies the criteria that must be met
|
442
|
+
# by notification channels to be included in the response.
|
443
443
|
#
|
444
444
|
# For more details, see [sorting and
|
445
445
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
446
446
|
# @param order_by [::String]
|
447
|
-
# A comma-separated list of fields by which to sort the result.
|
448
|
-
# the same set of fields as in `filter`. Entries can be prefixed
|
449
|
-
# a minus sign to sort in descending rather than ascending order.
|
447
|
+
# Optional. A comma-separated list of fields by which to sort the result.
|
448
|
+
# Supports the same set of fields as in `filter`. Entries can be prefixed
|
449
|
+
# with a minus sign to sort in descending rather than ascending order.
|
450
450
|
#
|
451
451
|
# For more details, see [sorting and
|
452
452
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
453
453
|
# @param page_size [::Integer]
|
454
|
-
# The maximum number of results to return in a single response. If
|
454
|
+
# Optional. The maximum number of results to return in a single response. If
|
455
455
|
# not set to a positive number, a reasonable value will be chosen by the
|
456
456
|
# service.
|
457
457
|
# @param page_token [::String]
|
458
|
-
# If non-empty, `page_token` must contain a value returned as the
|
458
|
+
# Optional. If non-empty, `page_token` must contain a value returned as the
|
459
459
|
# `next_page_token` in a previous response to request the next set
|
460
460
|
# of results.
|
461
461
|
#
|
@@ -749,7 +749,7 @@ module Google
|
|
749
749
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
750
750
|
#
|
751
751
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
752
|
-
# The fields to update.
|
752
|
+
# Optional. The fields to update.
|
753
753
|
# @param notification_channel [::Google::Cloud::Monitoring::V3::NotificationChannel, ::Hash]
|
754
754
|
# Required. A description of the changes to be applied to the specified
|
755
755
|
# notification channel. The description must provide a definition for
|
@@ -851,8 +851,8 @@ module Google
|
|
851
851
|
# @param force [::Boolean]
|
852
852
|
# If true, the notification channel will be deleted regardless of its
|
853
853
|
# use in alert policies (the policies will be updated to remove the
|
854
|
-
# channel). If false,
|
855
|
-
#
|
854
|
+
# channel). If false, this operation will fail if the notification channel
|
855
|
+
# is referenced by existing alerting policies.
|
856
856
|
#
|
857
857
|
# @yield [response, operation] Access the result along with the RPC operation
|
858
858
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -13,7 +13,7 @@ require 'google/protobuf/wrappers_pb'
|
|
13
13
|
require 'google/rpc/status_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n google/monitoring/v3/alert.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\
|
16
|
+
descriptor_data = "\n google/monitoring/v3/alert.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xc6%\n\x0b\x41lertPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x46\n\rdocumentation\x18\r \x01(\x0b\x32/.google.monitoring.v3.AlertPolicy.Documentation\x12\x46\n\x0buser_labels\x18\x10 \x03(\x0b\x32\x31.google.monitoring.v3.AlertPolicy.UserLabelsEntry\x12?\n\nconditions\x18\x0c \x03(\x0b\x32+.google.monitoring.v3.AlertPolicy.Condition\x12I\n\x08\x63ombiner\x18\x06 \x01(\x0e\x32\x37.google.monitoring.v3.AlertPolicy.ConditionCombinerType\x12+\n\x07\x65nabled\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12$\n\x08validity\x18\x12 \x01(\x0b\x32\x12.google.rpc.Status\x12\x1d\n\x15notification_channels\x18\x0e \x03(\t\x12=\n\x0f\x63reation_record\x18\n \x01(\x0b\x32$.google.monitoring.v3.MutationRecord\x12=\n\x0fmutation_record\x18\x0b \x01(\x0b\x32$.google.monitoring.v3.MutationRecord\x12G\n\x0e\x61lert_strategy\x18\x15 \x01(\x0b\x32/.google.monitoring.v3.AlertPolicy.AlertStrategy\x12\x41\n\x08severity\x18\x16 \x01(\x0e\x32*.google.monitoring.v3.AlertPolicy.SeverityB\x03\xe0\x41\x01\x1a\xbe\x01\n\rDocumentation\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\x14\n\x07subject\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12H\n\x05links\x18\x04 \x03(\x0b\x32\x34.google.monitoring.v3.AlertPolicy.Documentation.LinkB\x03\xe0\x41\x01\x1a)\n\x04Link\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x1a\xf7\x15\n\tCondition\x12\x0c\n\x04name\x18\x0c \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12Z\n\x13\x63ondition_threshold\x18\x01 \x01(\x0b\x32;.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdH\x00\x12U\n\x10\x63ondition_absent\x18\x02 \x01(\x0b\x32\x39.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceH\x00\x12U\n\x15\x63ondition_matched_log\x18\x14 \x01(\x0b\x32\x34.google.monitoring.v3.AlertPolicy.Condition.LogMatchH\x00\x12{\n#condition_monitoring_query_language\x18\x13 \x01(\x0b\x32L.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionH\x00\x12{\n#condition_prometheus_query_language\x18\x15 \x01(\x0b\x32L.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageConditionH\x00\x1a\x35\n\x07Trigger\x12\x0f\n\x05\x63ount\x18\x01 \x01(\x05H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x01H\x00\x42\x06\n\x04type\x1a\x9e\x05\n\x0fMetricThreshold\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x0c\x61ggregations\x18\x08 \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12\x1a\n\x12\x64\x65nominator_filter\x18\t \x01(\t\x12\x43\n\x18\x64\x65nominator_aggregations\x18\n \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12\x65\n\x10\x66orecast_options\x18\x0c \x01(\x0b\x32K.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.ForecastOptions\x12\x38\n\ncomparison\x18\x04 \x01(\x0e\x32$.google.monitoring.v3.ComparisonType\x12\x17\n\x0fthreshold_value\x18\x05 \x01(\x01\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x07 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x12\x62\n\x17\x65valuation_missing_data\x18\x0b \x01(\x0e\x32\x41.google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData\x1aK\n\x0f\x46orecastOptions\x12\x38\n\x10\x66orecast_horizon\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\xd0\x01\n\rMetricAbsence\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x0c\x61ggregations\x18\x05 \x03(\x0b\x32!.google.monitoring.v3.Aggregation\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x03 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x1a\xbc\x01\n\x08LogMatch\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x10label_extractors\x18\x02 \x03(\x0b\x32I.google.monitoring.v3.AlertPolicy.Condition.LogMatch.LabelExtractorsEntry\x1a\x36\n\x14LabelExtractorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x88\x02\n MonitoringQueryLanguageCondition\x12\r\n\x05query\x18\x01 \x01(\t\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x07trigger\x18\x03 \x01(\x0b\x32\x33.google.monitoring.v3.AlertPolicy.Condition.Trigger\x12\x62\n\x17\x65valuation_missing_data\x18\x04 \x01(\x0e\x32\x41.google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData\x1a\xf5\x02\n PrometheusQueryLanguageCondition\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12;\n\x13\x65valuation_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12m\n\x06labels\x18\x04 \x03(\x0b\x32X.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition.LabelsEntryB\x03\xe0\x41\x01\x12\x17\n\nrule_group\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nalert_rule\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n\x15\x45valuationMissingData\x12\'\n#EVALUATION_MISSING_DATA_UNSPECIFIED\x10\x00\x12$\n EVALUATION_MISSING_DATA_INACTIVE\x10\x01\x12\"\n\x1e\x45VALUATION_MISSING_DATA_ACTIVE\x10\x02\x12!\n\x1d\x45VALUATION_MISSING_DATA_NO_OP\x10\x03:\x97\x02\xea\x41\x93\x02\n.monitoring.googleapis.com/AlertPolicyCondition\x12\x46projects/{project}/alertPolicies/{alert_policy}/conditions/{condition}\x12Porganizations/{organization}/alertPolicies/{alert_policy}/conditions/{condition}\x12\x44\x66olders/{folder}/alertPolicies/{alert_policy}/conditions/{condition}\x12\x01*B\x0b\n\tcondition\x1a\x8c\x05\n\rAlertStrategy\x12\x66\n\x17notification_rate_limit\x18\x01 \x01(\x0b\x32\x45.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit\x12`\n\x14notification_prompts\x18\x02 \x03(\x0e\x32\x42.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt\x12-\n\nauto_close\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12r\n\x1dnotification_channel_strategy\x18\x04 \x03(\x0b\x32K.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy\x1a\x42\n\x15NotificationRateLimit\x12)\n\x06period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1aw\n\x1bNotificationChannelStrategy\x12\"\n\x1anotification_channel_names\x18\x01 \x03(\t\x12\x34\n\x11renotify_interval\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"Q\n\x12NotificationPrompt\x12#\n\x1fNOTIFICATION_PROMPT_UNSPECIFIED\x10\x00\x12\n\n\x06OPENED\x10\x01\x12\n\n\x06\x43LOSED\x10\x03\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x15\x43onditionCombinerType\x12\x17\n\x13\x43OMBINE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41ND\x10\x01\x12\x06\n\x02OR\x10\x02\x12\x1e\n\x1a\x41ND_WITH_MATCHING_RESOURCE\x10\x03\"J\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03:\xc9\x01\xea\x41\xc5\x01\n%monitoring.googleapis.com/AlertPolicy\x12/projects/{project}/alertPolicies/{alert_policy}\x12\x39organizations/{organization}/alertPolicies/{alert_policy}\x12-folders/{folder}/alertPolicies/{alert_policy}\x12\x01*B\xc5\x01\n\x18\x63om.google.monitoring.v3B\nAlertProtoP\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"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -63,6 +63,7 @@ module Google
|
|
63
63
|
AlertPolicy::AlertStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy").msgclass
|
64
64
|
AlertPolicy::AlertStrategy::NotificationRateLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit").msgclass
|
65
65
|
AlertPolicy::AlertStrategy::NotificationChannelStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy").msgclass
|
66
|
+
AlertPolicy::AlertStrategy::NotificationPrompt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt").enummodule
|
66
67
|
AlertPolicy::ConditionCombinerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.ConditionCombinerType").enummodule
|
67
68
|
AlertPolicy::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Severity").enummodule
|
68
69
|
end
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n(google/monitoring/v3/alert_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/monitoring/v3/alert.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x95\x01\n\x18\x43reateAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%monitoring.googleapis.com/AlertPolicy\x12<\n\x0c\x61lert_policy\x18\x02 \x01(\x0b\x32!.google.monitoring.v3.AlertPolicyB\x03\xe0\x41\x02\"T\n\x15GetAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy\"\
|
16
|
+
descriptor_data = "\n(google/monitoring/v3/alert_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/monitoring/v3/alert.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x95\x01\n\x18\x43reateAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%monitoring.googleapis.com/AlertPolicy\x12<\n\x0c\x61lert_policy\x18\x02 \x01(\x0b\x32!.google.monitoring.v3.AlertPolicyB\x03\xe0\x41\x02\"T\n\x15GetAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy\"\xb4\x01\n\x18ListAlertPoliciesRequest\x12;\n\x04name\x18\x04 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%monitoring.googleapis.com/AlertPolicy\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x19ListAlertPoliciesResponse\x12\x39\n\x0e\x61lert_policies\x18\x03 \x03(\x0b\x32!.google.monitoring.v3.AlertPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\x8e\x01\n\x18UpdateAlertPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12<\n\x0c\x61lert_policy\x18\x03 \x01(\x0b\x32!.google.monitoring.v3.AlertPolicyB\x03\xe0\x41\x02\"W\n\x18\x44\x65leteAlertPolicyRequest\x12;\n\x04name\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy2\x9e\x08\n\x12\x41lertPolicyService\x12\xa8\x01\n\x11ListAlertPolicies\x12..google.monitoring.v3.ListAlertPoliciesRequest\x1a/.google.monitoring.v3.ListAlertPoliciesResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v3/{name=projects/*}/alertPolicies\x12\x96\x01\n\x0eGetAlertPolicy\x12+.google.monitoring.v3.GetAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v3/{name=projects/*/alertPolicies/*}\x12\xb5\x01\n\x11\x43reateAlertPolicy\x12..google.monitoring.v3.CreateAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"M\xda\x41\x11name,alert_policy\x82\xd3\xe4\x93\x02\x33\"#/v3/{name=projects/*}/alertPolicies:\x0c\x61lert_policy\x12\x91\x01\n\x11\x44\x65leteAlertPolicy\x12..google.monitoring.v3.DeleteAlertPolicyRequest\x1a\x16.google.protobuf.Empty\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'*%/v3/{name=projects/*/alertPolicies/*}\x12\xcb\x01\n\x11UpdateAlertPolicy\x12..google.monitoring.v3.UpdateAlertPolicyRequest\x1a!.google.monitoring.v3.AlertPolicy\"c\xda\x41\x18update_mask,alert_policy\x82\xd3\xe4\x93\x02\x42\x32\x32/v3/{alert_policy.name=projects/*/alertPolicies/*}:\x0c\x61lert_policy\x1a\xa9\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\x89\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.readB\xcc\x01\n\x18\x63om.google.monitoring.v3B\x11\x41lertServiceProtoP\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"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/api/label_pb'
|
8
9
|
require 'google/api/launch_stage_pb'
|
9
10
|
require 'google/api/resource_pb'
|
@@ -12,7 +13,7 @@ require 'google/monitoring/v3/mutation_record_pb'
|
|
12
13
|
require 'google/protobuf/wrappers_pb'
|
13
14
|
|
14
15
|
|
15
|
-
descriptor_data = "\n\'google/monitoring/v3/notification.proto\x12\x14google.monitoring.v3\x1a\x16google/api/label.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa5\x04\n\x1dNotificationChannelDescriptor\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12+\n\x06labels\x18\x04 \x03(\x0b\x32\x1b.google.api.LabelDescriptor\x12>\n\x0fsupported_tiers\x18\x05 \x03(\x0e\x32!.google.monitoring.v3.ServiceTierB\x02\x18\x01\x12-\n\x0claunch_stage\x18\x07 \x01(\x0e\x32\x17.google.api.LaunchStage:\xa0\x02\xea\x41\x9c\x02\n7monitoring.googleapis.com/NotificationChannelDescriptor\x12\x46projects/{project}/notificationChannelDescriptors/{channel_descriptor}\x12Porganizations/{organization}/notificationChannelDescriptors/{channel_descriptor}\x12\x44\x66olders/{folder}/notificationChannelDescriptors/{channel_descriptor}\x12\x01*\"\
|
16
|
+
descriptor_data = "\n\'google/monitoring/v3/notification.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x16google/api/label.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a!google/monitoring/v3/common.proto\x1a*google/monitoring/v3/mutation_record.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa5\x04\n\x1dNotificationChannelDescriptor\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12+\n\x06labels\x18\x04 \x03(\x0b\x32\x1b.google.api.LabelDescriptor\x12>\n\x0fsupported_tiers\x18\x05 \x03(\x0e\x32!.google.monitoring.v3.ServiceTierB\x02\x18\x01\x12-\n\x0claunch_stage\x18\x07 \x01(\x0e\x32\x17.google.api.LaunchStage:\xa0\x02\xea\x41\x9c\x02\n7monitoring.googleapis.com/NotificationChannelDescriptor\x12\x46projects/{project}/notificationChannelDescriptors/{channel_descriptor}\x12Porganizations/{organization}/notificationChannelDescriptors/{channel_descriptor}\x12\x44\x66olders/{folder}/notificationChannelDescriptors/{channel_descriptor}\x12\x01*\"\xbb\x07\n\x13NotificationChannel\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x06 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x45\n\x06labels\x18\x05 \x03(\x0b\x32\x35.google.monitoring.v3.NotificationChannel.LabelsEntry\x12N\n\x0buser_labels\x18\x08 \x03(\x0b\x32\x39.google.monitoring.v3.NotificationChannel.UserLabelsEntry\x12Y\n\x13verification_status\x18\t \x01(\x0e\x32<.google.monitoring.v3.NotificationChannel.VerificationStatus\x12+\n\x07\x65nabled\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12=\n\x0f\x63reation_record\x18\x0c \x01(\x0b\x32$.google.monitoring.v3.MutationRecord\x12>\n\x10mutation_records\x18\r \x03(\x0b\x32$.google.monitoring.v3.MutationRecord\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"W\n\x12VerificationStatus\x12#\n\x1fVERIFICATION_STATUS_UNSPECIFIED\x10\x00\x12\x0e\n\nUNVERIFIED\x10\x01\x12\x0c\n\x08VERIFIED\x10\x02:\xfe\x01\xea\x41\xfa\x01\n-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}\x12Horganizations/{organization}/notificationChannels/{notification_channel}\x12<folders/{folder}/notificationChannels/{notification_channel}\x12\x01*B\xcc\x01\n\x18\x63om.google.monitoring.v3B\x11NotificationProtoP\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"
|
16
17
|
|
17
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
19
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/field_mask_pb'
|
|
14
14
|
require 'google/protobuf/timestamp_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n/google/monitoring/v3/notification_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/monitoring/v3/notification.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x01\n)ListNotificationChannelDescriptorsRequest\x12M\n\x04name\x18\x04 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\x12\x37monitoring.googleapis.com/NotificationChannelDescriptor\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n*ListNotificationChannelDescriptorsResponse\x12P\n\x13\x63hannel_descriptors\x18\x01 \x03(\x0b\x32\x33.google.monitoring.v3.NotificationChannelDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\'GetNotificationChannelDescriptorRequest\x12M\n\x04name\x18\x03 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7monitoring.googleapis.com/NotificationChannelDescriptor\"\xb5\x01\n CreateNotificationChannelRequest\x12\x43\n\x04name\x18\x03 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-monitoring.googleapis.com/NotificationChannel\x12L\n\x14notification_channel\x18\x02 \x01(\x0b\x32).google.monitoring.v3.NotificationChannelB\x03\xe0\x41\x02\"\
|
17
|
+
descriptor_data = "\n/google/monitoring/v3/notification_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/monitoring/v3/notification.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x01\n)ListNotificationChannelDescriptorsRequest\x12M\n\x04name\x18\x04 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\x12\x37monitoring.googleapis.com/NotificationChannelDescriptor\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n*ListNotificationChannelDescriptorsResponse\x12P\n\x13\x63hannel_descriptors\x18\x01 \x03(\x0b\x32\x33.google.monitoring.v3.NotificationChannelDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\'GetNotificationChannelDescriptorRequest\x12M\n\x04name\x18\x03 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7monitoring.googleapis.com/NotificationChannelDescriptor\"\xb5\x01\n CreateNotificationChannelRequest\x12\x43\n\x04name\x18\x03 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-monitoring.googleapis.com/NotificationChannel\x12L\n\x14notification_channel\x18\x02 \x01(\x0b\x32).google.monitoring.v3.NotificationChannelB\x03\xe0\x41\x02\"\xc3\x01\n\x1fListNotificationChannelsRequest\x12\x43\n\x04name\x18\x05 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-monitoring.googleapis.com/NotificationChannel\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x07 \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\"\x99\x01\n ListNotificationChannelsResponse\x12H\n\x15notification_channels\x18\x03 \x03(\x0b\x32).google.monitoring.v3.NotificationChannel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"d\n\x1dGetNotificationChannelRequest\x12\x43\n\x04name\x18\x03 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\"\xa6\x01\n UpdateNotificationChannelRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12L\n\x14notification_channel\x18\x03 \x01(\x0b\x32).google.monitoring.v3.NotificationChannelB\x03\xe0\x41\x02\"v\n DeleteNotificationChannelRequest\x12\x43\n\x04name\x18\x03 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\x12\r\n\x05\x66orce\x18\x05 \x01(\x08\"u\n.SendNotificationChannelVerificationCodeRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\"\xa5\x01\n-GetNotificationChannelVerificationCodeRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\x12/\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n.GetNotificationChannelVerificationCodeResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12/\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"z\n VerifyNotificationChannelRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-monitoring.googleapis.com/NotificationChannel\x12\x11\n\x04\x63ode\x18\x02 \x01(\tB\x03\xe0\x41\x02\x32\xea\x12\n\x1aNotificationChannelService\x12\xec\x01\n\"ListNotificationChannelDescriptors\x12?.google.monitoring.v3.ListNotificationChannelDescriptorsRequest\x1a@.google.monitoring.v3.ListNotificationChannelDescriptorsResponse\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v3/{name=projects/*}/notificationChannelDescriptors\x12\xdd\x01\n GetNotificationChannelDescriptor\x12=.google.monitoring.v3.GetNotificationChannelDescriptorRequest\x1a\x33.google.monitoring.v3.NotificationChannelDescriptor\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{name=projects/*/notificationChannelDescriptors/*}\x12\xc4\x01\n\x18ListNotificationChannels\x12\x35.google.monitoring.v3.ListNotificationChannelsRequest\x1a\x36.google.monitoring.v3.ListNotificationChannelsResponse\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v3/{name=projects/*}/notificationChannels\x12\xb5\x01\n\x16GetNotificationChannel\x12\x33.google.monitoring.v3.GetNotificationChannelRequest\x1a).google.monitoring.v3.NotificationChannel\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v3/{name=projects/*/notificationChannels/*}\x12\xe4\x01\n\x19\x43reateNotificationChannel\x12\x36.google.monitoring.v3.CreateNotificationChannelRequest\x1a).google.monitoring.v3.NotificationChannel\"d\xda\x41\x19name,notification_channel\x82\xd3\xe4\x93\x02\x42\"*/v3/{name=projects/*}/notificationChannels:\x14notification_channel\x12\x83\x02\n\x19UpdateNotificationChannel\x12\x36.google.monitoring.v3.UpdateNotificationChannelRequest\x1a).google.monitoring.v3.NotificationChannel\"\x82\x01\xda\x41 update_mask,notification_channel\x82\xd3\xe4\x93\x02Y2A/v3/{notification_channel.name=projects/*/notificationChannels/*}:\x14notification_channel\x12\xae\x01\n\x19\x44\x65leteNotificationChannel\x12\x36.google.monitoring.v3.DeleteNotificationChannelRequest\x1a\x16.google.protobuf.Empty\"A\xda\x41\nname,force\x82\xd3\xe4\x93\x02.*,/v3/{name=projects/*/notificationChannels/*}\x12\xdc\x01\n\'SendNotificationChannelVerificationCode\x12\x44.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest\x1a\x16.google.protobuf.Empty\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\"A/v3/{name=projects/*/notificationChannels/*}:sendVerificationCode:\x01*\x12\x87\x02\n&GetNotificationChannelVerificationCode\x12\x43.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest\x1a\x44.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\"@/v3/{name=projects/*/notificationChannels/*}:getVerificationCode:\x01*\x12\xca\x01\n\x19VerifyNotificationChannel\x12\x36.google.monitoring.v3.VerifyNotificationChannelRequest\x1a).google.monitoring.v3.NotificationChannel\"J\xda\x41\tname,code\x82\xd3\xe4\x93\x02\x38\"3/v3/{name=projects/*/notificationChannels/*}:verify:\x01*\x1a\xa9\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\x89\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.readB\xd3\x01\n\x18\x63om.google.monitoring.v3B\x18NotificationServiceProtoP\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"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -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\"\xc5\x02\n\x06Snooze\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\
|
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\"\xc5\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\x1aH\n\x08\x43riteria\x12<\n\x08policies\x18\x01 \x03(\tB*\xfa\x41\'\n%monitoring.googleapis.com/AlertPolicy: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
|
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -200,9 +200,27 @@ module Google
|
|
200
200
|
# The delay of data points caused by ingestion. Data points older than this
|
201
201
|
# age are guaranteed to be ingested and available to be read, excluding
|
202
202
|
# data loss due to errors.
|
203
|
+
# @!attribute [rw] time_series_resource_hierarchy_level
|
204
|
+
# @return [::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>]
|
205
|
+
# The scope of the timeseries data of the metric.
|
203
206
|
class MetricDescriptorMetadata
|
204
207
|
include ::Google::Protobuf::MessageExts
|
205
208
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
|
210
|
+
# The resource hierarchy level of the timeseries data of a metric.
|
211
|
+
module TimeSeriesResourceHierarchyLevel
|
212
|
+
# Do not use this default value.
|
213
|
+
TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED = 0
|
214
|
+
|
215
|
+
# Scopes a metric to a project.
|
216
|
+
PROJECT = 1
|
217
|
+
|
218
|
+
# Scopes a metric to an organization.
|
219
|
+
ORGANIZATION = 2
|
220
|
+
|
221
|
+
# Scopes a metric to a folder.
|
222
|
+
FOLDER = 3
|
223
|
+
end
|
206
224
|
end
|
207
225
|
|
208
226
|
# The kind of measurement. It describes how the data is reported.
|
@@ -23,12 +23,12 @@ module Google
|
|
23
23
|
module V3
|
24
24
|
# A description of the conditions under which some aspect of your system is
|
25
25
|
# considered to be "unhealthy" and the ways to notify people or services about
|
26
|
-
# this state. For an overview of
|
26
|
+
# this state. For an overview of alerting policies, see
|
27
27
|
# [Introduction to Alerting](https://cloud.google.com/monitoring/alerts/).
|
28
28
|
# @!attribute [rw] name
|
29
29
|
# @return [::String]
|
30
|
-
# Required if the policy exists. The resource name for this
|
31
|
-
# format is:
|
30
|
+
# Identifier. Required if the policy exists. The resource name for this
|
31
|
+
# policy. The format is:
|
32
32
|
#
|
33
33
|
# projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
|
34
34
|
#
|
@@ -97,9 +97,9 @@ module Google
|
|
97
97
|
# a field projection has been specified that strips it out.
|
98
98
|
# @!attribute [rw] validity
|
99
99
|
# @return [::Google::Rpc::Status]
|
100
|
-
# Read-only description of how the
|
101
|
-
# only set when the
|
102
|
-
# generate incidents.
|
100
|
+
# Read-only description of how the alerting policy is invalid. This field is
|
101
|
+
# only set when the alerting policy is invalid. An invalid alerting policy
|
102
|
+
# will not generate incidents.
|
103
103
|
# @!attribute [rw] notification_channels
|
104
104
|
# @return [::Array<::String>]
|
105
105
|
# Identifies the notification channels to which notifications should be sent
|
@@ -122,12 +122,12 @@ module Google
|
|
122
122
|
# provided in a call to create or update, this field will be ignored.
|
123
123
|
# @!attribute [rw] alert_strategy
|
124
124
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy]
|
125
|
-
# Control over how this
|
125
|
+
# Control over how this alerting policy's notification channels are notified.
|
126
126
|
# @!attribute [rw] severity
|
127
127
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Severity]
|
128
|
-
# Optional. The severity of an
|
129
|
-
# generated by that policy are. The severity level will be
|
130
|
-
# Incident detail page and in notifications.
|
128
|
+
# Optional. The severity of an alerting policy indicates how important
|
129
|
+
# incidents generated by that policy are. The severity level will be
|
130
|
+
# displayed on the Incident detail page and in notifications.
|
131
131
|
class AlertPolicy
|
132
132
|
include ::Google::Protobuf::MessageExts
|
133
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
# The content may not exceed 8,192 Unicode characters and may not exceed
|
141
141
|
# more than 10,240 bytes when encoded in UTF-8 format, whichever is
|
142
142
|
# smaller. This text can be [templatized by using
|
143
|
-
# variables](https://cloud.google.com/monitoring/alerts/doc-variables).
|
143
|
+
# variables](https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars).
|
144
144
|
# @!attribute [rw] mime_type
|
145
145
|
# @return [::String]
|
146
146
|
# The format of the `content` field. Presently, only the value
|
@@ -158,7 +158,7 @@ module Google
|
|
158
158
|
# it is common to define textual fields in databases as VARCHAR(255).
|
159
159
|
#
|
160
160
|
# The contents of the subject line can be [templatized by using
|
161
|
-
# variables](https://cloud.google.com/monitoring/alerts/doc-variables).
|
161
|
+
# variables](https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars).
|
162
162
|
# If this field is missing or empty, a default subject line will be
|
163
163
|
# generated.
|
164
164
|
# @!attribute [rw] links
|
@@ -460,7 +460,7 @@ module Google
|
|
460
460
|
end
|
461
461
|
end
|
462
462
|
|
463
|
-
# A condition type that allows
|
463
|
+
# A condition type that allows alerting policies to be defined using
|
464
464
|
# [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
|
465
465
|
# @!attribute [rw] query
|
466
466
|
# @return [::String]
|
@@ -495,7 +495,7 @@ module Google
|
|
495
495
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
496
496
|
end
|
497
497
|
|
498
|
-
# A condition type that allows
|
498
|
+
# A condition type that allows alerting policies to be defined using
|
499
499
|
# [Prometheus Query Language
|
500
500
|
# (PromQL)](https://prometheus.io/docs/prometheus/latest/querying/basics/).
|
501
501
|
#
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
# Label names [must be
|
554
554
|
# valid](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
|
555
555
|
# Label values can be [templatized by using
|
556
|
-
# variables](https://cloud.google.com/monitoring/alerts/doc-variables).
|
556
|
+
# variables](https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars).
|
557
557
|
# The only available variable names are the names of the labels in the
|
558
558
|
# PromQL result, including "__name__" and "value". "labels" may be empty.
|
559
559
|
# @!attribute [rw] rule_group
|
@@ -624,12 +624,19 @@ module Google
|
|
624
624
|
# are notified when this alert fires.
|
625
625
|
# @!attribute [rw] notification_rate_limit
|
626
626
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationRateLimit]
|
627
|
-
# Required for
|
627
|
+
# Required for log-based alerting policies, i.e. policies with a `LogMatch`
|
628
|
+
# condition.
|
628
629
|
#
|
629
|
-
# This limit is not implemented for
|
630
|
+
# This limit is not implemented for alerting policies that do not have
|
631
|
+
# a LogMatch condition.
|
632
|
+
# @!attribute [rw] notification_prompts
|
633
|
+
# @return [::Array<::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationPrompt>]
|
634
|
+
# For log-based alert policies, the notification prompts is always
|
635
|
+
# [OPENED]. For non log-based alert policies, the notification prompts can
|
636
|
+
# be [OPENED] or [OPENED, CLOSED].
|
630
637
|
# @!attribute [rw] auto_close
|
631
638
|
# @return [::Google::Protobuf::Duration]
|
632
|
-
# If an
|
639
|
+
# If an alerting policy that was active has no data for this long, any open
|
633
640
|
# incidents will close
|
634
641
|
# @!attribute [rw] notification_channel_strategy
|
635
642
|
# @return [::Array<::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationChannelStrategy>]
|
@@ -638,7 +645,7 @@ module Google
|
|
638
645
|
include ::Google::Protobuf::MessageExts
|
639
646
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
640
647
|
|
641
|
-
# Control over the rate of notifications sent to this
|
648
|
+
# Control over the rate of notifications sent to this alerting policy's
|
642
649
|
# notification channels.
|
643
650
|
# @!attribute [rw] period
|
644
651
|
# @return [::Google::Protobuf::Duration]
|
@@ -667,6 +674,18 @@ module Google
|
|
667
674
|
include ::Google::Protobuf::MessageExts
|
668
675
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
669
676
|
end
|
677
|
+
|
678
|
+
# Control when notifications will be sent out.
|
679
|
+
module NotificationPrompt
|
680
|
+
# No strategy specified. Treated as error.
|
681
|
+
NOTIFICATION_PROMPT_UNSPECIFIED = 0
|
682
|
+
|
683
|
+
# Notify when an incident is opened.
|
684
|
+
OPENED = 1
|
685
|
+
|
686
|
+
# Notify when an incident is closed.
|
687
|
+
CLOSED = 3
|
688
|
+
end
|
670
689
|
end
|
671
690
|
|
672
691
|
# @!attribute [rw] key
|
@@ -699,7 +718,7 @@ module Google
|
|
699
718
|
AND_WITH_MATCHING_RESOURCE = 3
|
700
719
|
end
|
701
720
|
|
702
|
-
# An enumeration of possible severity level for an
|
721
|
+
# An enumeration of possible severity level for an alerting policy.
|
703
722
|
module Severity
|
704
723
|
# No severity is specified. This is the default value.
|
705
724
|
SEVERITY_UNSPECIFIED = 0
|
@@ -74,27 +74,28 @@ module Google
|
|
74
74
|
# operation, instead.
|
75
75
|
# @!attribute [rw] filter
|
76
76
|
# @return [::String]
|
77
|
-
# If provided, this field specifies the criteria that must be met
|
78
|
-
# alert policies to be included in the response.
|
77
|
+
# Optional. If provided, this field specifies the criteria that must be met
|
78
|
+
# by alert policies to be included in the response.
|
79
79
|
#
|
80
80
|
# For more details, see [sorting and
|
81
81
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
82
82
|
# @!attribute [rw] order_by
|
83
83
|
# @return [::String]
|
84
|
-
# A comma-separated list of fields by which to sort the result.
|
85
|
-
# the same set of field references as the `filter` field. Entries
|
86
|
-
# prefixed with a minus sign to sort by the field in descending order.
|
84
|
+
# Optional. A comma-separated list of fields by which to sort the result.
|
85
|
+
# Supports the same set of field references as the `filter` field. Entries
|
86
|
+
# can be prefixed with a minus sign to sort by the field in descending order.
|
87
87
|
#
|
88
88
|
# For more details, see [sorting and
|
89
89
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
90
90
|
# @!attribute [rw] page_size
|
91
91
|
# @return [::Integer]
|
92
|
-
# The maximum number of results to return in a single response.
|
92
|
+
# Optional. The maximum number of results to return in a single response.
|
93
93
|
# @!attribute [rw] page_token
|
94
94
|
# @return [::String]
|
95
|
-
# If this field is not empty then it must contain the
|
96
|
-
# returned by a previous call to this method. Using
|
97
|
-
# method to return more results from the previous
|
95
|
+
# Optional. If this field is not empty then it must contain the
|
96
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
97
|
+
# this field causes the method to return more results from the previous
|
98
|
+
# method call.
|
98
99
|
class ListAlertPoliciesRequest
|
99
100
|
include ::Google::Protobuf::MessageExts
|
100
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# field.
|
79
79
|
# @!attribute [rw] name
|
80
80
|
# @return [::String]
|
81
|
-
# The full REST resource name for this channel. The format is:
|
81
|
+
# Identifier. The full REST resource name for this channel. The format is:
|
82
82
|
#
|
83
83
|
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
|
84
84
|
#
|
@@ -115,27 +115,27 @@ module Google
|
|
115
115
|
# operation.
|
116
116
|
# @!attribute [rw] filter
|
117
117
|
# @return [::String]
|
118
|
-
# If provided, this field specifies the criteria that must be met
|
119
|
-
# notification channels to be included in the response.
|
118
|
+
# Optional. If provided, this field specifies the criteria that must be met
|
119
|
+
# by notification channels to be included in the response.
|
120
120
|
#
|
121
121
|
# For more details, see [sorting and
|
122
122
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
123
123
|
# @!attribute [rw] order_by
|
124
124
|
# @return [::String]
|
125
|
-
# A comma-separated list of fields by which to sort the result.
|
126
|
-
# the same set of fields as in `filter`. Entries can be prefixed
|
127
|
-
# a minus sign to sort in descending rather than ascending order.
|
125
|
+
# Optional. A comma-separated list of fields by which to sort the result.
|
126
|
+
# Supports the same set of fields as in `filter`. Entries can be prefixed
|
127
|
+
# with a minus sign to sort in descending rather than ascending order.
|
128
128
|
#
|
129
129
|
# For more details, see [sorting and
|
130
130
|
# filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
131
131
|
# @!attribute [rw] page_size
|
132
132
|
# @return [::Integer]
|
133
|
-
# The maximum number of results to return in a single response. If
|
133
|
+
# Optional. The maximum number of results to return in a single response. If
|
134
134
|
# not set to a positive number, a reasonable value will be chosen by the
|
135
135
|
# service.
|
136
136
|
# @!attribute [rw] page_token
|
137
137
|
# @return [::String]
|
138
|
-
# If non-empty, `page_token` must contain a value returned as the
|
138
|
+
# Optional. If non-empty, `page_token` must contain a value returned as the
|
139
139
|
# `next_page_token` in a previous response to request the next set
|
140
140
|
# of results.
|
141
141
|
class ListNotificationChannelsRequest
|
@@ -176,7 +176,7 @@ module Google
|
|
176
176
|
# The `UpdateNotificationChannel` request.
|
177
177
|
# @!attribute [rw] update_mask
|
178
178
|
# @return [::Google::Protobuf::FieldMask]
|
179
|
-
# The fields to update.
|
179
|
+
# Optional. The fields to update.
|
180
180
|
# @!attribute [rw] notification_channel
|
181
181
|
# @return [::Google::Cloud::Monitoring::V3::NotificationChannel]
|
182
182
|
# Required. A description of the changes to be applied to the specified
|
@@ -198,8 +198,8 @@ module Google
|
|
198
198
|
# @return [::Boolean]
|
199
199
|
# If true, the notification channel will be deleted regardless of its
|
200
200
|
# use in alert policies (the policies will be updated to remove the
|
201
|
-
# channel). If false,
|
202
|
-
#
|
201
|
+
# channel). If false, this operation will fail if the notification channel
|
202
|
+
# is referenced by existing alerting policies.
|
203
203
|
class DeleteNotificationChannelRequest
|
204
204
|
include ::Google::Protobuf::MessageExts
|
205
205
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# `interval.start_time` through `interval.end_time`.
|
28
28
|
# @!attribute [rw] name
|
29
29
|
# @return [::String]
|
30
|
-
# Required. The name of the `Snooze`. The format is:
|
30
|
+
# Required. Identifier. The name of the `Snooze`. The format is:
|
31
31
|
#
|
32
32
|
# projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID]
|
33
33
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.5.
|
177
|
+
rubygems_version: 3.5.23
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: Manages your Cloud Monitoring data and configurations.
|