google-cloud-monitoring 0.37.2 → 0.38.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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +1 -1
  4. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +38 -0
  5. data/lib/google/cloud/monitoring/version.rb +1 -1
  6. data/lib/google/monitoring/dashboard/v1/common_pb.rb +10 -10
  7. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +3 -3
  8. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +8 -8
  9. data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +45 -45
  10. data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +2 -2
  11. data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +7 -7
  12. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +10 -10
  13. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +5 -5
  14. data/lib/google/monitoring/dashboard/v1/service_pb.rb +2 -2
  15. data/lib/google/monitoring/dashboard/v1/text_pb.rb +4 -4
  16. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +3 -3
  17. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +9 -9
  18. data/lib/google/monitoring/v3/alert_pb.rb +10 -10
  19. data/lib/google/monitoring/v3/alert_service_pb.rb +8 -8
  20. data/lib/google/monitoring/v3/alert_service_services_pb.rb +34 -34
  21. data/lib/google/monitoring/v3/common_pb.rb +9 -9
  22. data/lib/google/monitoring/v3/dropped_labels_pb.rb +3 -3
  23. data/lib/google/monitoring/v3/group_pb.rb +3 -3
  24. data/lib/google/monitoring/v3/group_service_pb.rb +10 -10
  25. data/lib/google/monitoring/v3/group_service_services_pb.rb +37 -37
  26. data/lib/google/monitoring/v3/metric_pb.rb +12 -12
  27. data/lib/google/monitoring/v3/metric_service_pb.rb +20 -20
  28. data/lib/google/monitoring/v3/metric_service_services_pb.rb +37 -37
  29. data/lib/google/monitoring/v3/mutation_record_pb.rb +3 -3
  30. data/lib/google/monitoring/v3/notification_pb.rb +5 -5
  31. data/lib/google/monitoring/v3/notification_service_pb.rb +15 -15
  32. data/lib/google/monitoring/v3/notification_service_services_pb.rb +65 -65
  33. data/lib/google/monitoring/v3/service_pb.rb +22 -22
  34. data/lib/google/monitoring/v3/service_service_pb.rb +14 -14
  35. data/lib/google/monitoring/v3/service_service_services_pb.rb +36 -36
  36. data/lib/google/monitoring/v3/span_context_pb.rb +3 -3
  37. data/lib/google/monitoring/v3/uptime_pb.rb +28 -14
  38. data/lib/google/monitoring/v3/uptime_service_pb.rb +10 -10
  39. data/lib/google/monitoring/v3/uptime_service_services_pb.rb +38 -38
  40. metadata +2 -2
@@ -38,10 +38,10 @@ end
38
38
 
39
39
  module Google
40
40
  module Monitoring
41
- module V3
42
- NotificationChannelDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannelDescriptor").msgclass
43
- NotificationChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel").msgclass
44
- NotificationChannel::VerificationStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel.VerificationStatus").enummodule
45
- end
46
41
  end
47
42
  end
43
+ module Google::Monitoring::V3
44
+ NotificationChannelDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannelDescriptor").msgclass
45
+ NotificationChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel").msgclass
46
+ NotificationChannel::VerificationStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.NotificationChannel.VerificationStatus").enummodule
47
+ end
@@ -71,20 +71,20 @@ end
71
71
 
72
72
  module Google
73
73
  module Monitoring
74
- module V3
75
- ListNotificationChannelDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsRequest").msgclass
76
- ListNotificationChannelDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsResponse").msgclass
77
- GetNotificationChannelDescriptorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelDescriptorRequest").msgclass
78
- CreateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateNotificationChannelRequest").msgclass
79
- ListNotificationChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsRequest").msgclass
80
- ListNotificationChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsResponse").msgclass
81
- GetNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelRequest").msgclass
82
- UpdateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateNotificationChannelRequest").msgclass
83
- DeleteNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteNotificationChannelRequest").msgclass
84
- SendNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SendNotificationChannelVerificationCodeRequest").msgclass
85
- GetNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeRequest").msgclass
86
- GetNotificationChannelVerificationCodeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeResponse").msgclass
87
- VerifyNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.VerifyNotificationChannelRequest").msgclass
88
- end
89
74
  end
90
75
  end
