google-cloud-monitoring 0.38.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -54
- data/LICENSE.md +201 -0
- data/MIGRATING.md +361 -0
- data/README.md +95 -52
- data/lib/google-cloud-monitoring.rb +6 -5
- data/lib/google/cloud/monitoring.rb +286 -442
- data/lib/google/cloud/monitoring/dashboard.rb +88 -117
- data/lib/google/cloud/monitoring/{v3/doc/google/protobuf/wrappers.rb → dashboard/version.rb} +12 -9
- data/lib/google/cloud/monitoring/version.rb +6 -2
- metadata +73 -130
- data/LICENSE +0 -201
- data/lib/google/cloud/monitoring/dashboard/v1.rb +0 -148
- data/lib/google/cloud/monitoring/dashboard/v1/credentials.rb +0 -46
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client.rb +0 -457
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client_config.json +0 -51
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/common.rb +0 -394
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboard.rb +0 -53
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboards_service.rb +0 -82
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/layouts.rb +0 -71
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/metrics.rb +0 -151
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/scorecard.rb +0 -102
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/text.rb +0 -43
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/widget.rb +0 -41
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/xychart.rb +0 -141
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/monitoring/v3.rb +0 -532
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +0 -553
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client_config.json +0 -51
- data/lib/google/cloud/monitoring/v3/credentials.rb +0 -44
- data/lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb +0 -200
- data/lib/google/cloud/monitoring/v3/doc/google/api/label.rb +0 -42
- data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +0 -245
- data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +0 -108
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +0 -344
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert_service.rb +0 -138
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +0 -449
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +0 -75
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group_service.rb +0 -167
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +0 -85
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb +0 -230
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/mutation_record.rb +0 -29
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb +0 -156
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification_service.rb +0 -221
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service.rb +0 -361
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service_service.rb +0 -197
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +0 -364
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime_service.rb +0 -136
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb +0 -74
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/monitoring/v3/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +0 -606
- data/lib/google/cloud/monitoring/v3/group_service_client_config.json +0 -56
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +0 -750
- data/lib/google/cloud/monitoring/v3/metric_service_client_config.json +0 -66
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +0 -811
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json +0 -76
- data/lib/google/cloud/monitoring/v3/service_monitoring_service_client.rb +0 -788
- data/lib/google/cloud/monitoring/v3/service_monitoring_service_client_config.json +0 -76
- data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +0 -550
- data/lib/google/cloud/monitoring/v3/uptime_check_service_client_config.json +0 -56
- data/lib/google/monitoring/dashboard/v1/common_pb.rb +0 -95
- data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +0 -29
- data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +0 -51
- data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +0 -76
- data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +0 -17
- data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +0 -41
- data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +0 -76
- data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +0 -38
- data/lib/google/monitoring/dashboard/v1/service_pb.rb +0 -17
- data/lib/google/monitoring/dashboard/v1/text_pb.rb +0 -28
- data/lib/google/monitoring/dashboard/v1/widget_pb.rb +0 -32
- data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +0 -66
- data/lib/google/monitoring/v3/alert_pb.rb +0 -87
- data/lib/google/monitoring/v3/alert_service_pb.rb +0 -53
- data/lib/google/monitoring/v3/alert_service_services_pb.rb +0 -63
- data/lib/google/monitoring/v3/common_pb.rb +0 -95
- data/lib/google/monitoring/v3/dropped_labels_pb.rb +0 -19
- data/lib/google/monitoring/v3/group_pb.rb +0 -24
- data/lib/google/monitoring/v3/group_service_pb.rb +0 -73
- data/lib/google/monitoring/v3/group_service_services_pb.rb +0 -66
- data/lib/google/monitoring/v3/metric_pb.rb +0 -82
- data/lib/google/monitoring/v3/metric_service_pb.rb +0 -130
- data/lib/google/monitoring/v3/metric_service_services_pb.rb +0 -66
- data/lib/google/monitoring/v3/mutation_record_pb.rb +0 -21
- data/lib/google/monitoring/v3/notification_pb.rb +0 -47
- data/lib/google/monitoring/v3/notification_service_pb.rb +0 -90
- data/lib/google/monitoring/v3/notification_service_services_pb.rb +0 -94
- data/lib/google/monitoring/v3/service_pb.rb +0 -149
- data/lib/google/monitoring/v3/service_service_pb.rb +0 -86
- data/lib/google/monitoring/v3/service_service_services_pb.rb +0 -65
- data/lib/google/monitoring/v3/span_context_pb.rb +0 -19
- data/lib/google/monitoring/v3/uptime_pb.rb +0 -123
- data/lib/google/monitoring/v3/uptime_service_pb.rb +0 -63
- data/lib/google/monitoring/v3/uptime_service_services_pb.rb +0 -67
@@ -1,21 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/monitoring/v3/mutation_record.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/protobuf/timestamp_pb'
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_message "google.monitoring.v3.MutationRecord" do
|
10
|
-
optional :mutate_time, :message, 1, "google.protobuf.Timestamp"
|
11
|
-
optional :mutated_by, :string, 2
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
module Google
|
16
|
-
module Monitoring
|
17
|
-
end
|
18
|
-
end
|
19
|
-
module Google::Monitoring::V3
|
20
|
-
MutationRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.MutationRecord").msgclass
|
21
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/monitoring/v3/notification.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/label_pb'
|
8
|
-
require 'google/api/launch_stage_pb'
|
9
|
-
require 'google/api/resource_pb'
|
10
|
-
require 'google/monitoring/v3/common_pb'
|
11
|
-
require 'google/protobuf/wrappers_pb'
|
12
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
-
add_message "google.monitoring.v3.NotificationChannelDescriptor" do
|
14
|
-
optional :name, :string, 6
|
15
|
-
optional :type, :string, 1
|
16
|
-
optional :display_name, :string, 2
|
17
|
-
optional :description, :string, 3
|
18
|
-
repeated :labels, :message, 4, "google.api.LabelDescriptor"
|
19
|
-
repeated :supported_tiers, :enum, 5, "google.monitoring.v3.ServiceTier"
|
20
|
-
optional :launch_stage, :enum, 7, "google.api.LaunchStage"
|
21
|
-
end
|
22
|
-
add_message "google.monitoring.v3.NotificationChannel" do
|
23
|
-
optional :type, :string, 1
|
24
|
-
optional :name, :string, 6
|
25
|
-
optional :display_name, :string, 3
|
26
|
-
optional :description, :string, 4
|
27
|
-
map :labels, :string, :string, 5
|
28
|
-
map :user_labels, :string, :string, 8
|
29
|
-
optional :verification_status, :enum, 9, "google.monitoring.v3.NotificationChannel.VerificationStatus"
|
30
|
-
optional :enabled, :message, 11, "google.protobuf.BoolValue"
|
31
|
-
end
|
32
|
-
add_enum "google.monitoring.v3.NotificationChannel.VerificationStatus" do
|
33
|
-
value :VERIFICATION_STATUS_UNSPECIFIED, 0
|
34
|
-
value :UNVERIFIED, 1
|
35
|
-
value :VERIFIED, 2
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
module Google
|
40
|
-
module Monitoring
|
41
|
-
end
|
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
|
@@ -1,90 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/monitoring/v3/notification_service.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/monitoring/v3/notification_pb'
|
12
|
-
require 'google/protobuf/empty_pb'
|
13
|
-
require 'google/protobuf/field_mask_pb'
|
14
|
-
require 'google/protobuf/struct_pb'
|
15
|
-
require 'google/protobuf/timestamp_pb'
|
16
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
|
-
add_message "google.monitoring.v3.ListNotificationChannelDescriptorsRequest" do
|
18
|
-
optional :name, :string, 4
|
19
|
-
optional :page_size, :int32, 2
|
20
|
-
optional :page_token, :string, 3
|
21
|
-
end
|
22
|
-
add_message "google.monitoring.v3.ListNotificationChannelDescriptorsResponse" do
|
23
|
-
repeated :channel_descriptors, :message, 1, "google.monitoring.v3.NotificationChannelDescriptor"
|
24
|
-
optional :next_page_token, :string, 2
|
25
|
-
end
|
26
|
-
add_message "google.monitoring.v3.GetNotificationChannelDescriptorRequest" do
|
27
|
-
optional :name, :string, 3
|
28
|
-
end
|
29
|
-
add_message "google.monitoring.v3.CreateNotificationChannelRequest" do
|
30
|
-
optional :name, :string, 3
|
31
|
-
optional :notification_channel, :message, 2, "google.monitoring.v3.NotificationChannel"
|
32
|
-
end
|
33
|
-
add_message "google.monitoring.v3.ListNotificationChannelsRequest" do
|
34
|
-
optional :name, :string, 5
|
35
|
-
optional :filter, :string, 6
|
36
|
-
optional :order_by, :string, 7
|
37
|
-
optional :page_size, :int32, 3
|
38
|
-
optional :page_token, :string, 4
|
39
|
-
end
|
40
|
-
add_message "google.monitoring.v3.ListNotificationChannelsResponse" do
|
41
|
-
repeated :notification_channels, :message, 3, "google.monitoring.v3.NotificationChannel"
|
42
|
-
optional :next_page_token, :string, 2
|
43
|
-
end
|
44
|
-
add_message "google.monitoring.v3.GetNotificationChannelRequest" do
|
45
|
-
optional :name, :string, 3
|
46
|
-
end
|
47
|
-
add_message "google.monitoring.v3.UpdateNotificationChannelRequest" do
|
48
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
49
|
-
optional :notification_channel, :message, 3, "google.monitoring.v3.NotificationChannel"
|
50
|
-
end
|
51
|
-
add_message "google.monitoring.v3.DeleteNotificationChannelRequest" do
|
52
|
-
optional :name, :string, 3
|
53
|
-
optional :force, :bool, 5
|
54
|
-
end
|
55
|
-
add_message "google.monitoring.v3.SendNotificationChannelVerificationCodeRequest" do
|
56
|
-
optional :name, :string, 1
|
57
|
-
end
|
58
|
-
add_message "google.monitoring.v3.GetNotificationChannelVerificationCodeRequest" do
|
59
|
-
optional :name, :string, 1
|
60
|
-
optional :expire_time, :message, 2, "google.protobuf.Timestamp"
|
61
|
-
end
|
62
|
-
add_message "google.monitoring.v3.GetNotificationChannelVerificationCodeResponse" do
|
63
|
-
optional :code, :string, 1
|
64
|
-
optional :expire_time, :message, 2, "google.protobuf.Timestamp"
|
65
|
-
end
|
66
|
-
add_message "google.monitoring.v3.VerifyNotificationChannelRequest" do
|
67
|
-
optional :name, :string, 1
|
68
|
-
optional :code, :string, 2
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
module Google
|
73
|
-
module Monitoring
|
74
|
-
end
|
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,94 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/monitoring/v3/notification_service.proto for package 'Google::Cloud::Monitoring::V3'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020 Google LLC
|
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
|
-
|
20
|
-
require 'grpc'
|
21
|
-
require 'google/monitoring/v3/notification_service_pb'
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Monitoring
|
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
|
-
|
33
|
-
include GRPC::GenericService
|
34
|
-
|
35
|
-
self.marshal_class_method = :encode
|
36
|
-
self.unmarshal_class_method = :decode
|
37
|
-
self.service_name = 'google.monitoring.v3.NotificationChannelService'
|
38
|
-
|
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
|
90
|
-
end
|
91
|
-
|
92
|
-
Stub = Service.rpc_stub_class
|
93
|
-
end
|
94
|
-
end
|
@@ -1,149 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/monitoring/v3/service.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/monitored_resource_pb'
|
8
|
-
require 'google/api/resource_pb'
|
9
|
-
require 'google/protobuf/duration_pb'
|
10
|
-
require 'google/protobuf/timestamp_pb'
|
11
|
-
require 'google/type/calendar_period_pb'
|
12
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
-
add_message "google.monitoring.v3.Service" do
|
14
|
-
optional :name, :string, 1
|
15
|
-
optional :display_name, :string, 2
|
16
|
-
optional :telemetry, :message, 13, "google.monitoring.v3.Service.Telemetry"
|
17
|
-
oneof :identifier do
|
18
|
-
optional :custom, :message, 6, "google.monitoring.v3.Service.Custom"
|
19
|
-
optional :app_engine, :message, 7, "google.monitoring.v3.Service.AppEngine"
|
20
|
-
optional :cloud_endpoints, :message, 8, "google.monitoring.v3.Service.CloudEndpoints"
|
21
|
-
optional :cluster_istio, :message, 9, "google.monitoring.v3.Service.ClusterIstio"
|
22
|
-
optional :mesh_istio, :message, 10, "google.monitoring.v3.Service.MeshIstio"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
add_message "google.monitoring.v3.Service.Custom" do
|
26
|
-
end
|
27
|
-
add_message "google.monitoring.v3.Service.AppEngine" do
|
28
|
-
optional :module_id, :string, 1
|
29
|
-
end
|
30
|
-
add_message "google.monitoring.v3.Service.CloudEndpoints" do
|
31
|
-
optional :service, :string, 1
|
32
|
-
end
|
33
|
-
add_message "google.monitoring.v3.Service.ClusterIstio" do
|
34
|
-
optional :location, :string, 1
|
35
|
-
optional :cluster_name, :string, 2
|
36
|
-
optional :service_namespace, :string, 3
|
37
|
-
optional :service_name, :string, 4
|
38
|
-
end
|
39
|
-
add_message "google.monitoring.v3.Service.MeshIstio" do
|
40
|
-
optional :mesh_uid, :string, 1
|
41
|
-
optional :service_namespace, :string, 3
|
42
|
-
optional :service_name, :string, 4
|
43
|
-
end
|
44
|
-
add_message "google.monitoring.v3.Service.Telemetry" do
|
45
|
-
optional :resource_name, :string, 1
|
46
|
-
end
|
47
|
-
add_message "google.monitoring.v3.ServiceLevelObjective" do
|
48
|
-
optional :name, :string, 1
|
49
|
-
optional :display_name, :string, 11
|
50
|
-
optional :service_level_indicator, :message, 3, "google.monitoring.v3.ServiceLevelIndicator"
|
51
|
-
optional :goal, :double, 4
|
52
|
-
oneof :period do
|
53
|
-
optional :rolling_period, :message, 5, "google.protobuf.Duration"
|
54
|
-
optional :calendar_period, :enum, 6, "google.type.CalendarPeriod"
|
55
|
-
end
|
56
|
-
end
|
57
|
-
add_enum "google.monitoring.v3.ServiceLevelObjective.View" do
|
58
|
-
value :VIEW_UNSPECIFIED, 0
|
59
|
-
value :FULL, 2
|
60
|
-
value :EXPLICIT, 1
|
61
|
-
end
|
62
|
-
add_message "google.monitoring.v3.ServiceLevelIndicator" do
|
63
|
-
oneof :type do
|
64
|
-
optional :basic_sli, :message, 4, "google.monitoring.v3.BasicSli"
|
65
|
-
optional :request_based, :message, 1, "google.monitoring.v3.RequestBasedSli"
|
66
|
-
optional :windows_based, :message, 2, "google.monitoring.v3.WindowsBasedSli"
|
67
|
-
end
|
68
|
-
end
|
69
|
-
add_message "google.monitoring.v3.BasicSli" do
|
70
|
-
repeated :method, :string, 7
|
71
|
-
repeated :location, :string, 8
|
72
|
-
repeated :version, :string, 9
|
73
|
-
oneof :sli_criteria do
|
74
|
-
optional :availability, :message, 2, "google.monitoring.v3.BasicSli.AvailabilityCriteria"
|
75
|
-
optional :latency, :message, 3, "google.monitoring.v3.BasicSli.LatencyCriteria"
|
76
|
-
end
|
77
|
-
end
|
78
|
-
add_message "google.monitoring.v3.BasicSli.AvailabilityCriteria" do
|
79
|
-
end
|
80
|
-
add_message "google.monitoring.v3.BasicSli.LatencyCriteria" do
|
81
|
-
optional :threshold, :message, 3, "google.protobuf.Duration"
|
82
|
-
end
|
83
|
-
add_message "google.monitoring.v3.Range" do
|
84
|
-
optional :min, :double, 1
|
85
|
-
optional :max, :double, 2
|
86
|
-
end
|
87
|
-
add_message "google.monitoring.v3.RequestBasedSli" do
|
88
|
-
oneof :method do
|
89
|
-
optional :good_total_ratio, :message, 1, "google.monitoring.v3.TimeSeriesRatio"
|
90
|
-
optional :distribution_cut, :message, 3, "google.monitoring.v3.DistributionCut"
|
91
|
-
end
|
92
|
-
end
|
93
|
-
add_message "google.monitoring.v3.TimeSeriesRatio" do
|
94
|
-
optional :good_service_filter, :string, 4
|
95
|
-
optional :bad_service_filter, :string, 5
|
96
|
-
optional :total_service_filter, :string, 6
|
97
|
-
end
|
98
|
-
add_message "google.monitoring.v3.DistributionCut" do
|
99
|
-
optional :distribution_filter, :string, 4
|
100
|
-
optional :range, :message, 5, "google.monitoring.v3.Range"
|
101
|
-
end
|
102
|
-
add_message "google.monitoring.v3.WindowsBasedSli" do
|
103
|
-
optional :window_period, :message, 4, "google.protobuf.Duration"
|
104
|
-
oneof :window_criterion do
|
105
|
-
optional :good_bad_metric_filter, :string, 5
|
106
|
-
optional :good_total_ratio_threshold, :message, 2, "google.monitoring.v3.WindowsBasedSli.PerformanceThreshold"
|
107
|
-
optional :metric_mean_in_range, :message, 6, "google.monitoring.v3.WindowsBasedSli.MetricRange"
|
108
|
-
optional :metric_sum_in_range, :message, 7, "google.monitoring.v3.WindowsBasedSli.MetricRange"
|
109
|
-
end
|
110
|
-
end
|
111
|
-
add_message "google.monitoring.v3.WindowsBasedSli.PerformanceThreshold" do
|
112
|
-
optional :threshold, :double, 2
|
113
|
-
oneof :type do
|
114
|
-
optional :performance, :message, 1, "google.monitoring.v3.RequestBasedSli"
|
115
|
-
optional :basic_sli_performance, :message, 3, "google.monitoring.v3.BasicSli"
|
116
|
-
end
|
117
|
-
end
|
118
|
-
add_message "google.monitoring.v3.WindowsBasedSli.MetricRange" do
|
119
|
-
optional :time_series, :string, 1
|
120
|
-
optional :range, :message, 4, "google.monitoring.v3.Range"
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
module Google
|
125
|
-
module Monitoring
|
126
|
-
end
|
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
|
@@ -1,86 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/monitoring/v3/service_service.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/monitoring/v3/service_pb'
|
12
|
-
require 'google/protobuf/empty_pb'
|
13
|
-
require 'google/protobuf/field_mask_pb'
|
14
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
-
add_message "google.monitoring.v3.CreateServiceRequest" do
|
16
|
-
optional :parent, :string, 1
|
17
|
-
optional :service_id, :string, 3
|
18
|
-
optional :service, :message, 2, "google.monitoring.v3.Service"
|
19
|
-
end
|
20
|
-
add_message "google.monitoring.v3.GetServiceRequest" do
|
21
|
-
optional :name, :string, 1
|
22
|
-
end
|
23
|
-
add_message "google.monitoring.v3.ListServicesRequest" do
|
24
|
-
optional :parent, :string, 1
|
25
|
-
optional :filter, :string, 2
|
26
|
-
optional :page_size, :int32, 3
|
27
|
-
optional :page_token, :string, 4
|
28
|
-
end
|
29
|
-
add_message "google.monitoring.v3.ListServicesResponse" do
|
30
|
-
repeated :services, :message, 1, "google.monitoring.v3.Service"
|
31
|
-
optional :next_page_token, :string, 2
|
32
|
-
end
|
33
|
-
add_message "google.monitoring.v3.UpdateServiceRequest" do
|
34
|
-
optional :service, :message, 1, "google.monitoring.v3.Service"
|
35
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
36
|
-
end
|
37
|
-
add_message "google.monitoring.v3.DeleteServiceRequest" do
|
38
|
-
optional :name, :string, 1
|
39
|
-
end
|
40
|
-
add_message "google.monitoring.v3.CreateServiceLevelObjectiveRequest" do
|
41
|
-
optional :parent, :string, 1
|
42
|
-
optional :service_level_objective_id, :string, 3
|
43
|
-
optional :service_level_objective, :message, 2, "google.monitoring.v3.ServiceLevelObjective"
|
44
|
-
end
|
45
|
-
add_message "google.monitoring.v3.GetServiceLevelObjectiveRequest" do
|
46
|
-
optional :name, :string, 1
|
47
|
-
optional :view, :enum, 2, "google.monitoring.v3.ServiceLevelObjective.View"
|
48
|
-
end
|
49
|
-
add_message "google.monitoring.v3.ListServiceLevelObjectivesRequest" do
|
50
|
-
optional :parent, :string, 1
|
51
|
-
optional :filter, :string, 2
|
52
|
-
optional :page_size, :int32, 3
|
53
|
-
optional :page_token, :string, 4
|
54
|
-
optional :view, :enum, 5, "google.monitoring.v3.ServiceLevelObjective.View"
|
55
|
-
end
|
56
|
-
add_message "google.monitoring.v3.ListServiceLevelObjectivesResponse" do
|
57
|
-
repeated :service_level_objectives, :message, 1, "google.monitoring.v3.ServiceLevelObjective"
|
58
|
-
optional :next_page_token, :string, 2
|
59
|
-
end
|
60
|
-
add_message "google.monitoring.v3.UpdateServiceLevelObjectiveRequest" do
|
61
|
-
optional :service_level_objective, :message, 1, "google.monitoring.v3.ServiceLevelObjective"
|
62
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
63
|
-
end
|
64
|
-
add_message "google.monitoring.v3.DeleteServiceLevelObjectiveRequest" do
|
65
|
-
optional :name, :string, 1
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
module Google
|
70
|
-
module Monitoring
|
71
|
-
end
|
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
|