google-cloud-monitoring 0.29.1 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/google/cloud/monitoring.rb +4 -4
- data/lib/google/cloud/monitoring/v3.rb +4 -4
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +19 -19
- data/lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb +18 -18
- data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +69 -48
- data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +20 -21
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +42 -42
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert_service.rb +24 -24
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +21 -21
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +9 -9
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group_service.rb +24 -24
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +7 -7
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb +41 -41
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb +15 -15
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification_service.rb +30 -30
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +8 -8
- data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime_service.rb +21 -21
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/field_mask.rb +7 -7
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb +11 -11
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +7 -7
- data/lib/google/cloud/monitoring/v3/doc/google/protobuf/wrappers.rb +18 -18
- data/lib/google/cloud/monitoring/v3/doc/google/rpc/status.rb +11 -11
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +15 -15
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +20 -20
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +11 -11
- data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +14 -14
- metadata +3 -4
- data/lib/google/cloud/monitoring/v3/doc/overview.rb +0 -104
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
#
|
26
26
|
# projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
|
27
27
|
#
|
28
|
-
# In the above,
|
28
|
+
# In the above, `[TYPE]` is the value of the `type` field.
|
29
29
|
# @!attribute [rw] type
|
30
30
|
# @return [String]
|
31
31
|
# The type of notification channel, such as "email", "sms", etc.
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
# must be one of the supported_tiers.
|
51
51
|
class NotificationChannelDescriptor; end
|
52
52
|
|
53
|
-
# A
|
53
|
+
# A `NotificationChannel` is a medium through which an alert is
|
54
54
|
# delivered when a policy violation is detected. Examples of channels
|
55
55
|
# include email, SMS, and third-party messaging applications. Fields
|
56
56
|
# containing sensitive information like authentication tokens or
|
@@ -65,7 +65,7 @@ module Google
|
|
65
65
|
#
|
66
66
|
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
|
67
67
|
#
|
68
|
-
# The
|
68
|
+
# The `[CHANNEL_ID]` is automatically assigned by the server on creation.
|
69
69
|
# @!attribute [rw] display_name
|
70
70
|
# @return [String]
|
71
71
|
# An optional human-readable name for this notification channel. It is
|
@@ -82,13 +82,13 @@ module Google
|
|
82
82
|
# Configuration fields that define the channel and its behavior. The
|
83
83
|
# permissible and required labels are specified in the
|
84
84
|
# {Google::Monitoring::V3::NotificationChannelDescriptor#labels NotificationChannelDescriptor#labels} of the
|
85
|
-
#
|
85
|
+
# `NotificationChannelDescriptor` corresponding to the `type` field.
|
86
86
|
# @!attribute [rw] user_labels
|
87
87
|
# @return [Hash{String => String}]
|
88
88
|
# User-supplied key/value data that does not need to conform to
|
89
|
-
# the corresponding
|
90
|
-
# the
|
91
|
-
# and identifying the
|
89
|
+
# the corresponding `NotificationChannelDescriptor`'s schema, unlike
|
90
|
+
# the `labels` field. This field is intended to be used for organizing
|
91
|
+
# and identifying the `NotificationChannel` objects.
|
92
92
|
#
|
93
93
|
# The field can contain up to 64 entries. Each key and value is limited to
|
94
94
|
# 63 Unicode characters or 128 bytes, whichever is smaller. Labels and
|
@@ -97,24 +97,24 @@ module Google
|
|
97
97
|
# @!attribute [rw] verification_status
|
98
98
|
# @return [Google::Monitoring::V3::NotificationChannel::VerificationStatus]
|
99
99
|
# Indicates whether this channel has been verified or not. On a
|
100
|
-
# {Google::Monitoring::V3::NotificationChannelService::ListNotificationChannels
|
100
|
+
# {Google::Monitoring::V3::NotificationChannelService::ListNotificationChannels `ListNotificationChannels`}
|
101
101
|
# or
|
102
|
-
# {Google::Monitoring::V3::NotificationChannelService::GetNotificationChannel
|
102
|
+
# {Google::Monitoring::V3::NotificationChannelService::GetNotificationChannel `GetNotificationChannel`}
|
103
103
|
# operation, this field is expected to be populated.
|
104
104
|
#
|
105
|
-
# If the value is
|
105
|
+
# If the value is `UNVERIFIED`, then it indicates that the channel is
|
106
106
|
# non-functioning (it both requires verification and lacks verification);
|
107
107
|
# otherwise, it is assumed that the channel works.
|
108
108
|
#
|
109
|
-
# If the channel is neither
|
109
|
+
# If the channel is neither `VERIFIED` nor `UNVERIFIED`, it implies that
|
110
110
|
# the channel is of a type that does not require verification or that
|
111
111
|
# this specific channel has been exempted from verification because it was
|
112
112
|
# created prior to verification being required for channels of this type.
|
113
113
|
#
|
114
114
|
# This field cannot be modified using a standard
|
115
|
-
# {Google::Monitoring::V3::NotificationChannelService::UpdateNotificationChannel
|
115
|
+
# {Google::Monitoring::V3::NotificationChannelService::UpdateNotificationChannel `UpdateNotificationChannel`}
|
116
116
|
# operation. To change the value of this field, you must call
|
117
|
-
# {Google::Monitoring::V3::NotificationChannelService::VerifyNotificationChannel
|
117
|
+
# {Google::Monitoring::V3::NotificationChannelService::VerifyNotificationChannel `VerifyNotificationChannel`}.
|
118
118
|
# @!attribute [rw] enabled
|
119
119
|
# @return [Google::Protobuf::BoolValue]
|
120
120
|
# Whether notifications are forwarded to the described channel. This makes
|
@@ -126,9 +126,9 @@ module Google
|
|
126
126
|
class NotificationChannel
|
127
127
|
# Indicates whether the channel has been verified or not. It is illegal
|
128
128
|
# to specify this field in a
|
129
|
-
# {Google::Monitoring::V3::NotificationChannelService::CreateNotificationChannel
|
129
|
+
# {Google::Monitoring::V3::NotificationChannelService::CreateNotificationChannel `CreateNotificationChannel`}
|
130
130
|
# or an
|
131
|
-
# {Google::Monitoring::V3::NotificationChannelService::UpdateNotificationChannel
|
131
|
+
# {Google::Monitoring::V3::NotificationChannelService::UpdateNotificationChannel `UpdateNotificationChannel`}
|
132
132
|
# operation.
|
133
133
|
module VerificationStatus
|
134
134
|
# Sentinel value used to indicate that the state is unknown, omitted, or
|
@@ -16,7 +16,7 @@
|
|
16
16
|
module Google
|
17
17
|
module Monitoring
|
18
18
|
module V3
|
19
|
-
# The
|
19
|
+
# The `ListNotificationChannelDescriptors` request.
|
20
20
|
# @!attribute [rw] name
|
21
21
|
# @return [String]
|
22
22
|
# The REST resource name of the parent from which to retrieve
|
@@ -35,12 +35,12 @@ module Google
|
|
35
35
|
# service.
|
36
36
|
# @!attribute [rw] page_token
|
37
37
|
# @return [String]
|
38
|
-
# If non-empty,
|
39
|
-
#
|
38
|
+
# If non-empty, `page_token` must contain a value returned as the
|
39
|
+
# `next_page_token` in a previous response to request the next set
|
40
40
|
# of results.
|
41
41
|
class ListNotificationChannelDescriptorsRequest; end
|
42
42
|
|
43
|
-
# The
|
43
|
+
# The `ListNotificationChannelDescriptors` response.
|
44
44
|
# @!attribute [rw] channel_descriptors
|
45
45
|
# @return [Array<Google::Monitoring::V3::NotificationChannelDescriptor>]
|
46
46
|
# The monitored resource descriptors supported for the specified
|
@@ -48,19 +48,19 @@ module Google
|
|
48
48
|
# @!attribute [rw] next_page_token
|
49
49
|
# @return [String]
|
50
50
|
# If not empty, indicates that there may be more results that match
|
51
|
-
# the request. Use the value in the
|
51
|
+
# the request. Use the value in the `page_token` field in a
|
52
52
|
# subsequent request to fetch the next set of results. If empty,
|
53
53
|
# all results have been returned.
|
54
54
|
class ListNotificationChannelDescriptorsResponse; end
|
55
55
|
|
56
|
-
# The
|
56
|
+
# The `GetNotificationChannelDescriptor` response.
|
57
57
|
# @!attribute [rw] name
|
58
58
|
# @return [String]
|
59
59
|
# The channel type for which to execute the request. The format is
|
60
|
-
#
|
60
|
+
# `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
|
61
61
|
class GetNotificationChannelDescriptorRequest; end
|
62
62
|
|
63
|
-
# The
|
63
|
+
# The `CreateNotificationChannel` request.
|
64
64
|
# @!attribute [rw] name
|
65
65
|
# @return [String]
|
66
66
|
# The project on which to execute the request. The format is:
|
@@ -70,21 +70,21 @@ module Google
|
|
70
70
|
# Note that this names the container into which the channel will be
|
71
71
|
# written. This does not name the newly created channel. The resulting
|
72
72
|
# channel's name will have a normalized version of this field as a prefix,
|
73
|
-
# but will add
|
73
|
+
# but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
|
74
74
|
# @!attribute [rw] notification_channel
|
75
75
|
# @return [Google::Monitoring::V3::NotificationChannel]
|
76
|
-
# The definition of the
|
76
|
+
# The definition of the `NotificationChannel` to create.
|
77
77
|
class CreateNotificationChannelRequest; end
|
78
78
|
|
79
|
-
# The
|
79
|
+
# The `ListNotificationChannels` request.
|
80
80
|
# @!attribute [rw] name
|
81
81
|
# @return [String]
|
82
82
|
# The project on which to execute the request. The format is
|
83
|
-
#
|
83
|
+
# `projects/[PROJECT_ID]`. That is, this names the container
|
84
84
|
# in which to look for the notification channels; it does not name a
|
85
85
|
# specific channel. To query a specific channel by REST resource name, use
|
86
86
|
# the
|
87
|
-
# {Google::Monitoring::V3::NotificationChannelService::GetNotificationChannel
|
87
|
+
# {Google::Monitoring::V3::NotificationChannelService::GetNotificationChannel `GetNotificationChannel`} operation.
|
88
88
|
# @!attribute [rw] filter
|
89
89
|
# @return [String]
|
90
90
|
# If provided, this field specifies the criteria that must be met by
|
@@ -95,7 +95,7 @@ module Google
|
|
95
95
|
# @!attribute [rw] order_by
|
96
96
|
# @return [String]
|
97
97
|
# A comma-separated list of fields by which to sort the result. Supports
|
98
|
-
# the same set of fields as in
|
98
|
+
# the same set of fields as in `filter`. Entries can be prefixed with
|
99
99
|
# a minus sign to sort in descending rather than ascending order.
|
100
100
|
#
|
101
101
|
# For more details, see [sorting and
|
@@ -107,31 +107,31 @@ module Google
|
|
107
107
|
# service.
|
108
108
|
# @!attribute [rw] page_token
|
109
109
|
# @return [String]
|
110
|
-
# If non-empty,
|
111
|
-
#
|
110
|
+
# If non-empty, `page_token` must contain a value returned as the
|
111
|
+
# `next_page_token` in a previous response to request the next set
|
112
112
|
# of results.
|
113
113
|
class ListNotificationChannelsRequest; end
|
114
114
|
|
115
|
-
# The
|
115
|
+
# The `ListNotificationChannels` response.
|
116
116
|
# @!attribute [rw] notification_channels
|
117
117
|
# @return [Array<Google::Monitoring::V3::NotificationChannel>]
|
118
118
|
# The notification channels defined for the specified project.
|
119
119
|
# @!attribute [rw] next_page_token
|
120
120
|
# @return [String]
|
121
121
|
# If not empty, indicates that there may be more results that match
|
122
|
-
# the request. Use the value in the
|
122
|
+
# the request. Use the value in the `page_token` field in a
|
123
123
|
# subsequent request to fetch the next set of results. If empty,
|
124
124
|
# all results have been returned.
|
125
125
|
class ListNotificationChannelsResponse; end
|
126
126
|
|
127
|
-
# The
|
127
|
+
# The `GetNotificationChannel` request.
|
128
128
|
# @!attribute [rw] name
|
129
129
|
# @return [String]
|
130
130
|
# The channel for which to execute the request. The format is
|
131
|
-
#
|
131
|
+
# `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
|
132
132
|
class GetNotificationChannelRequest; end
|
133
133
|
|
134
|
-
# The
|
134
|
+
# The `UpdateNotificationChannel` request.
|
135
135
|
# @!attribute [rw] update_mask
|
136
136
|
# @return [Google::Protobuf::FieldMask]
|
137
137
|
# The fields to update.
|
@@ -140,14 +140,14 @@ module Google
|
|
140
140
|
# A description of the changes to be applied to the specified
|
141
141
|
# notification channel. The description must provide a definition for
|
142
142
|
# fields to be updated; the names of these fields should also be
|
143
|
-
# included in the
|
143
|
+
# included in the `update_mask`.
|
144
144
|
class UpdateNotificationChannelRequest; end
|
145
145
|
|
146
|
-
# The
|
146
|
+
# The `DeleteNotificationChannel` request.
|
147
147
|
# @!attribute [rw] name
|
148
148
|
# @return [String]
|
149
149
|
# The channel for which to execute the request. The format is
|
150
|
-
#
|
150
|
+
# `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
|
151
151
|
# @!attribute [rw] force
|
152
152
|
# @return [true, false]
|
153
153
|
# If true, the notification channel will be deleted regardless of its
|
@@ -156,13 +156,13 @@ module Google
|
|
156
156
|
# alerting policy will fail to be deleted in a delete operation.
|
157
157
|
class DeleteNotificationChannelRequest; end
|
158
158
|
|
159
|
-
# The
|
159
|
+
# The `SendNotificationChannelVerificationCode` request.
|
160
160
|
# @!attribute [rw] name
|
161
161
|
# @return [String]
|
162
162
|
# The notification channel to which to send a verification code.
|
163
163
|
class SendNotificationChannelVerificationCodeRequest; end
|
164
164
|
|
165
|
-
# The
|
165
|
+
# The `GetNotificationChannelVerificationCode` request.
|
166
166
|
# @!attribute [rw] name
|
167
167
|
# @return [String]
|
168
168
|
# The notification channel for which a verification code is to be generated
|
@@ -181,7 +181,7 @@ module Google
|
|
181
181
|
# impose an upper limit on the maximum expiration that is permitted).
|
182
182
|
class GetNotificationChannelVerificationCodeRequest; end
|
183
183
|
|
184
|
-
# The
|
184
|
+
# The `GetNotificationChannelVerificationCode` request.
|
185
185
|
# @!attribute [rw] code
|
186
186
|
# @return [String]
|
187
187
|
# The verification code, which may be used to verify other channels
|
@@ -195,16 +195,16 @@ module Google
|
|
195
195
|
# requested expiration in the request and the max permitted expiration.
|
196
196
|
class GetNotificationChannelVerificationCodeResponse; end
|
197
197
|
|
198
|
-
# The
|
198
|
+
# The `VerifyNotificationChannel` request.
|
199
199
|
# @!attribute [rw] name
|
200
200
|
# @return [String]
|
201
201
|
# The notification channel to verify.
|
202
202
|
# @!attribute [rw] code
|
203
203
|
# @return [String]
|
204
204
|
# The verification code that was delivered to the channel as
|
205
|
-
# a result of invoking the
|
205
|
+
# a result of invoking the `SendNotificationChannelVerificationCode` API
|
206
206
|
# method or that was retrieved from a verified channel via
|
207
|
-
#
|
207
|
+
# `GetNotificationChannelVerificationCode`. For example, one might have
|
208
208
|
# "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
|
209
209
|
# guaranteed that the code is valid UTF-8; one should not
|
210
210
|
# make any assumptions regarding the structure or format of the code).
|
@@ -43,7 +43,7 @@ module Google
|
|
43
43
|
# A unique resource name for this UptimeCheckConfig. The format is:
|
44
44
|
#
|
45
45
|
#
|
46
|
-
#
|
46
|
+
# `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
|
47
47
|
#
|
48
48
|
# This field should be omitted when creating the uptime check configuration;
|
49
49
|
# on create, the resource name is assigned by the server and included in the
|
@@ -76,9 +76,9 @@ module Google
|
|
76
76
|
# @!attribute [rw] period
|
77
77
|
# @return [Google::Protobuf::Duration]
|
78
78
|
# How often, in seconds, the uptime check is performed.
|
79
|
-
# Currently, the only supported values are
|
80
|
-
# (5 minutes),
|
81
|
-
# defaults to
|
79
|
+
# Currently, the only supported values are `60s` (1 minute), `300s`
|
80
|
+
# (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional,
|
81
|
+
# defaults to `300s`.
|
82
82
|
# @!attribute [rw] timeout
|
83
83
|
# @return [Google::Protobuf::Duration]
|
84
84
|
# The maximum amount of time to wait for the request to complete (must be
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# Denotes whether this is a check that egresses from InternalCheckers.
|
103
103
|
# @!attribute [rw] internal_checkers
|
104
104
|
# @return [Array<Google::Monitoring::V3::InternalChecker>]
|
105
|
-
# The internal checkers that this check will egress from. If
|
105
|
+
# The internal checkers that this check will egress from. If `is_internal` is
|
106
106
|
# true and this list is empty, the check will egress from all
|
107
107
|
# InternalCheckers configured for the project that owns this CheckConfig.
|
108
108
|
class UptimeCheckConfig
|
@@ -224,9 +224,9 @@ module Google
|
|
224
224
|
end
|
225
225
|
|
226
226
|
# The supported resource types that can be used as values of
|
227
|
-
#
|
228
|
-
#
|
229
|
-
# The resource types
|
227
|
+
# `group_resource.resource_type`.
|
228
|
+
# `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types.
|
229
|
+
# The resource types `gae_app` and `uptime_url` are not valid here because
|
230
230
|
# group checks on App Engine modules and URLs are not allowed.
|
231
231
|
module GroupResourceType
|
232
232
|
# Default value (not valid).
|
@@ -16,11 +16,11 @@
|
|
16
16
|
module Google
|
17
17
|
module Monitoring
|
18
18
|
module V3
|
19
|
-
# The protocol for the
|
19
|
+
# The protocol for the `ListUptimeCheckConfigs` request.
|
20
20
|
# @!attribute [rw] parent
|
21
21
|
# @return [String]
|
22
22
|
# The project whose uptime check configurations are listed. The format
|
23
|
-
# is
|
23
|
+
# is `projects/[PROJECT_ID]`.
|
24
24
|
# @!attribute [rw] page_size
|
25
25
|
# @return [Integer]
|
26
26
|
# The maximum number of results to return in a single response. The server
|
@@ -29,12 +29,12 @@ module Google
|
|
29
29
|
# to be returned.
|
30
30
|
# @!attribute [rw] page_token
|
31
31
|
# @return [String]
|
32
|
-
# If this field is not empty then it must contain the
|
32
|
+
# If this field is not empty then it must contain the `nextPageToken` value
|
33
33
|
# returned by a previous call to this method. Using this field causes the
|
34
34
|
# method to return more results from the previous method call.
|
35
35
|
class ListUptimeCheckConfigsRequest; end
|
36
36
|
|
37
|
-
# The protocol for the
|
37
|
+
# The protocol for the `ListUptimeCheckConfigs` response.
|
38
38
|
# @!attribute [rw] uptime_check_configs
|
39
39
|
# @return [Array<Google::Monitoring::V3::UptimeCheckConfig>]
|
40
40
|
# The returned uptime check configurations.
|
@@ -51,24 +51,24 @@ module Google
|
|
51
51
|
# irrespective of any pagination.
|
52
52
|
class ListUptimeCheckConfigsResponse; end
|
53
53
|
|
54
|
-
# The protocol for the
|
54
|
+
# The protocol for the `GetUptimeCheckConfig` request.
|
55
55
|
# @!attribute [rw] name
|
56
56
|
# @return [String]
|
57
57
|
# The uptime check configuration to retrieve. The format
|
58
|
-
# is
|
58
|
+
# is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
|
59
59
|
class GetUptimeCheckConfigRequest; end
|
60
60
|
|
61
|
-
# The protocol for the
|
61
|
+
# The protocol for the `CreateUptimeCheckConfig` request.
|
62
62
|
# @!attribute [rw] parent
|
63
63
|
# @return [String]
|
64
64
|
# The project in which to create the uptime check. The format
|
65
|
-
# is
|
65
|
+
# is `projects/[PROJECT_ID]`.
|
66
66
|
# @!attribute [rw] uptime_check_config
|
67
67
|
# @return [Google::Monitoring::V3::UptimeCheckConfig]
|
68
68
|
# The new uptime check configuration.
|
69
69
|
class CreateUptimeCheckConfigRequest; end
|
70
70
|
|
71
|
-
# The protocol for the
|
71
|
+
# The protocol for the `UpdateUptimeCheckConfig` request.
|
72
72
|
# @!attribute [rw] update_mask
|
73
73
|
# @return [Google::Protobuf::FieldMask]
|
74
74
|
# Optional. If present, only the listed fields in the current uptime check
|
@@ -77,27 +77,27 @@ module Google
|
|
77
77
|
# the new configuration.
|
78
78
|
# @!attribute [rw] uptime_check_config
|
79
79
|
# @return [Google::Monitoring::V3::UptimeCheckConfig]
|
80
|
-
# Required. If an
|
81
|
-
# the values for the set of fields mentioned in the
|
82
|
-
#
|
83
|
-
# the current configuration. If a field is mentioned in
|
80
|
+
# Required. If an `"updateMask"` has been specified, this field gives
|
81
|
+
# the values for the set of fields mentioned in the `"updateMask"`. If an
|
82
|
+
# `"updateMask"` has not been given, this uptime check configuration replaces
|
83
|
+
# the current configuration. If a field is mentioned in `"updateMask"` but
|
84
84
|
# the corresonding field is omitted in this partial uptime check
|
85
85
|
# configuration, it has the effect of deleting/clearing the field from the
|
86
86
|
# configuration on the server.
|
87
87
|
#
|
88
|
-
# The following fields can be updated:
|
89
|
-
#
|
90
|
-
#
|
88
|
+
# The following fields can be updated: `display_name`,
|
89
|
+
# `http_check`, `tcp_check`, `timeout`, `content_matchers`, and
|
90
|
+
# `selected_regions`.
|
91
91
|
class UpdateUptimeCheckConfigRequest; end
|
92
92
|
|
93
|
-
# The protocol for the
|
93
|
+
# The protocol for the `DeleteUptimeCheckConfig` request.
|
94
94
|
# @!attribute [rw] name
|
95
95
|
# @return [String]
|
96
96
|
# The uptime check configuration to delete. The format
|
97
|
-
# is
|
97
|
+
# is `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
|
98
98
|
class DeleteUptimeCheckConfigRequest; end
|
99
99
|
|
100
|
-
# The protocol for the
|
100
|
+
# The protocol for the `ListUptimeCheckIps` request.
|
101
101
|
# @!attribute [rw] page_size
|
102
102
|
# @return [Integer]
|
103
103
|
# The maximum number of results to return in a single response. The server
|
@@ -107,13 +107,13 @@ module Google
|
|
107
107
|
# NOTE: this field is not yet implemented
|
108
108
|
# @!attribute [rw] page_token
|
109
109
|
# @return [String]
|
110
|
-
# If this field is not empty then it must contain the
|
110
|
+
# If this field is not empty then it must contain the `nextPageToken` value
|
111
111
|
# returned by a previous call to this method. Using this field causes the
|
112
112
|
# method to return more results from the previous method call.
|
113
113
|
# NOTE: this field is not yet implemented
|
114
114
|
class ListUptimeCheckIpsRequest; end
|
115
115
|
|
116
|
-
# The protocol for the
|
116
|
+
# The protocol for the `ListUptimeCheckIps` response.
|
117
117
|
# @!attribute [rw] uptime_check_ips
|
118
118
|
# @return [Array<Google::Monitoring::V3::UptimeCheckIp>]
|
119
119
|
# The returned list of IP addresses (including region and location) that the
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Protobuf
|
18
|
-
#
|
18
|
+
# `Any` contains an arbitrary serialized protocol buffer message along with a
|
19
19
|
# URL that describes the type of the serialized message.
|
20
20
|
#
|
21
21
|
# Protobuf library provides support to pack/unpack Any values in the form
|
@@ -69,9 +69,9 @@ module Google
|
|
69
69
|
#
|
70
70
|
# = JSON
|
71
71
|
#
|
72
|
-
# The JSON representation of an
|
72
|
+
# The JSON representation of an `Any` value uses the regular
|
73
73
|
# representation of the deserialized, embedded message, with an
|
74
|
-
# additional field
|
74
|
+
# additional field `@type` which contains the type URL. Example:
|
75
75
|
#
|
76
76
|
# package google.profile;
|
77
77
|
# message Person {
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
#
|
88
88
|
# If the embedded message type is well-known and has a custom JSON
|
89
89
|
# representation, that representation will be embedded adding a field
|
90
|
-
#
|
90
|
+
# `value` which holds the custom JSON in addition to the `@type`
|
91
91
|
# field. Example (for message {Google::Protobuf::Duration}):
|
92
92
|
#
|
93
93
|
# {
|
@@ -99,15 +99,15 @@ module Google
|
|
99
99
|
# A URL/resource name that uniquely identifies the type of the serialized
|
100
100
|
# protocol buffer message. The last segment of the URL's path must represent
|
101
101
|
# the fully qualified name of the type (as in
|
102
|
-
#
|
102
|
+
# `path/google.protobuf.Duration`). The name should be in a canonical form
|
103
103
|
# (e.g., leading "." is not accepted).
|
104
104
|
#
|
105
105
|
# In practice, teams usually precompile into the binary all types that they
|
106
106
|
# expect it to use in the context of Any. However, for URLs which use the
|
107
|
-
# scheme
|
107
|
+
# scheme `http`, `https`, or no scheme, one can optionally set up a type
|
108
108
|
# server that maps type URLs to message definitions as follows:
|
109
109
|
#
|
110
|
-
# * If no scheme is provided,
|
110
|
+
# * If no scheme is provided, `https` is assumed.
|
111
111
|
# * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
|
112
112
|
# value in binary format, or produce an error.
|
113
113
|
# * Applications are allowed to cache lookup results based on the
|
@@ -120,7 +120,7 @@ module Google
|
|
120
120
|
# protobuf release, and it is not used for type URLs beginning with
|
121
121
|
# type.googleapis.com.
|
122
122
|
#
|
123
|
-
# Schemes other than
|
123
|
+
# Schemes other than `http`, `https` (or the empty scheme) might be
|
124
124
|
# used with implementation specific semantics.
|
125
125
|
# @!attribute [rw] value
|
126
126
|
# @return [String]
|