76
+ module Google::Monitoring::V3
77
+ ListNotificationChannelDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsRequest").msgclass
78
+ ListNotificationChannelDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelDescriptorsResponse").msgclass
79
+ GetNotificationChannelDescriptorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelDescriptorRequest").msgclass
80
+ CreateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateNotificationChannelRequest").msgclass
81
+ ListNotificationChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsRequest").msgclass
82
+ ListNotificationChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListNotificationChannelsResponse").msgclass
83
+ GetNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelRequest").msgclass
84
+ UpdateNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateNotificationChannelRequest").msgclass
85
+ DeleteNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteNotificationChannelRequest").msgclass
86
+ SendNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SendNotificationChannelVerificationCodeRequest").msgclass
87
+ GetNotificationChannelVerificationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeRequest").msgclass
88
+ GetNotificationChannelVerificationCodeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetNotificationChannelVerificationCodeResponse").msgclass
89
+ VerifyNotificationChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.VerifyNotificationChannelRequest").msgclass
90
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/monitoring/v3/notification_service.proto for package 'google.monitoring.v3'
2
+ # Source: google/monitoring/v3/notification_service.proto for package 'Google::Cloud::Monitoring::V3'
3
3
  # Original file comments:
4
4
  # Copyright 2020 Google LLC
5
5
  #
@@ -22,73 +22,73 @@ require 'google/monitoring/v3/notification_service_pb'
22
22
 
23
23
  module Google
24
24
  module Monitoring
25
- module V3
26
- module NotificationChannelService
27
- # The Notification Channel API provides access to configuration that
28
- # controls how messages related to incidents are sent.
29
- class Service
30
-
31
- include GRPC::GenericService
25
+ end
26
+ end
27
+ module Google::Monitoring::V3
28
+ module NotificationChannelService
29
+ # The Notification Channel API provides access to configuration that
30
+ # controls how messages related to incidents are sent.
31
+ class Service
32
32
 
33
- self.marshal_class_method = :encode
34
- self.unmarshal_class_method = :decode
35
- self.service_name = 'google.monitoring.v3.NotificationChannelService'
33
+ include GRPC::GenericService
36
34
 
37
- # Lists the descriptors for supported channel types. The use of descriptors
38
- # makes it possible for new channel types to be dynamically added.
39
- rpc :ListNotificationChannelDescriptors, ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse
40
- # Gets a single channel descriptor. The descriptor indicates which fields
41
- # are expected / permitted for a notification channel of the given type.
42
- rpc :GetNotificationChannelDescriptor, GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor
43
- # Lists the notification channels that have been created for the project.
44
- rpc :ListNotificationChannels, ListNotificationChannelsRequest, ListNotificationChannelsResponse
45
- # Gets a single notification channel. The channel includes the relevant
46
- # configuration details with which the channel was created. However, the
47
- # response may truncate or omit passwords, API keys, or other private key
48
- # matter and thus the response may not be 100% identical to the information
49
- # that was supplied in the call to the create method.
50
- rpc :GetNotificationChannel, GetNotificationChannelRequest, NotificationChannel
51
- # Creates a new notification channel, representing a single notification
52
- # endpoint such as an email address, SMS number, or PagerDuty service.
53
- rpc :CreateNotificationChannel, CreateNotificationChannelRequest, NotificationChannel
54
- # Updates a notification channel. Fields not specified in the field mask
55
- # remain unchanged.
56
- rpc :UpdateNotificationChannel, UpdateNotificationChannelRequest, NotificationChannel
57
- # Deletes a notification channel.
58
- rpc :DeleteNotificationChannel, DeleteNotificationChannelRequest, Google::Protobuf::Empty
59
- # Causes a verification code to be delivered to the channel. The code
60
- # can then be supplied in `VerifyNotificationChannel` to verify the channel.
61
- rpc :SendNotificationChannelVerificationCode, SendNotificationChannelVerificationCodeRequest, Google::Protobuf::Empty
62
- # Requests a verification code for an already verified channel that can then
63
- # be used in a call to VerifyNotificationChannel() on a different channel
64
- # with an equivalent identity in the same or in a different project. This
65
- # makes it possible to copy a channel between projects without requiring
66
- # manual reverification of the channel. If the channel is not in the
67
- # verified state, this method will fail (in other words, this may only be
68
- # used if the SendNotificationChannelVerificationCode and
69
- # VerifyNotificationChannel paths have already been used to put the given
70
- # channel into the verified state).
71
- #
72
- # There is no guarantee that the verification codes returned by this method
73
- # will be of a similar structure or form as the ones that are delivered
74
- # to the channel via SendNotificationChannelVerificationCode; while
75
- # VerifyNotificationChannel() will recognize both the codes delivered via
76
- # SendNotificationChannelVerificationCode() and returned from
77
- # GetNotificationChannelVerificationCode(), it is typically the case that
78
- # the verification codes delivered via
79
- # SendNotificationChannelVerificationCode() will be shorter and also
80
- # have a shorter expiration (e.g. codes such as "G-123456") whereas
81
- # GetVerificationCode() will typically return a much longer, websafe base
82
- # 64 encoded string that has a longer expiration time.
83
- rpc :GetNotificationChannelVerificationCode, GetNotificationChannelVerificationCodeRequest, GetNotificationChannelVerificationCodeResponse
84
- # Verifies a `NotificationChannel` by proving receipt of the code
85
- # delivered to the channel as a result of calling
86
- # `SendNotificationChannelVerificationCode`.
87
- rpc :VerifyNotificationChannel, VerifyNotificationChannelRequest, NotificationChannel
88
- end
35
+ self.marshal_class_method = :encode
36
+ self.unmarshal_class_method = :decode
37
+ self.service_name = 'google.monitoring.v3.NotificationChannelService'
89
38
 
