google-cloud-monitoring-v3 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +8 -7
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +6 -1
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +1 -1
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +9 -1
- data/lib/google/monitoring/v3/metric_pb.rb +1 -1
- data/lib/google/monitoring/v3/metric_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/query_service_pb.rb +1 -1
- data/lib/google/monitoring/v3/query_service_services_pb.rb +4 -1
- data/lib/google/monitoring/v3/uptime_pb.rb +2 -1
- data/lib/google/monitoring/v3/uptime_service_services_pb.rb +1 -1
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/monitoring/v3/alert.rb +121 -0
- data/proto_docs/google/monitoring/v3/metric.rb +8 -1
- data/proto_docs/google/monitoring/v3/metric_service.rb +16 -9
- data/proto_docs/google/monitoring/v3/service.rb +1 -1
- data/proto_docs/google/monitoring/v3/uptime.rb +4 -3
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb8db4740a01447d21e456245a2d5fa19f7379b506302cc3ec929b29f536a2fc
|
4
|
+
data.tar.gz: d405c769e42470dc395e5b91f74166342b449c98803df469dd0167149df661c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e355a0f5d23f95991ef730f0463dac289a4b5516157a088970818a1b1b1281a2a1eb4cdec98944a657c5229147dbbee5297620f63b58f9ed9595daefce30805
|
7
|
+
data.tar.gz: c706b1b9d9066e83415d23eb559d44ecc1d254d35882bddc8926640451153f76fc769961aa2ced2925d1a72fabc98e83ca74dbb64f9228e2263cb340be1676ee
|
@@ -441,7 +441,7 @@ module Google
|
|
441
441
|
#
|
442
442
|
# projects/[PROJECT_ID_OR_NUMBER]
|
443
443
|
# @param filter [::String]
|
444
|
-
# If this field is empty, all custom and
|
444
|
+
# Optional. If this field is empty, all custom and
|
445
445
|
# system-defined metric descriptors are returned.
|
446
446
|
# Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
|
447
447
|
# specifies which metric descriptors are to be
|
@@ -450,13 +450,14 @@ module Google
|
|
450
450
|
#
|
451
451
|
# metric.type = starts_with("custom.googleapis.com/")
|
452
452
|
# @param page_size [::Integer]
|
453
|
-
# A positive number that is the maximum number of results to
|
454
|
-
# default and maximum value is 10,000. If a page_size <= 0 or >
|
455
|
-
# submitted, will instead return a maximum of 10,000 results.
|
453
|
+
# Optional. A positive number that is the maximum number of results to
|
454
|
+
# return. The default and maximum value is 10,000. If a page_size <= 0 or >
|
455
|
+
# 10,000 is submitted, will instead return a maximum of 10,000 results.
|
456
456
|
# @param page_token [::String]
|
457
|
-
# If this field is not empty then it must contain the
|
458
|
-
# returned by a previous call to this method. Using
|
459
|
-
# method to return additional results from the previous
|
457
|
+
# Optional. If this field is not empty then it must contain the
|
458
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
459
|
+
# this field causes the method to return additional results from the previous
|
460
|
+
# method call.
|
460
461
|
#
|
461
462
|
# @yield [response, operation] Access the result along with the RPC operation
|
462
463
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Api::MetricDescriptor>]
|
@@ -184,7 +184,12 @@ module Google
|
|
184
184
|
# Service calls
|
185
185
|
|
186
186
|
##
|
187
|
-
# Queries time series using Monitoring Query Language.
|
187
|
+
# Queries time series by using Monitoring Query Language (MQL). We recommend
|
188
|
+
# using PromQL instead of MQL. For more information about the status of MQL,
|
189
|
+
# see the [MQL deprecation
|
190
|
+
# notice](https://cloud.google.com/stackdriver/docs/deprecations/mql).
|
191
|
+
#
|
192
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
188
193
|
#
|
189
194
|
# @overload query_time_series(request, options = nil)
|
190
195
|
# Pass arguments to `query_time_series` via a request object, either of type
|
@@ -696,7 +696,7 @@ module Google
|
|
696
696
|
end
|
697
697
|
|
698
698
|
##
|
699
|
-
# Returns the list of IP addresses that checkers run from
|
699
|
+
# Returns the list of IP addresses that checkers run from.
|
700
700
|
#
|
701
701
|
# @overload list_uptime_check_ips(request, options = nil)
|
702
702
|
# Pass arguments to `list_uptime_check_ips` via a request object, either of type
|
@@ -11,9 +11,10 @@ require 'google/monitoring/v3/mutation_record_pb'
|
|
11
11
|
require 'google/protobuf/duration_pb'
|
12
12
|
require 'google/protobuf/wrappers_pb'
|
13
13
|
require 'google/rpc/status_pb'
|
14
|
+
require 'google/type/timeofday_pb'
|
14
15
|
|
15
16
|
|
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\"\
|
17
|
+
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\x1a\x1bgoogle/type/timeofday.proto\"\x95-\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\xc6\x1d\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\x12Q\n\rcondition_sql\x18\x16 \x01(\x0b\x32\x38.google.monitoring.v3.AlertPolicy.Condition.SqlConditionH\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\x9d\x03\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\x12&\n\x19\x64isable_metric_validation\x18\x07 \x01(\x08\x42\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\x1a\xd1\x06\n\x0cSqlCondition\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12S\n\x07minutes\x18\x02 \x01(\x0b\x32@.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.MinutesH\x00\x12Q\n\x06hourly\x18\x03 \x01(\x0b\x32?.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.HourlyH\x00\x12O\n\x05\x64\x61ily\x18\x04 \x01(\x0b\x32>.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.DailyH\x00\x12_\n\x0erow_count_test\x18\x05 \x01(\x0b\x32\x45.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTestH\x01\x12\\\n\x0c\x62oolean_test\x18\x06 \x01(\x0b\x32\x44.google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTestH\x01\x1a#\n\x07Minutes\x12\x18\n\x0bperiodicity\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x1aU\n\x06Hourly\x12\x18\n\x0bperiodicity\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1f\n\rminute_offset\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_minute_offset\x1aV\n\x05\x44\x61ily\x12\x18\n\x0bperiodicity\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x33\n\x0e\x65xecution_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\x1a\x65\n\x0cRowCountTest\x12=\n\ncomparison\x18\x01 \x01(\x0e\x32$.google.monitoring.v3.ComparisonTypeB\x03\xe0\x41\x02\x12\x16\n\tthreshold\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x1a\"\n\x0b\x42ooleanTest\x12\x13\n\x06\x63olumn\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\n\n\x08scheduleB\n\n\x08\x65valuate\"\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
18
|
|
18
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
20
|
|
@@ -33,6 +34,7 @@ rescue TypeError
|
|
33
34
|
["google.monitoring.v3.MutationRecord", "google/monitoring/v3/mutation_record.proto"],
|
34
35
|
["google.monitoring.v3.Aggregation", "google/monitoring/v3/common.proto"],
|
35
36
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
37
|
+
["google.type.TimeOfDay", "google/type/timeofday.proto"],
|
36
38
|
]
|
37
39
|
imports.each do |type_name, expected_filename|
|
38
40
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -59,6 +61,12 @@ module Google
|
|
59
61
|
AlertPolicy::Condition::LogMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.LogMatch").msgclass
|
60
62
|
AlertPolicy::Condition::MonitoringQueryLanguageCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition").msgclass
|
61
63
|
AlertPolicy::Condition::PrometheusQueryLanguageCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition").msgclass
|
64
|
+
AlertPolicy::Condition::SqlCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition").msgclass
|
65
|
+
AlertPolicy::Condition::SqlCondition::Minutes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes").msgclass
|
66
|
+
AlertPolicy::Condition::SqlCondition::Hourly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly").msgclass
|
67
|
+
AlertPolicy::Condition::SqlCondition::Daily = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Daily").msgclass
|
68
|
+
AlertPolicy::Condition::SqlCondition::RowCountTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition.RowCountTest").msgclass
|
69
|
+
AlertPolicy::Condition::SqlCondition::BooleanTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.SqlCondition.BooleanTest").msgclass
|
62
70
|
AlertPolicy::Condition::EvaluationMissingData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData").enummodule
|
63
71
|
AlertPolicy::AlertStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy").msgclass
|
64
72
|
AlertPolicy::AlertStrategy::NotificationRateLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit").msgclass
|
@@ -10,7 +10,7 @@ require 'google/api/monitored_resource_pb'
|
|
10
10
|
require 'google/monitoring/v3/common_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n!google/monitoring/v3/metric.proto\x12\x14google.monitoring.v3\x1a\x16google/api/label.proto\x1a\x17google/api/metric.proto\x1a#google/api/monitored_resource.proto\x1a!google/monitoring/v3/common.proto\"n\n\x05Point\x12\x34\n\x08interval\x18\x01 \x01(\x0b\x32\".google.monitoring.v3.TimeInterval\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .google.monitoring.v3.TypedValue\"\
|
13
|
+
descriptor_data = "\n!google/monitoring/v3/metric.proto\x12\x14google.monitoring.v3\x1a\x16google/api/label.proto\x1a\x17google/api/metric.proto\x1a#google/api/monitored_resource.proto\x1a!google/monitoring/v3/common.proto\"n\n\x05Point\x12\x34\n\x08interval\x18\x01 \x01(\x0b\x32\".google.monitoring.v3.TimeInterval\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .google.monitoring.v3.TypedValue\"\xe4\x02\n\nTimeSeries\x12\"\n\x06metric\x18\x01 \x01(\x0b\x32\x12.google.api.Metric\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12\x37\n\x08metadata\x18\x07 \x01(\x0b\x32%.google.api.MonitoredResourceMetadata\x12<\n\x0bmetric_kind\x18\x03 \x01(\x0e\x32\'.google.api.MetricDescriptor.MetricKind\x12:\n\nvalue_type\x18\x04 \x01(\x0e\x32&.google.api.MetricDescriptor.ValueType\x12+\n\x06points\x18\x05 \x03(\x0b\x32\x1b.google.monitoring.v3.Point\x12\x0c\n\x04unit\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\"\xce\x02\n\x14TimeSeriesDescriptor\x12\x36\n\x11label_descriptors\x18\x01 \x03(\x0b\x32\x1b.google.api.LabelDescriptor\x12U\n\x11point_descriptors\x18\x05 \x03(\x0b\x32:.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor\x1a\xa6\x01\n\x0fValueDescriptor\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\nvalue_type\x18\x02 \x01(\x0e\x32&.google.api.MetricDescriptor.ValueType\x12<\n\x0bmetric_kind\x18\x03 \x01(\x0e\x32\'.google.api.MetricDescriptor.MetricKind\x12\x0c\n\x04unit\x18\x04 \x01(\t\"\x86\x02\n\x0eTimeSeriesData\x12\x36\n\x0clabel_values\x18\x01 \x03(\x0b\x32 .google.monitoring.v3.LabelValue\x12\x42\n\npoint_data\x18\x02 \x03(\x0b\x32..google.monitoring.v3.TimeSeriesData.PointData\x1ax\n\tPointData\x12\x30\n\x06values\x18\x01 \x03(\x0b\x32 .google.monitoring.v3.TypedValue\x12\x39\n\rtime_interval\x18\x02 \x01(\x0b\x32\".google.monitoring.v3.TimeInterval\"Z\n\nLabelValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x42\x07\n\x05value\"Q\n\nQueryError\x12\x32\n\x07locator\x18\x01 \x01(\x0b\x32!.google.monitoring.v3.TextLocator\x12\x0f\n\x07message\x18\x02 \x01(\t\"\xa0\x02\n\x0bTextLocator\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x42\n\x0estart_position\x18\x02 \x01(\x0b\x32*.google.monitoring.v3.TextLocator.Position\x12@\n\x0c\x65nd_position\x18\x03 \x01(\x0b\x32*.google.monitoring.v3.TextLocator.Position\x12\x39\n\x0enested_locator\x18\x04 \x01(\x0b\x32!.google.monitoring.v3.TextLocator\x12\x16\n\x0enesting_reason\x18\x05 \x01(\t\x1a(\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x05\x42\xc6\x01\n\x18\x63om.google.monitoring.v3B\x0bMetricProtoP\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"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -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\"\xa6\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\"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/client_pb'
|
|
9
9
|
require 'google/monitoring/v3/metric_service_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n(google/monitoring/v3/query_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a)google/monitoring/v3/metric_service.proto2\
|
12
|
+
descriptor_data = "\n(google/monitoring/v3/query_service.proto\x12\x14google.monitoring.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a)google/monitoring/v3/metric_service.proto2\xe1\x02\n\x0cQueryService\x12\xa4\x01\n\x0fQueryTimeSeries\x12,.google.monitoring.v3.QueryTimeSeriesRequest\x1a-.google.monitoring.v3.QueryTimeSeriesResponse\"4\x88\x02\x01\x82\xd3\xe4\x93\x02+\"&/v3/{name=projects/*}/timeSeries:query:\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\xcc\x01\n\x18\x63om.google.monitoring.v3B\x11QueryServiceProtoP\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
|
|
@@ -35,7 +35,10 @@ module Google
|
|
35
35
|
self.unmarshal_class_method = :decode
|
36
36
|
self.service_name = 'google.monitoring.v3.QueryService'
|
37
37
|
|
38
|
-
# Queries time series using Monitoring Query Language.
|
38
|
+
# Queries time series by using Monitoring Query Language (MQL). We recommend
|
39
|
+
# using PromQL instead of MQL. For more information about the status of MQL,
|
40
|
+
# see the [MQL deprecation
|
41
|
+
# notice](https://cloud.google.com/stackdriver/docs/deprecations/mql).
|
39
42
|
rpc :QueryTimeSeries, ::Google::Cloud::Monitoring::V3::QueryTimeSeriesRequest, ::Google::Cloud::Monitoring::V3::QueryTimeSeriesResponse
|
40
43
|
end
|
41
44
|
|
@@ -5,12 +5,13 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/field_info_pb'
|
8
9
|
require 'google/api/monitored_resource_pb'
|
9
10
|
require 'google/api/resource_pb'
|
10
11
|
require 'google/protobuf/duration_pb'
|
11
12
|
|
12
13
|
|
13
|
-
descriptor_data = "\n!google/monitoring/v3/uptime.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe6\x01\n\x0fInternalChecker\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x10\n\x08gcp_zone\x18\x04 \x01(\t\x12\x17\n\x0fpeer_project_id\x18\x06 \x01(\t\x12:\n\x05state\x18\x07 \x01(\x0e\x32+.google.monitoring.v3.InternalChecker.State\"3\n\x05State\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02:\x02\x18\x01\"\x9b\x02\n\x16SyntheticMonitorTarget\x12_\n\x11\x63loud_function_v2\x18\x01 \x01(\x0b\x32\x42.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2TargetH\x00\x1a\x95\x01\n\x15\x43loudFunctionV2Target\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\x12>\n\x12\x63loud_run_revision\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResourceB\x03\xe0\x41\x03\x42\x08\n\x06target\"\xd6\x1e\n\x11UptimeCheckConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12;\n\x12monitored_resource\x18\x03 \x01(\x0b\x32\x1d.google.api.MonitoredResourceH\x00\x12O\n\x0eresource_group\x18\x04 \x01(\x0b\x32\x35.google.monitoring.v3.UptimeCheckConfig.ResourceGroupH\x00\x12I\n\x11synthetic_monitor\x18\x15 \x01(\x0b\x32,.google.monitoring.v3.SyntheticMonitorTargetH\x00\x12G\n\nhttp_check\x18\x05 \x01(\x0b\x32\x31.google.monitoring.v3.UptimeCheckConfig.HttpCheckH\x01\x12\x45\n\ttcp_check\x18\x06 \x01(\x0b\x32\x30.google.monitoring.v3.UptimeCheckConfig.TcpCheckH\x01\x12)\n\x06period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12P\n\x10\x63ontent_matchers\x18\t \x03(\x0b\x32\x36.google.monitoring.v3.UptimeCheckConfig.ContentMatcher\x12I\n\x0c\x63hecker_type\x18\x11 \x01(\x0e\x32\x33.google.monitoring.v3.UptimeCheckConfig.CheckerType\x12\x41\n\x10selected_regions\x18\n \x03(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x17\n\x0bis_internal\x18\x0f \x01(\x08\x42\x02\x18\x01\x12\x44\n\x11internal_checkers\x18\x0e \x03(\x0b\x32%.google.monitoring.v3.InternalCheckerB\x02\x18\x01\x12L\n\x0buser_labels\x18\x14 \x03(\x0b\x32\x37.google.monitoring.v3.UptimeCheckConfig.UserLabelsEntry\x1a\x61\n\rResourceGroup\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12>\n\rresource_type\x18\x02 \x01(\x0e\x32\'.google.monitoring.v3.GroupResourceType\x1a!\n\nPingConfig\x12\x13\n\x0bpings_count\x18\x01 \x01(\x05\x1a\xf2\x0c\n\tHttpCheck\x12W\n\x0erequest_method\x18\x08 \x01(\x0e\x32?.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod\x12\x0f\n\x07use_ssl\x18\x01 \x01(\x08\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12X\n\tauth_info\x18\x04 \x01(\x0b\x32\x45.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication\x12\x14\n\x0cmask_headers\x18\x05 \x01(\x08\x12O\n\x07headers\x18\x06 \x03(\x0b\x32>.google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry\x12S\n\x0c\x63ontent_type\x18\t \x01(\x0e\x32=.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType\x12\x1b\n\x13\x63ustom_content_type\x18\r \x01(\t\x12\x14\n\x0cvalidate_ssl\x18\x07 \x01(\x08\x12\x0c\n\x04\x62ody\x18\n \x01(\x0c\x12l\n\x1e\x61\x63\x63\x65pted_response_status_codes\x18\x0b \x03(\x0b\x32\x44.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode\x12G\n\x0bping_config\x18\x0c \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x12t\n\x1cservice_agent_authentication\x18\x0e \x01(\x0b\x32L.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationH\x00\x1a\x39\n\x13\x42\x61sicAuthentication\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x1a\xdc\x02\n\x12ResponseStatusCode\x12\x16\n\x0cstatus_value\x18\x01 \x01(\x05H\x00\x12h\n\x0cstatus_class\x18\x02 \x01(\x0e\x32P.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClassH\x00\"\xb4\x01\n\x0bStatusClass\x12\x1c\n\x18STATUS_CLASS_UNSPECIFIED\x10\x00\x12\x14\n\x10STATUS_CLASS_1XX\x10\x64\x12\x15\n\x10STATUS_CLASS_2XX\x10\xc8\x01\x12\x15\n\x10STATUS_CLASS_3XX\x10\xac\x02\x12\x15\n\x10STATUS_CLASS_4XX\x10\x90\x03\x12\x15\n\x10STATUS_CLASS_5XX\x10\xf4\x03\x12\x15\n\x10STATUS_CLASS_ANY\x10\xe8\x07\x42\r\n\x0bstatus_code\x1a\xfc\x01\n\x1aServiceAgentAuthentication\x12y\n\x04type\x18\x01 \x01(\x0e\x32k.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType\"c\n\x1eServiceAgentAuthenticationType\x12\x31\n-SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nOIDC_TOKEN\x10\x01\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\rRequestMethod\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03GET\x10\x01\x12\x08\n\x04POST\x10\x02\"G\n\x0b\x43ontentType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bURL_ENCODED\x10\x01\x12\x11\n\rUSER_PROVIDED\x10\x02\x42\r\n\x0b\x61uth_method\x1a\x61\n\x08TcpCheck\x12\x0c\n\x04port\x18\x01 \x01(\x05\x12G\n\x0bping_config\x18\x02 \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x1a\xca\x05\n\x0e\x43ontentMatcher\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\\\n\x07matcher\x18\x02 \x01(\x0e\x32K.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption\x12\x63\n\x11json_path_matcher\x18\x03 \x01(\x0b\x32\x46.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcherH\x00\x1a\xfd\x01\n\x0fJsonPathMatcher\x12\x11\n\tjson_path\x18\x01 \x01(\t\x12r\n\x0cjson_matcher\x18\x02 \x01(\x0e\x32\\.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption\"c\n\x15JsonPathMatcherOption\x12(\n$JSON_PATH_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0f\n\x0bREGEX_MATCH\x10\x02\"\xc8\x01\n\x14\x43ontentMatcherOption\x12&\n\"CONTENT_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONTAINS_STRING\x10\x01\x12\x17\n\x13NOT_CONTAINS_STRING\x10\x02\x12\x11\n\rMATCHES_REGEX\x10\x03\x12\x15\n\x11NOT_MATCHES_REGEX\x10\x04\x12\x15\n\x11MATCHES_JSON_PATH\x10\x05\x12\x19\n\x15NOT_MATCHES_JSON_PATH\x10\x06\x42\x19\n\x17\x61\x64\x64itional_matcher_info\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x0b\x43heckerType\x12\x1c\n\x18\x43HECKER_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATIC_IP_CHECKERS\x10\x01\x12\x10\n\x0cVPC_CHECKERS\x10\x03:\xf3\x01\xea\x41\xef\x01\n+monitoring.googleapis.com/UptimeCheckConfig\x12;projects/{project}/uptimeCheckConfigs/{uptime_check_config}\x12\x45organizations/{organization}/uptimeCheckConfigs/{uptime_check_config}\x12\x39\x66olders/{folder}/uptimeCheckConfigs/{uptime_check_config}\x12\x01*B\n\n\x08resourceB\x14\n\x12\x63heck_request_type\"n\n\rUptimeCheckIp\x12\x37\n\x06region\x18\x01 \x01(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x12\n\nip_address\x18\x03 \x01(\t*\x95\x01\n\x11UptimeCheckRegion\x12\x16\n\x12REGION_UNSPECIFIED\x10\x00\x12\x07\n\x03USA\x10\x01\x12\n\n\x06\x45UROPE\x10\x02\x12\x11\n\rSOUTH_AMERICA\x10\x03\x12\x10\n\x0c\x41SIA_PACIFIC\x10\x04\x12\x0e\n\nUSA_OREGON\x10\x05\x12\x0c\n\x08USA_IOWA\x10\x06\x12\x10\n\x0cUSA_VIRGINIA\x10\x07*[\n\x11GroupResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x19\n\x15\x41WS_ELB_LOAD_BALANCER\x10\x02\x42\xaf\x02\n\x18\x63om.google.monitoring.v3B\x0bUptimeProtoP\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\x66\n&cloudfunctions.googleapis.com/Function\x12<projects/{project}/locations/{location}/functions/{function}b\x06proto3"
|
14
|
+
descriptor_data = "\n!google/monitoring/v3/uptime.proto\x12\x14google.monitoring.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe6\x01\n\x0fInternalChecker\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x10\n\x08gcp_zone\x18\x04 \x01(\t\x12\x17\n\x0fpeer_project_id\x18\x06 \x01(\t\x12:\n\x05state\x18\x07 \x01(\x0e\x32+.google.monitoring.v3.InternalChecker.State\"3\n\x05State\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02:\x02\x18\x01\"\x9b\x02\n\x16SyntheticMonitorTarget\x12_\n\x11\x63loud_function_v2\x18\x01 \x01(\x0b\x32\x42.google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2TargetH\x00\x1a\x95\x01\n\x15\x43loudFunctionV2Target\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&cloudfunctions.googleapis.com/Function\x12>\n\x12\x63loud_run_revision\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResourceB\x03\xe0\x41\x03\x42\x08\n\x06target\"\xd6\x1e\n\x11UptimeCheckConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12;\n\x12monitored_resource\x18\x03 \x01(\x0b\x32\x1d.google.api.MonitoredResourceH\x00\x12O\n\x0eresource_group\x18\x04 \x01(\x0b\x32\x35.google.monitoring.v3.UptimeCheckConfig.ResourceGroupH\x00\x12I\n\x11synthetic_monitor\x18\x15 \x01(\x0b\x32,.google.monitoring.v3.SyntheticMonitorTargetH\x00\x12G\n\nhttp_check\x18\x05 \x01(\x0b\x32\x31.google.monitoring.v3.UptimeCheckConfig.HttpCheckH\x01\x12\x45\n\ttcp_check\x18\x06 \x01(\x0b\x32\x30.google.monitoring.v3.UptimeCheckConfig.TcpCheckH\x01\x12)\n\x06period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x07timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12P\n\x10\x63ontent_matchers\x18\t \x03(\x0b\x32\x36.google.monitoring.v3.UptimeCheckConfig.ContentMatcher\x12I\n\x0c\x63hecker_type\x18\x11 \x01(\x0e\x32\x33.google.monitoring.v3.UptimeCheckConfig.CheckerType\x12\x41\n\x10selected_regions\x18\n \x03(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x17\n\x0bis_internal\x18\x0f \x01(\x08\x42\x02\x18\x01\x12\x44\n\x11internal_checkers\x18\x0e \x03(\x0b\x32%.google.monitoring.v3.InternalCheckerB\x02\x18\x01\x12L\n\x0buser_labels\x18\x14 \x03(\x0b\x32\x37.google.monitoring.v3.UptimeCheckConfig.UserLabelsEntry\x1a\x61\n\rResourceGroup\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12>\n\rresource_type\x18\x02 \x01(\x0e\x32\'.google.monitoring.v3.GroupResourceType\x1a!\n\nPingConfig\x12\x13\n\x0bpings_count\x18\x01 \x01(\x05\x1a\xf2\x0c\n\tHttpCheck\x12W\n\x0erequest_method\x18\x08 \x01(\x0e\x32?.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod\x12\x0f\n\x07use_ssl\x18\x01 \x01(\x08\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12X\n\tauth_info\x18\x04 \x01(\x0b\x32\x45.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication\x12\x14\n\x0cmask_headers\x18\x05 \x01(\x08\x12O\n\x07headers\x18\x06 \x03(\x0b\x32>.google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry\x12S\n\x0c\x63ontent_type\x18\t \x01(\x0e\x32=.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType\x12\x1b\n\x13\x63ustom_content_type\x18\r \x01(\t\x12\x14\n\x0cvalidate_ssl\x18\x07 \x01(\x08\x12\x0c\n\x04\x62ody\x18\n \x01(\x0c\x12l\n\x1e\x61\x63\x63\x65pted_response_status_codes\x18\x0b \x03(\x0b\x32\x44.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode\x12G\n\x0bping_config\x18\x0c \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x12t\n\x1cservice_agent_authentication\x18\x0e \x01(\x0b\x32L.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthenticationH\x00\x1a\x39\n\x13\x42\x61sicAuthentication\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x1a\xdc\x02\n\x12ResponseStatusCode\x12\x16\n\x0cstatus_value\x18\x01 \x01(\x05H\x00\x12h\n\x0cstatus_class\x18\x02 \x01(\x0e\x32P.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ResponseStatusCode.StatusClassH\x00\"\xb4\x01\n\x0bStatusClass\x12\x1c\n\x18STATUS_CLASS_UNSPECIFIED\x10\x00\x12\x14\n\x10STATUS_CLASS_1XX\x10\x64\x12\x15\n\x10STATUS_CLASS_2XX\x10\xc8\x01\x12\x15\n\x10STATUS_CLASS_3XX\x10\xac\x02\x12\x15\n\x10STATUS_CLASS_4XX\x10\x90\x03\x12\x15\n\x10STATUS_CLASS_5XX\x10\xf4\x03\x12\x15\n\x10STATUS_CLASS_ANY\x10\xe8\x07\x42\r\n\x0bstatus_code\x1a\xfc\x01\n\x1aServiceAgentAuthentication\x12y\n\x04type\x18\x01 \x01(\x0e\x32k.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication.ServiceAgentAuthenticationType\"c\n\x1eServiceAgentAuthenticationType\x12\x31\n-SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nOIDC_TOKEN\x10\x01\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\rRequestMethod\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03GET\x10\x01\x12\x08\n\x04POST\x10\x02\"G\n\x0b\x43ontentType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bURL_ENCODED\x10\x01\x12\x11\n\rUSER_PROVIDED\x10\x02\x42\r\n\x0b\x61uth_method\x1a\x61\n\x08TcpCheck\x12\x0c\n\x04port\x18\x01 \x01(\x05\x12G\n\x0bping_config\x18\x02 \x01(\x0b\x32\x32.google.monitoring.v3.UptimeCheckConfig.PingConfig\x1a\xca\x05\n\x0e\x43ontentMatcher\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\\\n\x07matcher\x18\x02 \x01(\x0e\x32K.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption\x12\x63\n\x11json_path_matcher\x18\x03 \x01(\x0b\x32\x46.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcherH\x00\x1a\xfd\x01\n\x0fJsonPathMatcher\x12\x11\n\tjson_path\x18\x01 \x01(\t\x12r\n\x0cjson_matcher\x18\x02 \x01(\x0e\x32\\.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption\"c\n\x15JsonPathMatcherOption\x12(\n$JSON_PATH_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0f\n\x0bREGEX_MATCH\x10\x02\"\xc8\x01\n\x14\x43ontentMatcherOption\x12&\n\"CONTENT_MATCHER_OPTION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONTAINS_STRING\x10\x01\x12\x17\n\x13NOT_CONTAINS_STRING\x10\x02\x12\x11\n\rMATCHES_REGEX\x10\x03\x12\x15\n\x11NOT_MATCHES_REGEX\x10\x04\x12\x15\n\x11MATCHES_JSON_PATH\x10\x05\x12\x19\n\x15NOT_MATCHES_JSON_PATH\x10\x06\x42\x19\n\x17\x61\x64\x64itional_matcher_info\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x0b\x43heckerType\x12\x1c\n\x18\x43HECKER_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATIC_IP_CHECKERS\x10\x01\x12\x10\n\x0cVPC_CHECKERS\x10\x03:\xf3\x01\xea\x41\xef\x01\n+monitoring.googleapis.com/UptimeCheckConfig\x12;projects/{project}/uptimeCheckConfigs/{uptime_check_config}\x12\x45organizations/{organization}/uptimeCheckConfigs/{uptime_check_config}\x12\x39\x66olders/{folder}/uptimeCheckConfigs/{uptime_check_config}\x12\x01*B\n\n\x08resourceB\x14\n\x12\x63heck_request_type\"n\n\rUptimeCheckIp\x12\x37\n\x06region\x18\x01 \x01(\x0e\x32\'.google.monitoring.v3.UptimeCheckRegion\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x12\n\nip_address\x18\x03 \x01(\t*\x95\x01\n\x11UptimeCheckRegion\x12\x16\n\x12REGION_UNSPECIFIED\x10\x00\x12\x07\n\x03USA\x10\x01\x12\n\n\x06\x45UROPE\x10\x02\x12\x11\n\rSOUTH_AMERICA\x10\x03\x12\x10\n\x0c\x41SIA_PACIFIC\x10\x04\x12\x0e\n\nUSA_OREGON\x10\x05\x12\x0c\n\x08USA_IOWA\x10\x06\x12\x10\n\x0cUSA_VIRGINIA\x10\x07*[\n\x11GroupResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x19\n\x15\x41WS_ELB_LOAD_BALANCER\x10\x02\x42\xaf\x02\n\x18\x63om.google.monitoring.v3B\x0bUptimeProtoP\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\x66\n&cloudfunctions.googleapis.com/Function\x12<projects/{project}/locations/{location}/functions/{function}b\x06proto3"
|
14
15
|
|
15
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
17
|
|
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
# if the Uptime check configuration is referenced by an alert policy or
|
57
57
|
# other dependent configs that would be rendered invalid by the deletion.
|
58
58
|
rpc :DeleteUptimeCheckConfig, ::Google::Cloud::Monitoring::V3::DeleteUptimeCheckConfigRequest, ::Google::Protobuf::Empty
|
59
|
-
# Returns the list of IP addresses that checkers run from
|
59
|
+
# Returns the list of IP addresses that checkers run from.
|
60
60
|
rpc :ListUptimeCheckIps, ::Google::Cloud::Monitoring::V3::ListUptimeCheckIpsRequest, ::Google::Cloud::Monitoring::V3::ListUptimeCheckIpsResponse
|
61
61
|
end
|
62
62
|
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Rich semantic information of an API field beyond basic typing.
|
23
|
+
# @!attribute [rw] format
|
24
|
+
# @return [::Google::Api::FieldInfo::Format]
|
25
|
+
# The standard format of a field value. This does not explicitly configure
|
26
|
+
# any API consumer, just documents the API's format for the field it is
|
27
|
+
# applied to.
|
28
|
+
# @!attribute [rw] referenced_types
|
29
|
+
# @return [::Array<::Google::Api::TypeReference>]
|
30
|
+
# The type(s) that the annotated, generic field may represent.
|
31
|
+
#
|
32
|
+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
|
33
|
+
# Supporting other generic types may be considered in the future.
|
34
|
+
class FieldInfo
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
|
38
|
+
# The standard format of a field value. The supported formats are all backed
|
39
|
+
# by either an RFC defined by the IETF or a Google-defined AIP.
|
40
|
+
module Format
|
41
|
+
# Default, unspecified value.
|
42
|
+
FORMAT_UNSPECIFIED = 0
|
43
|
+
|
44
|
+
# Universally Unique Identifier, version 4, value as defined by
|
45
|
+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
|
46
|
+
# normalized to entirely lowercase letters. For example, the value
|
47
|
+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
|
48
|
+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
|
49
|
+
UUID4 = 1
|
50
|
+
|
51
|
+
# Internet Protocol v4 value as defined by [RFC
|
52
|
+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
|
53
|
+
# condensed, with leading zeros in each octet stripped. For example,
|
54
|
+
# `001.022.233.040` would be condensed to `1.22.233.40`.
|
55
|
+
IPV4 = 2
|
56
|
+
|
57
|
+
# Internet Protocol v6 value as defined by [RFC
|
58
|
+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
|
59
|
+
# normalized to entirely lowercase letters with zeros compressed, following
|
60
|
+
# [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
|
61
|
+
# the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
|
62
|
+
IPV6 = 3
|
63
|
+
|
64
|
+
# An IP address in either v4 or v6 format as described by the individual
|
65
|
+
# values defined herein. See the comments on the IPV4 and IPV6 types for
|
66
|
+
# allowed normalizations of each.
|
67
|
+
IPV4_OR_IPV6 = 4
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
|
72
|
+
# @!attribute [rw] type_name
|
73
|
+
# @return [::String]
|
74
|
+
# The name of the type that the annotated, generic field may represent.
|
75
|
+
# If the type is in the same protobuf package, the value can be the simple
|
76
|
+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
|
77
|
+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
|
78
|
+
#
|
79
|
+
# If the type(s) are unknown to the service (e.g. the field accepts generic
|
80
|
+
# user input), use the wildcard `"*"` to denote this behavior.
|
81
|
+
#
|
82
|
+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
|
83
|
+
class TypeReference
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -240,6 +240,9 @@ module Google
|
|
240
240
|
# @!attribute [rw] condition_prometheus_query_language
|
241
241
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::PrometheusQueryLanguageCondition]
|
242
242
|
# A condition that uses the Prometheus query language to define alerts.
|
243
|
+
# @!attribute [rw] condition_sql
|
244
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition]
|
245
|
+
# A condition that periodically evaluates a SQL query result.
|
243
246
|
class Condition
|
244
247
|
include ::Google::Protobuf::MessageExts
|
245
248
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -585,6 +588,17 @@ module Google
|
|
585
588
|
# [valid Prometheus label
|
586
589
|
# name](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
|
587
590
|
# This field may not exceed 2048 Unicode characters in length.
|
591
|
+
# @!attribute [rw] disable_metric_validation
|
592
|
+
# @return [::Boolean]
|
593
|
+
# Optional. Whether to disable metric existence validation for this
|
594
|
+
# condition.
|
595
|
+
#
|
596
|
+
# This allows alerting policies to be defined on metrics that do not yet
|
597
|
+
# exist, improving advanced customer workflows such as configuring
|
598
|
+
# alerting policies using Terraform.
|
599
|
+
#
|
600
|
+
# Users with the `monitoring.alertPolicyViewer` role are able to see the
|
601
|
+
# name of the non-existent metric in the alerting policy condition.
|
588
602
|
class PrometheusQueryLanguageCondition
|
589
603
|
include ::Google::Protobuf::MessageExts
|
590
604
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -599,6 +613,113 @@ module Google
|
|
599
613
|
end
|
600
614
|
end
|
601
615
|
|
616
|
+
# A condition that allows alerting policies to be defined using GoogleSQL.
|
617
|
+
# SQL conditions examine a sliding window of logs using GoogleSQL.
|
618
|
+
# Alert policies with SQL conditions may incur additional billing.
|
619
|
+
# @!attribute [rw] query
|
620
|
+
# @return [::String]
|
621
|
+
# Required. The Log Analytics SQL query to run, as a string. The query
|
622
|
+
# must conform to the required shape. Specifically, the query must not
|
623
|
+
# try to filter the input by time. A filter will automatically be
|
624
|
+
# applied to filter the input so that the query receives all rows
|
625
|
+
# received since the last time the query was run.
|
626
|
+
#
|
627
|
+
# For example, the following query extracts all log entries containing an
|
628
|
+
# HTTP request:
|
629
|
+
#
|
630
|
+
# SELECT
|
631
|
+
# timestamp, log_name, severity, http_request, resource, labels
|
632
|
+
# FROM
|
633
|
+
# my-project.global._Default._AllLogs
|
634
|
+
# WHERE
|
635
|
+
# http_request IS NOT NULL
|
636
|
+
# @!attribute [rw] minutes
|
637
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Minutes]
|
638
|
+
# Schedule the query to execute every so many minutes.
|
639
|
+
# @!attribute [rw] hourly
|
640
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Hourly]
|
641
|
+
# Schedule the query to execute every so many hours.
|
642
|
+
# @!attribute [rw] daily
|
643
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Daily]
|
644
|
+
# Schedule the query to execute every so many days.
|
645
|
+
# @!attribute [rw] row_count_test
|
646
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::RowCountTest]
|
647
|
+
# Test the row count against a threshold.
|
648
|
+
# @!attribute [rw] boolean_test
|
649
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::BooleanTest]
|
650
|
+
# Test the boolean value in the indicated column.
|
651
|
+
class SqlCondition
|
652
|
+
include ::Google::Protobuf::MessageExts
|
653
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
654
|
+
|
655
|
+
# Used to schedule the query to run every so many minutes.
|
656
|
+
# @!attribute [rw] periodicity
|
657
|
+
# @return [::Integer]
|
658
|
+
# Required. Number of minutes between runs. The interval must be
|
659
|
+
# greater than or equal to 5 minutes and less than or equal to 1440
|
660
|
+
# minutes.
|
661
|
+
class Minutes
|
662
|
+
include ::Google::Protobuf::MessageExts
|
663
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
664
|
+
end
|
665
|
+
|
666
|
+
# Used to schedule the query to run every so many hours.
|
667
|
+
# @!attribute [rw] periodicity
|
668
|
+
# @return [::Integer]
|
669
|
+
# Required. The number of hours between runs. Must be greater than or
|
670
|
+
# equal to 1 hour and less than or equal to 48 hours.
|
671
|
+
# @!attribute [rw] minute_offset
|
672
|
+
# @return [::Integer]
|
673
|
+
# Optional. The number of minutes after the hour (in UTC) to run the
|
674
|
+
# query. Must be greater than or equal to 0 minutes and less than or
|
675
|
+
# equal to 59 minutes. If left unspecified, then an arbitrary offset
|
676
|
+
# is used.
|
677
|
+
class Hourly
|
678
|
+
include ::Google::Protobuf::MessageExts
|
679
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
680
|
+
end
|
681
|
+
|
682
|
+
# Used to schedule the query to run every so many days.
|
683
|
+
# @!attribute [rw] periodicity
|
684
|
+
# @return [::Integer]
|
685
|
+
# Required. The number of days between runs. Must be greater than or
|
686
|
+
# equal to 1 day and less than or equal to 31 days.
|
687
|
+
# @!attribute [rw] execution_time
|
688
|
+
# @return [::Google::Type::TimeOfDay]
|
689
|
+
# Optional. The time of day (in UTC) at which the query should run. If
|
690
|
+
# left unspecified, the server picks an arbitrary time of day and runs
|
691
|
+
# the query at the same time each day.
|
692
|
+
class Daily
|
693
|
+
include ::Google::Protobuf::MessageExts
|
694
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
695
|
+
end
|
696
|
+
|
697
|
+
# A test that checks if the number of rows in the result set
|
698
|
+
# violates some threshold.
|
699
|
+
# @!attribute [rw] comparison
|
700
|
+
# @return [::Google::Cloud::Monitoring::V3::ComparisonType]
|
701
|
+
# Required. The comparison to apply between the number of rows returned
|
702
|
+
# by the query and the threshold.
|
703
|
+
# @!attribute [rw] threshold
|
704
|
+
# @return [::Integer]
|
705
|
+
# Required. The value against which to compare the row count.
|
706
|
+
class RowCountTest
|
707
|
+
include ::Google::Protobuf::MessageExts
|
708
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
709
|
+
end
|
710
|
+
|
711
|
+
# A test that uses an alerting result in a boolean column produced by
|
712
|
+
# the SQL query.
|
713
|
+
# @!attribute [rw] column
|
714
|
+
# @return [::String]
|
715
|
+
# Required. The name of the column containing the boolean value. If the
|
716
|
+
# value in a row is NULL, that row is ignored.
|
717
|
+
class BooleanTest
|
718
|
+
include ::Google::Protobuf::MessageExts
|
719
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
602
723
|
# A condition control that determines how metric-threshold conditions
|
603
724
|
# are evaluated when data stops arriving.
|
604
725
|
# This control doesn't affect metric-absence policies.
|
@@ -93,7 +93,14 @@ module Google
|
|
93
93
|
# @return [::String]
|
94
94
|
# The units in which the metric value is reported. It is only applicable
|
95
95
|
# if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
|
96
|
-
# defines the representation of the stored metric values.
|
96
|
+
# defines the representation of the stored metric values. This field can only
|
97
|
+
# be changed through CreateTimeSeries when it is empty.
|
98
|
+
# @!attribute [rw] description
|
99
|
+
# @return [::String]
|
100
|
+
# Input only. A detailed description of the time series that will be
|
101
|
+
# associated with the
|
102
|
+
# {::Google::Api::MetricDescriptor google.api.MetricDescriptor} for the metric.
|
103
|
+
# Once set, this field cannot be changed through CreateTimeSeries.
|
97
104
|
class TimeSeries
|
98
105
|
include ::Google::Protobuf::MessageExts
|
99
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -89,7 +89,7 @@ module Google
|
|
89
89
|
# projects/[PROJECT_ID_OR_NUMBER]
|
90
90
|
# @!attribute [rw] filter
|
91
91
|
# @return [::String]
|
92
|
-
# If this field is empty, all custom and
|
92
|
+
# Optional. If this field is empty, all custom and
|
93
93
|
# system-defined metric descriptors are returned.
|
94
94
|
# Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
|
95
95
|
# specifies which metric descriptors are to be
|
@@ -99,14 +99,15 @@ module Google
|
|
99
99
|
# metric.type = starts_with("custom.googleapis.com/")
|
100
100
|
# @!attribute [rw] page_size
|
101
101
|
# @return [::Integer]
|
102
|
-
# A positive number that is the maximum number of results to
|
103
|
-
# default and maximum value is 10,000. If a page_size <= 0 or >
|
104
|
-
# submitted, will instead return a maximum of 10,000 results.
|
102
|
+
# Optional. A positive number that is the maximum number of results to
|
103
|
+
# return. The default and maximum value is 10,000. If a page_size <= 0 or >
|
104
|
+
# 10,000 is submitted, will instead return a maximum of 10,000 results.
|
105
105
|
# @!attribute [rw] page_token
|
106
106
|
# @return [::String]
|
107
|
-
# If this field is not empty then it must contain the
|
108
|
-
# returned by a previous call to this method. Using
|
109
|
-
# method to return additional results from the previous
|
107
|
+
# Optional. If this field is not empty then it must contain the
|
108
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
109
|
+
# this field causes the method to return additional results from the previous
|
110
|
+
# method call.
|
110
111
|
class ListMetricDescriptorsRequest
|
111
112
|
include ::Google::Protobuf::MessageExts
|
112
113
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -334,7 +335,10 @@ module Google
|
|
334
335
|
end
|
335
336
|
end
|
336
337
|
|
337
|
-
# The `QueryTimeSeries` request.
|
338
|
+
# The `QueryTimeSeries` request. For information about the status of
|
339
|
+
# Monitoring Query Language (MQL), see the [MQL deprecation
|
340
|
+
# notice](https://cloud.google.com/stackdriver/docs/deprecations/mql).
|
341
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
338
342
|
# @!attribute [rw] name
|
339
343
|
# @return [::String]
|
340
344
|
# Required. The
|
@@ -360,7 +364,10 @@ module Google
|
|
360
364
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
361
365
|
end
|
362
366
|
|
363
|
-
# The `QueryTimeSeries` response.
|
367
|
+
# The `QueryTimeSeries` response. For information about the status of
|
368
|
+
# Monitoring Query Language (MQL), see the [MQL deprecation
|
369
|
+
# notice](https://cloud.google.com/stackdriver/docs/deprecations/mql).
|
370
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
364
371
|
# @!attribute [rw] time_series_descriptor
|
365
372
|
# @return [::Google::Cloud::Monitoring::V3::TimeSeriesDescriptor]
|
366
373
|
# The descriptor for the time series data.
|
@@ -351,7 +351,7 @@ module Google
|
|
351
351
|
# @!attribute [rw] goal
|
352
352
|
# @return [::Float]
|
353
353
|
# The fraction of service that must be good in order for this objective to be
|
354
|
-
# met. `0 < goal <= 0.
|
354
|
+
# met. `0 < goal <= 0.9999`.
|
355
355
|
# @!attribute [rw] rolling_period
|
356
356
|
# @return [::Google::Protobuf::Duration]
|
357
357
|
# A rolling time period, semantically "in the past `<rolling_period>`".
|
@@ -379,10 +379,11 @@ module Google
|
|
379
379
|
end
|
380
380
|
end
|
381
381
|
|
382
|
-
# Contains information needed for generating an
|
382
|
+
# Contains information needed for generating either an
|
383
383
|
# [OpenID Connect
|
384
|
-
# token](https://developers.google.com/identity/protocols/OpenIDConnect)
|
385
|
-
#
|
384
|
+
# token](https://developers.google.com/identity/protocols/OpenIDConnect) or
|
385
|
+
# [OAuth token](https://developers.google.com/identity/protocols/oauth2).
|
386
|
+
# The token will be generated for the Monitoring service agent service
|
386
387
|
# account.
|
387
388
|
# @!attribute [rw] type
|
388
389
|
# @return [::Google::Cloud::Monitoring::V3::UptimeCheckConfig::HttpCheck::ServiceAgentAuthentication::ServiceAgentAuthenticationType]
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a time of day. The date and time zone are either not significant
|
23
|
+
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
24
|
+
# types are [google.type.Date][google.type.Date] and
|
25
|
+
# `google.protobuf.Timestamp`.
|
26
|
+
# @!attribute [rw] hours
|
27
|
+
# @return [::Integer]
|
28
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
29
|
+
# to allow the value "24:00:00" for scenarios like business closing time.
|
30
|
+
# @!attribute [rw] minutes
|
31
|
+
# @return [::Integer]
|
32
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
33
|
+
# @!attribute [rw] seconds
|
34
|
+
# @return [::Integer]
|
35
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
36
|
+
# allow the value 60 if it allows leap-seconds.
|
37
|
+
# @!attribute [rw] nanos
|
38
|
+
# @return [::Integer]
|
39
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
40
|
+
class TimeOfDay
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
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.
|
4
|
+
version: 1.3.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:
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -123,6 +123,7 @@ files:
|
|
123
123
|
- proto_docs/google/api/client.rb
|
124
124
|
- proto_docs/google/api/distribution.rb
|
125
125
|
- proto_docs/google/api/field_behavior.rb
|
126
|
+
- proto_docs/google/api/field_info.rb
|
126
127
|
- proto_docs/google/api/label.rb
|
127
128
|
- proto_docs/google/api/launch_stage.rb
|
128
129
|
- proto_docs/google/api/metric.rb
|
@@ -155,6 +156,7 @@ files:
|
|
155
156
|
- proto_docs/google/protobuf/wrappers.rb
|
156
157
|
- proto_docs/google/rpc/status.rb
|
157
158
|
- proto_docs/google/type/calendar_period.rb
|
159
|
+
- proto_docs/google/type/timeofday.rb
|
158
160
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
159
161
|
licenses:
|
160
162
|
- Apache-2.0
|