google-cloud-monitoring 0.27.0 → 0.28.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -5
  3. data/lib/google/cloud/monitoring.rb +164 -6
  4. data/lib/google/cloud/monitoring/credentials.rb +1 -1
  5. data/lib/google/cloud/monitoring/v3.rb +167 -26
  6. data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +486 -0
  7. data/lib/google/cloud/monitoring/v3/alert_policy_service_client_config.json +51 -0
  8. data/lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb +1 -1
  9. data/lib/google/cloud/monitoring/v3/doc/google/api/label.rb +1 -1
  10. data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +1 -1
  11. data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +1 -1
  12. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +326 -0
  13. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +91 -3
  14. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +1 -1
  15. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +1 -1
  16. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/mutation_record.rb +28 -0
  17. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb +152 -0
  18. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +223 -0
  19. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +1 -1
  20. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/field_mask.rb +223 -0
  21. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +1 -1
  22. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/wrappers.rb +89 -0
  23. data/lib/google/cloud/monitoring/v3/doc/overview.rb +8 -7
  24. data/lib/google/cloud/monitoring/v3/group_service_client.rb +13 -21
  25. data/lib/google/cloud/monitoring/v3/metric_service_client.rb +19 -21
  26. data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +557 -0
  27. data/lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json +61 -0
  28. data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +476 -0
  29. data/lib/google/cloud/monitoring/v3/uptime_check_service_client_config.json +56 -0
  30. data/lib/google/monitoring/v3/alert_pb.rb +78 -0
  31. data/lib/google/monitoring/v3/alert_service_pb.rb +49 -0
  32. data/lib/google/monitoring/v3/alert_service_services_pb.rb +62 -0
  33. data/lib/google/monitoring/v3/common_pb.rb +20 -0
  34. data/lib/google/monitoring/v3/group_service_services_pb.rb +1 -1
  35. data/lib/google/monitoring/v3/metric_service_services_pb.rb +1 -1
  36. data/lib/google/monitoring/v3/mutation_record_pb.rb +20 -0
  37. data/lib/google/monitoring/v3/notification_pb.rb +44 -0
  38. data/lib/google/monitoring/v3/notification_service_pb.rb +85 -0
  39. data/lib/google/monitoring/v3/notification_service_services_pb.rb +93 -0
  40. data/lib/google/monitoring/v3/uptime_pb.rb +89 -0
  41. data/lib/google/monitoring/v3/uptime_service_pb.rb +57 -0
  42. data/lib/google/monitoring/v3/uptime_service_services_pb.rb +66 -0
  43. metadata +31 -9