90
- Stub = Service.rpc_stub_class
91
- end
39
+ # Lists the descriptors for supported channel types. The use of descriptors
40
+ # makes it possible for new channel types to be dynamically added.
41
+ rpc :ListNotificationChannelDescriptors, ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse
42
+ # Gets a single channel descriptor. The descriptor indicates which fields
43
+ # are expected / permitted for a notification channel of the given type.
44
+ rpc :GetNotificationChannelDescriptor, GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor
45
+ # Lists the notification channels that have been created for the project.
46
+ rpc :ListNotificationChannels, ListNotificationChannelsRequest, ListNotificationChannelsResponse
47
+ # Gets a single notification channel. The channel includes the relevant
48
+ # configuration details with which the channel was created. However, the
49
+ # response may truncate or omit passwords, API keys, or other private key
50
+ # matter and thus the response may not be 100% identical to the information
51
+ # that was supplied in the call to the create method.
52
+ rpc :GetNotificationChannel, GetNotificationChannelRequest, NotificationChannel
53
+ # Creates a new notification channel, representing a single notification
54
+ # endpoint such as an email address, SMS number, or PagerDuty service.
55
+ rpc :CreateNotificationChannel, CreateNotificationChannelRequest, NotificationChannel
56
+ # Updates a notification channel. Fields not specified in the field mask
57
+ # remain unchanged.
58
+ rpc :UpdateNotificationChannel, UpdateNotificationChannelRequest, NotificationChannel
59
+ # Deletes a notification channel.
60
+ rpc :DeleteNotificationChannel, DeleteNotificationChannelRequest, Google::Protobuf::Empty
61
+ # Causes a verification code to be delivered to the channel. The code
62
+ # can then be supplied in `VerifyNotificationChannel` to verify the channel.
63
+ rpc :SendNotificationChannelVerificationCode, SendNotificationChannelVerificationCodeRequest, Google::Protobuf::Empty
64
+ # Requests a verification code for an already verified channel that can then
65
+ # be used in a call to VerifyNotificationChannel() on a different channel
66
+ # with an equivalent identity in the same or in a different project. This
67
+ # makes it possible to copy a channel between projects without requiring
68
+ # manual reverification of the channel. If the channel is not in the
69
+ # verified state, this method will fail (in other words, this may only be
70
+ # used if the SendNotificationChannelVerificationCode and
71
+ # VerifyNotificationChannel paths have already been used to put the given
72
+ # channel into the verified state).
73
+ #
74
+ # There is no guarantee that the verification codes returned by this method
75
+ # will be of a similar structure or form as the ones that are delivered
76
+ # to the channel via SendNotificationChannelVerificationCode; while
77
+ # VerifyNotificationChannel() will recognize both the codes delivered via
78
+ # SendNotificationChannelVerificationCode() and returned from
79
+ # GetNotificationChannelVerificationCode(), it is typically the case that
80
+ # the verification codes delivered via
81
+ # SendNotificationChannelVerificationCode() will be shorter and also
82
+ # have a shorter expiration (e.g. codes such as "G-123456") whereas
83
+ # GetVerificationCode() will typically return a much longer, websafe base
84
+ # 64 encoded string that has a longer expiration time.
85
+ rpc :GetNotificationChannelVerificationCode, GetNotificationChannelVerificationCodeRequest, GetNotificationChannelVerificationCodeResponse
86
+ # Verifies a `NotificationChannel` by proving receipt of the code
87
+ # delivered to the channel as a result of calling
88
+ # `SendNotificationChannelVerificationCode`.
89
+ rpc :VerifyNotificationChannel, VerifyNotificationChannelRequest, NotificationChannel
92
90
  end
91
+
92
+ Stub = Service.rpc_stub_class
93
93
  end
94
94
  end
@@ -123,27 +123,27 @@ end
123
123
 
124
124
  module Google
125
125
  module Monitoring
126
- module V3
127
- Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service").msgclass
128
- Service::Custom = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Custom").msgclass
129
- Service::AppEngine = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.AppEngine").msgclass
130
- Service::CloudEndpoints = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.CloudEndpoints").msgclass
131
- Service::ClusterIstio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.ClusterIstio").msgclass
132
- Service::MeshIstio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.MeshIstio").msgclass
133
- Service::Telemetry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Telemetry").msgclass
134
- ServiceLevelObjective = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective").msgclass
135
- ServiceLevelObjective::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective.View").enummodule
136
- ServiceLevelIndicator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelIndicator").msgclass
137
- BasicSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli").msgclass
138
- BasicSli::AvailabilityCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.AvailabilityCriteria").msgclass
139
- BasicSli::LatencyCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.LatencyCriteria").msgclass
140
- Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Range").msgclass
141
- RequestBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.RequestBasedSli").msgclass
142
- TimeSeriesRatio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.TimeSeriesRatio").msgclass
143
- DistributionCut = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DistributionCut").msgclass
144
- WindowsBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli").msgclass
145
- WindowsBasedSli::PerformanceThreshold = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.PerformanceThreshold").msgclass
146
- WindowsBasedSli::MetricRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.MetricRange").msgclass
147
- end
148
126
  end
149
127
  end
128
+ module Google::Monitoring::V3
129
+ Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service").msgclass
130
+ Service::Custom = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Custom").msgclass
131
+ Service::AppEngine = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.AppEngine").msgclass
132
+ Service::CloudEndpoints = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.CloudEndpoints").msgclass
133
+ Service::ClusterIstio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.ClusterIstio").msgclass
134
+ Service::MeshIstio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.MeshIstio").msgclass
135
+ Service::Telemetry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Telemetry").msgclass
136
+ ServiceLevelObjective = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective").msgclass
137
+ ServiceLevelObjective::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective.View").enummodule
138
+ ServiceLevelIndicator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelIndicator").msgclass
139
+ BasicSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli").msgclass
140
+ BasicSli::AvailabilityCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.AvailabilityCriteria").msgclass
141
+ BasicSli::LatencyCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.LatencyCriteria").msgclass
142
+ Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Range").msgclass
143
+ RequestBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.RequestBasedSli").msgclass
144
+ TimeSeriesRatio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.TimeSeriesRatio").msgclass
145
+ DistributionCut = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DistributionCut").msgclass
146
+ WindowsBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli").msgclass
147
+ WindowsBasedSli::PerformanceThreshold = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.PerformanceThreshold").msgclass
148
+ WindowsBasedSli::MetricRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.MetricRange").msgclass
149
+ end
@@ -68,19 +68,19 @@ end
68
68
 
69
69
  module Google
70
70
  module Monitoring
71
- module V3
72
- CreateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceRequest").msgclass
73
- GetServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceRequest").msgclass
74
- ListServicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesRequest").msgclass
75
- ListServicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesResponse").msgclass
76
- UpdateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceRequest").msgclass
77
- DeleteServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceRequest").msgclass
78
- CreateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceLevelObjectiveRequest").msgclass
79
- GetServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceLevelObjectiveRequest").msgclass
80
- ListServiceLevelObjectivesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesRequest").msgclass
81
- ListServiceLevelObjectivesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesResponse").msgclass
82
- UpdateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceLevelObjectiveRequest").msgclass
83
- DeleteServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceLevelObjectiveRequest").msgclass
84
- end
85
71
  end
86
72
  end