@@ -0,0 +1,56 @@
1
+ {
2
+ "interfaces": {
3
+ "google.monitoring.v3.UptimeCheckService": {
4
+ "retry_codes": {
5
+ "idempotent": [
6
+ "DEADLINE_EXCEEDED",
7
+ "UNAVAILABLE"
8
+ ],
9
+ "non_idempotent": []
10
+ },
11
+ "retry_params": {
12
+ "default": {
13
+ "initial_retry_delay_millis": 100,
14
+ "retry_delay_multiplier": 1.3,
15
+ "max_retry_delay_millis": 60000,
16
+ "initial_rpc_timeout_millis": 20000,
17
+ "rpc_timeout_multiplier": 1.0,
18
+ "max_rpc_timeout_millis": 20000,
19
+ "total_timeout_millis": 600000
20
+ }
21
+ },
22
+ "methods": {
23
+ "ListUptimeCheckConfigs": {
24
+ "timeout_millis": 60000,
25
+ "retry_codes_name": "idempotent",
26
+ "retry_params_name": "default"
27
+ },
28
+ "GetUptimeCheckConfig": {
29
+ "timeout_millis": 60000,
30
+ "retry_codes_name": "idempotent",
31
+ "retry_params_name": "default"
32
+ },
33
+ "CreateUptimeCheckConfig": {
34
+ "timeout_millis": 60000,
35
+ "retry_codes_name": "non_idempotent",
36
+ "retry_params_name": "default"
37
+ },
38
+ "UpdateUptimeCheckConfig": {
39
+ "timeout_millis": 60000,
40
+ "retry_codes_name": "non_idempotent",
41
+ "retry_params_name": "default"
42
+ },
43
+ "DeleteUptimeCheckConfig": {
44
+ "timeout_millis": 60000,
45
+ "retry_codes_name": "idempotent",
46
+ "retry_params_name": "default"
47
+ },
48
+ "ListUptimeCheckIps": {
49
+ "timeout_millis": 60000,
50
+ "retry_codes_name": "idempotent",
51
+ "retry_params_name": "default"
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,78 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/alert.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/monitoring/v3/common_pb'
8
+ require 'google/monitoring/v3/mutation_record_pb'
9
+ require 'google/protobuf/duration_pb'
10
+ require 'google/protobuf/wrappers_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_message "google.monitoring.v3.AlertPolicy" do
13
+ optional :name, :string, 1
14
+ optional :display_name, :string, 2
15
+ optional :documentation, :message, 13, "google.monitoring.v3.AlertPolicy.Documentation"
16
+ map :user_labels, :string, :string, 16
17
+ repeated :conditions, :message, 12, "google.monitoring.v3.AlertPolicy.Condition"
18
+ optional :combiner, :enum, 6, "google.monitoring.v3.AlertPolicy.ConditionCombinerType"
19
+ optional :enabled, :message, 17, "google.protobuf.BoolValue"
20
+ repeated :notification_channels, :string, 14
21
+ optional :creation_record, :message, 10, "google.monitoring.v3.MutationRecord"
22
+ optional :mutation_record, :message, 11, "google.monitoring.v3.MutationRecord"
23
+ end
24
+ add_message "google.monitoring.v3.AlertPolicy.Documentation" do
25
+ optional :content, :string, 1
26
+ optional :mime_type, :string, 2
27
+ end
28
+ add_message "google.monitoring.v3.AlertPolicy.Condition" do
29
+ optional :name, :string, 12
30
+ optional :display_name, :string, 6
31
+ oneof :condition do
32
+ optional :condition_threshold, :message, 1, "google.monitoring.v3.AlertPolicy.Condition.MetricThreshold"
33
+ optional :condition_absent, :message, 2, "google.monitoring.v3.AlertPolicy.Condition.MetricAbsence"
34
+ end
35
+ end
36
+ add_message "google.monitoring.v3.AlertPolicy.Condition.Trigger" do
37
+ oneof :type do
38
+ optional :count, :int32, 1
39
+ optional :percent, :double, 2
40
+ end
41
+ end
42
+ add_message "google.monitoring.v3.AlertPolicy.Condition.MetricThreshold" do
43
+ optional :filter, :string, 2
44
+ repeated :aggregations, :message, 8, "google.monitoring.v3.Aggregation"
45
+ optional :denominator_filter, :string, 9
46
+ repeated :denominator_aggregations, :message, 10, "google.monitoring.v3.Aggregation"
47
+ optional :comparison, :enum, 4, "google.monitoring.v3.ComparisonType"
48
+ optional :threshold_value, :double, 5
49
+ optional :duration, :message, 6, "google.protobuf.Duration"
50
+ optional :trigger, :message, 7, "google.monitoring.v3.AlertPolicy.Condition.Trigger"
51
+ end
52
+ add_message "google.monitoring.v3.AlertPolicy.Condition.MetricAbsence" do
53
+ optional :filter, :string, 1
54
+ repeated :aggregations, :message, 5, "google.monitoring.v3.Aggregation"
55
+ optional :duration, :message, 2, "google.protobuf.Duration"
56
+ optional :trigger, :message, 3, "google.monitoring.v3.AlertPolicy.Condition.Trigger"
57
+ end
58
+ add_enum "google.monitoring.v3.AlertPolicy.ConditionCombinerType" do
59
+ value :COMBINE_UNSPECIFIED, 0
60
+ value :AND, 1
61
+ value :OR, 2
62
+ value :AND_WITH_MATCHING_RESOURCE, 3
63
+ end
64
+ end
65
+
66
+ module Google
67
+ module Monitoring
68
+ module V3
69
+ AlertPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy").msgclass
70
+ AlertPolicy::Documentation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Documentation").msgclass
71
+ AlertPolicy::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition").msgclass
72
+ AlertPolicy::Condition::Trigger = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.Trigger").msgclass
73
+ AlertPolicy::Condition::MetricThreshold = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MetricThreshold").msgclass
74
+ AlertPolicy::Condition::MetricAbsence = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.Condition.MetricAbsence").msgclass
75
+ AlertPolicy::ConditionCombinerType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.AlertPolicy.ConditionCombinerType").enummodule
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,49 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/alert_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/monitoring/v3/alert_pb'
8
+ require 'google/protobuf/empty_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.monitoring.v3.CreateAlertPolicyRequest" do
12
+ optional :name, :string, 3
13
+ optional :alert_policy, :message, 2, "google.monitoring.v3.AlertPolicy"
14
+ end
15
+ add_message "google.monitoring.v3.GetAlertPolicyRequest" do
16
+ optional :name, :string, 3
17
+ end
18
+ add_message "google.monitoring.v3.ListAlertPoliciesRequest" do
19
+ optional :name, :string, 4
20
+ optional :filter, :string, 5
21
+ optional :order_by, :string, 6
22
+ optional :page_size, :int32, 2
23
+ optional :page_token, :string, 3
24
+ end
25
+ add_message "google.monitoring.v3.ListAlertPoliciesResponse" do
26
+ repeated :alert_policies, :message, 3, "google.monitoring.v3.AlertPolicy"
27
+ optional :next_page_token, :string, 2
28
+ end
29
+ add_message "google.monitoring.v3.UpdateAlertPolicyRequest" do
30
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
31
+ optional :alert_policy, :message, 3, "google.monitoring.v3.AlertPolicy"
32
+ end
33
+ add_message "google.monitoring.v3.DeleteAlertPolicyRequest" do
34
+ optional :name, :string, 3
35
+ end
36
+ end
37
+
38
+ module Google
39
+ module Monitoring
40
+ module V3
41
+ CreateAlertPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateAlertPolicyRequest").msgclass
42
+ GetAlertPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetAlertPolicyRequest").msgclass
43
+ ListAlertPoliciesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListAlertPoliciesRequest").msgclass
44
+ ListAlertPoliciesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListAlertPoliciesResponse").msgclass
45
+ UpdateAlertPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateAlertPolicyRequest").msgclass
46
+ DeleteAlertPolicyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteAlertPolicyRequest").msgclass
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,62 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/monitoring/v3/alert_service.proto for package 'google.monitoring.v3'
3
+ # Original file comments:
4
+ # Copyright 2018 Google Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/monitoring/v3/alert_service_pb'
21
+
22
+ module Google
23
+ module Monitoring
24
+ module V3
25
+ module AlertPolicyService
26
+ # The AlertPolicyService API is used to manage (list, create, delete,
27
+ # edit) alert policies in Stackdriver Monitoring. An alerting policy is
28
+ # a description of the conditions under which some aspect of your
29
+ # system is considered to be "unhealthy" and the ways to notify
30
+ # people or services about this state. In addition to using this API, alert
31
+ # policies can also be managed through
32
+ # [Stackdriver Monitoring](https://cloud.google.com/monitoring/docs/),
33
+ # which can be reached by clicking the "Monitoring" tab in
34
+ # [Cloud Console](https://console.cloud.google.com/).
35
+ class Service
36
+
37
+ include GRPC::GenericService
38
+
39
+ self.marshal_class_method = :encode
40
+ self.unmarshal_class_method = :decode
41
+ self.service_name = 'google.monitoring.v3.AlertPolicyService'
42
+
43
+ # Lists the existing alerting policies for the project.
44
+ rpc :ListAlertPolicies, ListAlertPoliciesRequest, ListAlertPoliciesResponse
45
+ # Gets a single alerting policy.
46
+ rpc :GetAlertPolicy, GetAlertPolicyRequest, AlertPolicy
47
+ # Creates a new alerting policy.
48
+ rpc :CreateAlertPolicy, CreateAlertPolicyRequest, AlertPolicy
49
+ # Deletes an alerting policy.
50
+ rpc :DeleteAlertPolicy, DeleteAlertPolicyRequest, Google::Protobuf::Empty
51
+ # Updates an alerting policy. You can either replace the entire policy with
52
+ # a new one or replace only certain fields in the current alerting policy by
53
+ # specifying the fields to be updated via `updateMask`. Returns the
54
+ # updated alerting policy.
55
+ rpc :UpdateAlertPolicy, UpdateAlertPolicyRequest, AlertPolicy
56
+ end
57
+
58
+ Stub = Service.rpc_stub_class
59
+ end
60
+ end
61
+ end
62
+ end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/annotations_pb'
6
7
  require 'google/api/distribution_pb'
7
8
  require 'google/protobuf/duration_pb'
8
9
  require 'google/protobuf/timestamp_pb'
@@ -39,11 +40,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
39
40
  value :ALIGN_SUM, 14
40
41
  value :ALIGN_STDDEV, 15
41
42
  value :ALIGN_COUNT_TRUE, 16
43
+ value :ALIGN_COUNT_FALSE, 24
42
44
  value :ALIGN_FRACTION_TRUE, 17
43
45
  value :ALIGN_PERCENTILE_99, 18
44
46
  value :ALIGN_PERCENTILE_95, 19
45
47
  value :ALIGN_PERCENTILE_50, 20
46
48
  value :ALIGN_PERCENTILE_05, 21
49
+ value :ALIGN_PERCENT_CHANGE, 23
47
50
  end
48
51
  add_enum "google.monitoring.v3.Aggregation.Reducer" do
49
52
  value :REDUCE_NONE, 0
@@ -54,12 +57,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
54
57
  value :REDUCE_STDDEV, 5
55
58
  value :REDUCE_COUNT, 6
56
59
  value :REDUCE_COUNT_TRUE, 7
60
+ value :REDUCE_COUNT_FALSE, 15
57
61
  value :REDUCE_FRACTION_TRUE, 8
58
62
  value :REDUCE_PERCENTILE_99, 9
59
63
  value :REDUCE_PERCENTILE_95, 10
60
64
  value :REDUCE_PERCENTILE_50, 11
61
65
  value :REDUCE_PERCENTILE_05, 12
62
66
  end
67
+ add_enum "google.monitoring.v3.ComparisonType" do
68
+ value :COMPARISON_UNSPECIFIED, 0
69
+ value :COMPARISON_GT, 1
70
+ value :COMPARISON_GE, 2
71
+ value :COMPARISON_LT, 3
72
+ value :COMPARISON_LE, 4
73
+ value :COMPARISON_EQ, 5
74
+ value :COMPARISON_NE, 6
75
+ end
76
+ add_enum "google.monitoring.v3.ServiceTier" do
77
+ value :SERVICE_TIER_UNSPECIFIED, 0
78
+ value :SERVICE_TIER_BASIC, 1
79
+ value :SERVICE_TIER_PREMIUM, 2
80
+ end
63
81
  end
64
82
 
65
83
  module Google
@@ -70,6 +88,8 @@ module Google
70
88
  Aggregation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Aggregation").msgclass
71
89
  Aggregation::Aligner = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Aggregation.Aligner").enummodule
72
90
  Aggregation::Reducer = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Aggregation.Reducer").enummodule
91
+ ComparisonType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ComparisonType").enummodule
92
+ ServiceTier = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceTier").enummodule
73
93
  end
74
94
  end
75
95
  end
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # https://www.apache.org/licenses/LICENSE-2.0
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # https://www.apache.org/licenses/LICENSE-2.0
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -0,0 +1,20 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/mutation_record.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.monitoring.v3.MutationRecord" do
9
+ optional :mutate_time, :message, 1, "google.protobuf.Timestamp"
10
+ optional :mutated_by, :string, 2
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Monitoring
16
+ module V3
17
+ MutationRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.MutationRecord").msgclass
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,44 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/notification.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/label_pb'
8
+ require 'google/monitoring/v3/common_pb'
9
+ require 'google/protobuf/wrappers_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.monitoring.v3.NotificationChannelDescriptor" do
12
+ optional :name, :string, 6
13
+ optional :type, :string, 1
14
+ optional :display_name, :string, 2
15
+ optional :description, :string, 3
16
+ repeated :labels, :message, 4, "google.api.LabelDescriptor"
17
+ repeated :supported_tiers, :enum, 5, "google.monitoring.v3.ServiceTier"
18
+ end
19
+ add_message "google.monitoring.v3.NotificationChannel" do
20
+ optional :type, :string, 1
21
+ optional :name, :string, 6
22
+ optional :display_name, :string, 3
23
+ optional :description, :string, 4
24
+ map :labels, :string, :string, 5
25
+ map :user_labels, :string, :string, 8
26
+ optional :verification_status, :enum, 9, "google.monitoring.v3.NotificationChannel.VerificationStatus"
27
+ optional :enabled, :message, 11, "google.protobuf.BoolValue"
28
+ end
29
+ add_enum "google.monitoring.v3.NotificationChannel.VerificationStatus" do
30
+ value :VERIFICATION_STATUS_UNSPECIFIED, 0
31
+ value :UNVERIFIED, 1
32
+ value :VERIFIED, 2
33
+ end
34
+ end
35
+
36
+ module Google
37
+ module Monitoring
38
+ module V3
39
+ NotificationChannelDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannelDescriptor").msgclass
40
+ NotificationChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel").msgclass
41
+ NotificationChannel::VerificationStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel.VerificationStatus").enummodule
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,85 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/notification_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/monitoring/v3/notification_pb'
8
+ require 'google/protobuf/empty_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_message "google.monitoring.v3.ListNotificationChannelDescriptorsRequest" do
13
+ optional :name, :string, 4
14
+ optional :page_size, :int32, 2
15
+ optional :page_token, :string, 3
16
+ end
17
+ add_message "google.monitoring.v3.ListNotificationChannelDescriptorsResponse" do
18
+ repeated :channel_descriptors, :message, 1, "google.monitoring.v3.NotificationChannelDescriptor"
19
+ optional :next_page_token, :string, 2
20
+ end
21
+ add_message "google.monitoring.v3.GetNotificationChannelDescriptorRequest" do
22
+ optional :name, :string, 3
23
+ end
24
+ add_message "google.monitoring.v3.CreateNotificationChannelRequest" do
25
+ optional :name, :string, 3
26
+ optional :notification_channel, :message, 2, "google.monitoring.v3.NotificationChannel"
27
+ end
28
+ add_message "google.monitoring.v3.ListNotificationChannelsRequest" do
29
+ optional :name, :string, 5
30
+ optional :filter, :string, 6
31
+ optional :order_by, :string, 7
32
+ optional :page_size, :int32, 3
33
+ optional :page_token, :string, 4
34
+ end
35
+ add_message "google.monitoring.v3.ListNotificationChannelsResponse" do
36
+ repeated :notification_channels, :message, 3, "google.monitoring.v3.NotificationChannel"
37
+ optional :next_page_token, :string, 2
38
+ end
39
+ add_message "google.monitoring.v3.GetNotificationChannelRequest" do
40
+ optional :name, :string, 3
41
+ end
42
+ add_message "google.monitoring.v3.UpdateNotificationChannelRequest" do
43
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
44
+ optional :notification_channel, :message, 3, "google.monitoring.v3.NotificationChannel"
45
+ end
46
+ add_message "google.monitoring.v3.DeleteNotificationChannelRequest" do
47
+ optional :name, :string, 3
48
+ optional :force, :bool, 5
49
+ end
50
+ add_message "google.monitoring.v3.SendNotificationChannelVerificationCodeRequest" do
51
+ optional :name, :string, 1
52
+ end
53
+ add_message "google.monitoring.v3.GetNotificationChannelVerificationCodeRequest" do
54
+ optional :name, :string, 1
55
+ optional :expire_time, :message, 2, "google.protobuf.Timestamp"
56
+ end
57
+ add_message "google.monitoring.v3.GetNotificationChannelVerificationCodeResponse" do
58
+ optional :code, :string, 1
59
+ optional :expire_time, :message, 2, "google.protobuf.Timestamp"
60
+ end
61
+ add_message "google.monitoring.v3.VerifyNotificationChannelRequest" do
62
+ optional :name, :string, 1
63
+ optional :code, :string, 2
64
+ end
65
+ end
66
+
67
+ module Google
68
+ module Monitoring
69
+ module V3
70
+ ListNotificationChannelDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsRequest").msgclass
71
+ ListNotificationChannelDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsResponse").msgclass
72
+ GetNotificationChannelDescriptorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelDescriptorRequest").msgclass
73
+ CreateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateNotificationChannelRequest").msgclass
74
+ ListNotificationChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsRequest").msgclass
75
+ ListNotificationChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsResponse").msgclass
76
+ GetNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelRequest").msgclass
77
+ UpdateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateNotificationChannelRequest").msgclass
78
+ DeleteNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteNotificationChannelRequest").msgclass
79
+ SendNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SendNotificationChannelVerificationCodeRequest").msgclass
80
+ GetNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeRequest").msgclass
81
+ GetNotificationChannelVerificationCodeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeResponse").msgclass
82
+ VerifyNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.VerifyNotificationChannelRequest").msgclass
83
+ end
84
+ end
85
+ end