73
+ module Google::Monitoring::V3
74
+ CreateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceRequest").msgclass
75
+ GetServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceRequest").msgclass
76
+ ListServicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesRequest").msgclass
77
+ ListServicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesResponse").msgclass
78
+ UpdateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceRequest").msgclass
79
+ DeleteServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceRequest").msgclass
80
+ CreateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceLevelObjectiveRequest").msgclass
81
+ GetServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceLevelObjectiveRequest").msgclass
82
+ ListServiceLevelObjectivesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesRequest").msgclass
83
+ ListServiceLevelObjectivesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesResponse").msgclass
84
+ UpdateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceLevelObjectiveRequest").msgclass
85
+ DeleteServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceLevelObjectiveRequest").msgclass
86
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/monitoring/v3/service_service.proto for package 'google.monitoring.v3'
2
+ # Source: google/monitoring/v3/service_service.proto for package 'Google::Cloud::Monitoring::V3'
3
3
  # Original file comments:
4
4
  # Copyright 2020 Google LLC
5
5
  #
@@ -22,44 +22,44 @@ require 'google/monitoring/v3/service_service_pb'
22
22
 
23
23
  module Google
24
24
  module Monitoring
25
- module V3
26
- module ServiceMonitoringService
27
- # The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
28
- # managing and querying aspects of a workspace's services. These include the
29
- # `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
30
- # of categorized Health Metrics.
31
- class Service
32
-
33
- include GRPC::GenericService
25
+ end
26
+ end
27
+ module Google::Monitoring::V3
28
+ module ServiceMonitoringService
29
+ # The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
30
+ # managing and querying aspects of a workspace's services. These include the
31
+ # `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
32
+ # of categorized Health Metrics.
33
+ class Service
34
34
 
35
- self.marshal_class_method = :encode
36
- self.unmarshal_class_method = :decode
37
- self.service_name = 'google.monitoring.v3.ServiceMonitoringService'
35
+ include GRPC::GenericService
38
36
 
39
- # Create a `Service`.
40
- rpc :CreateService, CreateServiceRequest, Google::Monitoring::V3::Service
41
- # Get the named `Service`.
42
- rpc :GetService, GetServiceRequest, Google::Monitoring::V3::Service
43
- # List `Service`s for this workspace.
44
- rpc :ListServices, ListServicesRequest, ListServicesResponse
45
- # Update this `Service`.
46
- rpc :UpdateService, UpdateServiceRequest, Google::Monitoring::V3::Service
47
- # Soft delete this `Service`.
48
- rpc :DeleteService, DeleteServiceRequest, Google::Protobuf::Empty
49
- # Create a `ServiceLevelObjective` for the given `Service`.
50
- rpc :CreateServiceLevelObjective, CreateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
51
- # Get a `ServiceLevelObjective` by name.
52
- rpc :GetServiceLevelObjective, GetServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
53
- # List the `ServiceLevelObjective`s for the given `Service`.
54
- rpc :ListServiceLevelObjectives, ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse
55
- # Update the given `ServiceLevelObjective`.
56
- rpc :UpdateServiceLevelObjective, UpdateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
57
- # Delete the given `ServiceLevelObjective`.
58
- rpc :DeleteServiceLevelObjective, DeleteServiceLevelObjectiveRequest, Google::Protobuf::Empty
59
- end
37
+ self.marshal_class_method = :encode
38
+ self.unmarshal_class_method = :decode
39
+ self.service_name = 'google.monitoring.v3.ServiceMonitoringService'
60
40
 
61
- Stub = Service.rpc_stub_class
62
- end
41
+ # Create a `Service`.
42
+ rpc :CreateService, CreateServiceRequest, Google::Monitoring::V3::Service
43
+ # Get the named `Service`.
44
+ rpc :GetService, GetServiceRequest, Google::Monitoring::V3::Service
45
+ # List `Service`s for this workspace.
46
+ rpc :ListServices, ListServicesRequest, ListServicesResponse
47
+ # Update this `Service`.
48
+ rpc :UpdateService, UpdateServiceRequest, Google::Monitoring::V3::Service
49
+ # Soft delete this `Service`.
50
+ rpc :DeleteService, DeleteServiceRequest, Google::Protobuf::Empty
51
+ # Create a `ServiceLevelObjective` for the given `Service`.
52
+ rpc :CreateServiceLevelObjective, CreateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
53
+ # Get a `ServiceLevelObjective` by name.
54
+ rpc :GetServiceLevelObjective, GetServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
55
+ # List the `ServiceLevelObjective`s for the given `Service`.
56
+ rpc :ListServiceLevelObjectives, ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse
57
+ # Update the given `ServiceLevelObjective`.
58
+ rpc :UpdateServiceLevelObjective, UpdateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
59
+ # Delete the given `ServiceLevelObjective`.
60
+ rpc :DeleteServiceLevelObjective, DeleteServiceLevelObjectiveRequest, Google::Protobuf::Empty
63
61
  end
62
+
63
+ Stub = Service.rpc_stub_class
64
64
  end
65
65
  end
@@ -12,8 +12,8 @@ end
12
12
 
13
13
  module Google
14
14
  module Monitoring
15
- module V3
16
- SpanContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SpanContext").msgclass
17
- end
18
15
  end
19
16
  end
17
+ module Google::Monitoring::V3
18
+ SpanContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.SpanContext").msgclass
19
+ end
@@ -44,18 +44,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
44
44
  optional :resource_type, :enum, 2, "google.monitoring.v3.GroupResourceType"
45
45
  end
46
46
  add_message "google.monitoring.v3.UptimeCheckConfig.HttpCheck" do
47
+ optional :request_method, :enum, 8, "google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod"
47
48
  optional :use_ssl, :bool, 1
48
49
  optional :path, :string, 2
49
50
  optional :port, :int32, 3
50
51
  optional :auth_info, :message, 4, "google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication"
51
52
  optional :mask_headers, :bool, 5
52
53
  map :headers, :string, :string, 6
54
+ optional :content_type, :enum, 9, "google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType"
53
55
  optional :validate_ssl, :bool, 7
56
+ optional :body, :bytes, 10
54
57
  end
55
58
  add_message "google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication" do
56
59
  optional :username, :string, 1
57
60
  optional :password, :string, 2
58
61
  end
62
+ add_enum "google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod" do
63
+ value :METHOD_UNSPECIFIED, 0
64
+ value :GET, 1
65
+ value :POST, 2
66
+ end
67
+ add_enum "google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType" do
68
+ value :TYPE_UNSPECIFIED, 0
69
+ value :URL_ENCODED, 1
70
+ end
59
71
  add_message "google.monitoring.v3.UptimeCheckConfig.TcpCheck" do
60
72
  optional :port, :int32, 1
61
73
  end
@@ -91,19 +103,21 @@ end
91
103
 
92
104
  module Google
93
105
  module Monitoring
94
- module V3
95
- InternalChecker = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker").msgclass
96
- InternalChecker::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker.State").enummodule
97
- UptimeCheckConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig").msgclass
98
- UptimeCheckConfig::ResourceGroup = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ResourceGroup").msgclass
99
- UptimeCheckConfig::HttpCheck = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck").msgclass
100
- UptimeCheckConfig::HttpCheck::BasicAuthentication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication").msgclass
101
- UptimeCheckConfig::TcpCheck = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.TcpCheck").msgclass
102
- UptimeCheckConfig::ContentMatcher = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ContentMatcher").msgclass
103
- UptimeCheckConfig::ContentMatcher::ContentMatcherOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption").enummodule
104
- UptimeCheckIp = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckIp").msgclass
105
- UptimeCheckRegion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckRegion").enummodule
106
- GroupResourceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GroupResourceType").enummodule
107
- end
108
106
  end
109
107
  end
108
+ module Google::Monitoring::V3
109
+ InternalChecker = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker").msgclass
110
+ InternalChecker::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.InternalChecker.State").enummodule
111
+ UptimeCheckConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig").msgclass
112
+ UptimeCheckConfig::ResourceGroup = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ResourceGroup").msgclass
113
+ UptimeCheckConfig::HttpCheck = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck").msgclass
114
+ UptimeCheckConfig::HttpCheck::BasicAuthentication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication").msgclass
115
+ UptimeCheckConfig::HttpCheck::RequestMethod = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod").enummodule
116
+ UptimeCheckConfig::HttpCheck::ContentType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType").enummodule
117
+ UptimeCheckConfig::TcpCheck = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.TcpCheck").msgclass
118
+ UptimeCheckConfig::ContentMatcher = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ContentMatcher").msgclass
119
+ UptimeCheckConfig::ContentMatcher::ContentMatcherOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption").enummodule
120
+ UptimeCheckIp = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckIp").msgclass
121
+ UptimeCheckRegion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UptimeCheckRegion").enummodule
122
+ GroupResourceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GroupResourceType").enummodule
123
+ end