|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| - |
3 | 2 | # Copyright 2020 Google LLC
|
4 | 3 | #
|
5 | 4 | # Licensed under the Apache License, Version 2.0 (the "License");
|
|
15 | 14 | # limitations under the License.
|
16 | 15 | #
|
17 | 16 |
|
18 |
| -from google.cloud.monitoring_v3.services.alert_policy_service.async_client import ( |
19 |
| - AlertPolicyServiceAsyncClient, |
20 |
| -) |
21 | 17 | from google.cloud.monitoring_v3.services.alert_policy_service.client import (
|
22 | 18 | AlertPolicyServiceClient,
|
23 | 19 | )
|
24 |
| -from google.cloud.monitoring_v3.services.group_service.async_client import ( |
25 |
| - GroupServiceAsyncClient, |
| 20 | +from google.cloud.monitoring_v3.services.alert_policy_service.async_client import ( |
| 21 | + AlertPolicyServiceAsyncClient, |
26 | 22 | )
|
27 | 23 | from google.cloud.monitoring_v3.services.group_service.client import GroupServiceClient
|
28 |
| -from google.cloud.monitoring_v3.services.metric_service.async_client import ( |
29 |
| - MetricServiceAsyncClient, |
| 24 | +from google.cloud.monitoring_v3.services.group_service.async_client import ( |
| 25 | + GroupServiceAsyncClient, |
30 | 26 | )
|
31 | 27 | from google.cloud.monitoring_v3.services.metric_service.client import (
|
32 | 28 | MetricServiceClient,
|
33 | 29 | )
|
34 |
| -from google.cloud.monitoring_v3.services.notification_channel_service.async_client import ( |
35 |
| - NotificationChannelServiceAsyncClient, |
| 30 | +from google.cloud.monitoring_v3.services.metric_service.async_client import ( |
| 31 | + MetricServiceAsyncClient, |
36 | 32 | )
|
37 | 33 | from google.cloud.monitoring_v3.services.notification_channel_service.client import (
|
38 | 34 | NotificationChannelServiceClient,
|
39 | 35 | )
|
40 |
| -from google.cloud.monitoring_v3.services.query_service.async_client import ( |
41 |
| - QueryServiceAsyncClient, |
| 36 | +from google.cloud.monitoring_v3.services.notification_channel_service.async_client import ( |
| 37 | + NotificationChannelServiceAsyncClient, |
42 | 38 | )
|
43 | 39 | from google.cloud.monitoring_v3.services.query_service.client import QueryServiceClient
|
44 |
| -from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import ( |
45 |
| - ServiceMonitoringServiceAsyncClient, |
| 40 | +from google.cloud.monitoring_v3.services.query_service.async_client import ( |
| 41 | + QueryServiceAsyncClient, |
46 | 42 | )
|
47 | 43 | from google.cloud.monitoring_v3.services.service_monitoring_service.client import (
|
48 | 44 | ServiceMonitoringServiceClient,
|
49 | 45 | )
|
50 |
| -from google.cloud.monitoring_v3.services.uptime_check_service.async_client import ( |
51 |
| - UptimeCheckServiceAsyncClient, |
| 46 | +from google.cloud.monitoring_v3.services.service_monitoring_service.async_client import ( |
| 47 | + ServiceMonitoringServiceAsyncClient, |
52 | 48 | )
|
53 | 49 | from google.cloud.monitoring_v3.services.uptime_check_service.client import (
|
54 | 50 | UptimeCheckServiceClient,
|
55 | 51 | )
|
| 52 | +from google.cloud.monitoring_v3.services.uptime_check_service.async_client import ( |
| 53 | + UptimeCheckServiceAsyncClient, |
| 54 | +) |
| 55 | + |
56 | 56 | from google.cloud.monitoring_v3.types.alert import AlertPolicy
|
57 | 57 | from google.cloud.monitoring_v3.types.alert_service import CreateAlertPolicyRequest
|
58 | 58 | from google.cloud.monitoring_v3.types.alert_service import DeleteAlertPolicyRequest
|
|
61 | 61 | from google.cloud.monitoring_v3.types.alert_service import ListAlertPoliciesResponse
|
62 | 62 | from google.cloud.monitoring_v3.types.alert_service import UpdateAlertPolicyRequest
|
63 | 63 | from google.cloud.monitoring_v3.types.common import Aggregation
|
64 |
| -from google.cloud.monitoring_v3.types.common import ComparisonType |
65 |
| -from google.cloud.monitoring_v3.types.common import ServiceTier |
66 | 64 | from google.cloud.monitoring_v3.types.common import TimeInterval
|
67 | 65 | from google.cloud.monitoring_v3.types.common import TypedValue
|
| 66 | +from google.cloud.monitoring_v3.types.common import ComparisonType |
| 67 | +from google.cloud.monitoring_v3.types.common import ServiceTier |
68 | 68 | from google.cloud.monitoring_v3.types.dropped_labels import DroppedLabels
|
69 | 69 | from google.cloud.monitoring_v3.types.group import Group
|
70 | 70 | from google.cloud.monitoring_v3.types.group_service import CreateGroupRequest
|
|
186 | 186 | )
|
187 | 187 | from google.cloud.monitoring_v3.types.service_service import UpdateServiceRequest
|
188 | 188 | from google.cloud.monitoring_v3.types.span_context import SpanContext
|
189 |
| -from google.cloud.monitoring_v3.types.uptime import GroupResourceType |
190 | 189 | from google.cloud.monitoring_v3.types.uptime import InternalChecker
|
191 | 190 | from google.cloud.monitoring_v3.types.uptime import UptimeCheckConfig
|
192 | 191 | from google.cloud.monitoring_v3.types.uptime import UptimeCheckIp
|
| 192 | +from google.cloud.monitoring_v3.types.uptime import GroupResourceType |
193 | 193 | from google.cloud.monitoring_v3.types.uptime import UptimeCheckRegion
|
194 | 194 | from google.cloud.monitoring_v3.types.uptime_service import (
|
195 | 195 | CreateUptimeCheckConfigRequest,
|
|
211 | 211 | )
|
212 | 212 |
|
213 | 213 | __all__ = (
|
214 |
| - "Aggregation", |
215 |
| - "AlertPolicy", |
216 |
| - "AlertPolicyServiceAsyncClient", |
217 | 214 | "AlertPolicyServiceClient",
|
218 |
| - "BasicSli", |
219 |
| - "ComparisonType", |
| 215 | + "AlertPolicyServiceAsyncClient", |
| 216 | + "GroupServiceClient", |
| 217 | + "GroupServiceAsyncClient", |
| 218 | + "MetricServiceClient", |
| 219 | + "MetricServiceAsyncClient", |
| 220 | + "NotificationChannelServiceClient", |
| 221 | + "NotificationChannelServiceAsyncClient", |
| 222 | + "QueryServiceClient", |
| 223 | + "QueryServiceAsyncClient", |
| 224 | + "ServiceMonitoringServiceClient", |
| 225 | + "ServiceMonitoringServiceAsyncClient", |
| 226 | + "UptimeCheckServiceClient", |
| 227 | + "UptimeCheckServiceAsyncClient", |
| 228 | + "AlertPolicy", |
220 | 229 | "CreateAlertPolicyRequest",
|
221 |
| - "CreateGroupRequest", |
222 |
| - "CreateMetricDescriptorRequest", |
223 |
| - "CreateNotificationChannelRequest", |
224 |
| - "CreateServiceLevelObjectiveRequest", |
225 |
| - "CreateServiceRequest", |
226 |
| - "CreateTimeSeriesError", |
227 |
| - "CreateTimeSeriesRequest", |
228 |
| - "CreateTimeSeriesSummary", |
229 |
| - "CreateUptimeCheckConfigRequest", |
230 | 230 | "DeleteAlertPolicyRequest",
|
231 |
| - "DeleteGroupRequest", |
232 |
| - "DeleteMetricDescriptorRequest", |
233 |
| - "DeleteNotificationChannelRequest", |
234 |
| - "DeleteServiceLevelObjectiveRequest", |
235 |
| - "DeleteServiceRequest", |
236 |
| - "DeleteUptimeCheckConfigRequest", |
237 |
| - "DistributionCut", |
238 |
| - "DroppedLabels", |
239 | 231 | "GetAlertPolicyRequest",
|
240 |
| - "GetGroupRequest", |
241 |
| - "GetMetricDescriptorRequest", |
242 |
| - "GetMonitoredResourceDescriptorRequest", |
243 |
| - "GetNotificationChannelDescriptorRequest", |
244 |
| - "GetNotificationChannelRequest", |
245 |
| - "GetNotificationChannelVerificationCodeRequest", |
246 |
| - "GetNotificationChannelVerificationCodeResponse", |
247 |
| - "GetServiceLevelObjectiveRequest", |
248 |
| - "GetServiceRequest", |
249 |
| - "GetUptimeCheckConfigRequest", |
250 |
| - "Group", |
251 |
| - "GroupResourceType", |
252 |
| - "GroupServiceAsyncClient", |
253 |
| - "GroupServiceClient", |
254 |
| - "InternalChecker", |
255 |
| - "LabelValue", |
256 | 232 | "ListAlertPoliciesRequest",
|
257 | 233 | "ListAlertPoliciesResponse",
|
| 234 | + "UpdateAlertPolicyRequest", |
| 235 | + "Aggregation", |
| 236 | + "TimeInterval", |
| 237 | + "TypedValue", |
| 238 | + "ComparisonType", |
| 239 | + "ServiceTier", |
| 240 | + "DroppedLabels", |
| 241 | + "Group", |
| 242 | + "CreateGroupRequest", |
| 243 | + "DeleteGroupRequest", |
| 244 | + "GetGroupRequest", |
258 | 245 | "ListGroupMembersRequest",
|
259 | 246 | "ListGroupMembersResponse",
|
260 | 247 | "ListGroupsRequest",
|
261 | 248 | "ListGroupsResponse",
|
| 249 | + "UpdateGroupRequest", |
| 250 | + "LabelValue", |
| 251 | + "Point", |
| 252 | + "QueryError", |
| 253 | + "TextLocator", |
| 254 | + "TimeSeries", |
| 255 | + "TimeSeriesData", |
| 256 | + "TimeSeriesDescriptor", |
| 257 | + "CreateMetricDescriptorRequest", |
| 258 | + "CreateTimeSeriesError", |
| 259 | + "CreateTimeSeriesRequest", |
| 260 | + "CreateTimeSeriesSummary", |
| 261 | + "DeleteMetricDescriptorRequest", |
| 262 | + "GetMetricDescriptorRequest", |
| 263 | + "GetMonitoredResourceDescriptorRequest", |
262 | 264 | "ListMetricDescriptorsRequest",
|
263 | 265 | "ListMetricDescriptorsResponse",
|
264 | 266 | "ListMonitoredResourceDescriptorsRequest",
|
265 | 267 | "ListMonitoredResourceDescriptorsResponse",
|
266 |
| - "ListNotificationChannelDescriptorsRequest", |
267 |
| - "ListNotificationChannelDescriptorsResponse", |
268 |
| - "ListNotificationChannelsRequest", |
269 |
| - "ListNotificationChannelsResponse", |
270 |
| - "ListServiceLevelObjectivesRequest", |
271 |
| - "ListServiceLevelObjectivesResponse", |
272 |
| - "ListServicesRequest", |
273 |
| - "ListServicesResponse", |
274 | 268 | "ListTimeSeriesRequest",
|
275 | 269 | "ListTimeSeriesResponse",
|
276 |
| - "ListUptimeCheckConfigsRequest", |
277 |
| - "ListUptimeCheckConfigsResponse", |
278 |
| - "ListUptimeCheckIpsRequest", |
279 |
| - "ListUptimeCheckIpsResponse", |
280 |
| - "MetricServiceAsyncClient", |
281 |
| - "MetricServiceClient", |
282 |
| - "MutationRecord", |
283 |
| - "NotificationChannel", |
284 |
| - "NotificationChannelDescriptor", |
285 |
| - "NotificationChannelServiceAsyncClient", |
286 |
| - "NotificationChannelServiceClient", |
287 |
| - "Point", |
288 |
| - "QueryError", |
289 | 270 | "QueryErrorList",
|
290 |
| - "QueryServiceAsyncClient", |
291 |
| - "QueryServiceClient", |
292 | 271 | "QueryTimeSeriesRequest",
|
293 | 272 | "QueryTimeSeriesResponse",
|
| 273 | + "MutationRecord", |
| 274 | + "NotificationChannel", |
| 275 | + "NotificationChannelDescriptor", |
| 276 | + "CreateNotificationChannelRequest", |
| 277 | + "DeleteNotificationChannelRequest", |
| 278 | + "GetNotificationChannelDescriptorRequest", |
| 279 | + "GetNotificationChannelRequest", |
| 280 | + "GetNotificationChannelVerificationCodeRequest", |
| 281 | + "GetNotificationChannelVerificationCodeResponse", |
| 282 | + "ListNotificationChannelDescriptorsRequest", |
| 283 | + "ListNotificationChannelDescriptorsResponse", |
| 284 | + "ListNotificationChannelsRequest", |
| 285 | + "ListNotificationChannelsResponse", |
| 286 | + "SendNotificationChannelVerificationCodeRequest", |
| 287 | + "UpdateNotificationChannelRequest", |
| 288 | + "VerifyNotificationChannelRequest", |
| 289 | + "BasicSli", |
| 290 | + "DistributionCut", |
294 | 291 | "Range",
|
295 | 292 | "RequestBasedSli",
|
296 |
| - "SendNotificationChannelVerificationCodeRequest", |
297 | 293 | "Service",
|
298 | 294 | "ServiceLevelIndicator",
|
299 | 295 | "ServiceLevelObjective",
|
300 |
| - "ServiceMonitoringServiceAsyncClient", |
301 |
| - "ServiceMonitoringServiceClient", |
302 |
| - "ServiceTier", |
303 |
| - "SpanContext", |
304 |
| - "TextLocator", |
305 |
| - "TimeInterval", |
306 |
| - "TimeSeries", |
307 |
| - "TimeSeriesData", |
308 |
| - "TimeSeriesDescriptor", |
309 | 296 | "TimeSeriesRatio",
|
310 |
| - "TypedValue", |
311 |
| - "UpdateAlertPolicyRequest", |
312 |
| - "UpdateGroupRequest", |
313 |
| - "UpdateNotificationChannelRequest", |
| 297 | + "WindowsBasedSli", |
| 298 | + "CreateServiceLevelObjectiveRequest", |
| 299 | + "CreateServiceRequest", |
| 300 | + "DeleteServiceLevelObjectiveRequest", |
| 301 | + "DeleteServiceRequest", |
| 302 | + "GetServiceLevelObjectiveRequest", |
| 303 | + "GetServiceRequest", |
| 304 | + "ListServiceLevelObjectivesRequest", |
| 305 | + "ListServiceLevelObjectivesResponse", |
| 306 | + "ListServicesRequest", |
| 307 | + "ListServicesResponse", |
314 | 308 | "UpdateServiceLevelObjectiveRequest",
|
315 | 309 | "UpdateServiceRequest",
|
316 |
| - "UpdateUptimeCheckConfigRequest", |
| 310 | + "SpanContext", |
| 311 | + "InternalChecker", |
317 | 312 | "UptimeCheckConfig",
|
318 | 313 | "UptimeCheckIp",
|
| 314 | + "GroupResourceType", |
319 | 315 | "UptimeCheckRegion",
|
320 |
| - "UptimeCheckServiceAsyncClient", |
321 |
| - "UptimeCheckServiceClient", |
322 |
| - "VerifyNotificationChannelRequest", |
323 |
| - "WindowsBasedSli", |
| 316 | + "CreateUptimeCheckConfigRequest", |
| 317 | + "DeleteUptimeCheckConfigRequest", |
| 318 | + "GetUptimeCheckConfigRequest", |
| 319 | + "ListUptimeCheckConfigsRequest", |
| 320 | + "ListUptimeCheckConfigsResponse", |
| 321 | + "ListUptimeCheckIpsRequest", |
| 322 | + "ListUptimeCheckIpsResponse", |
| 323 | + "UpdateUptimeCheckConfigRequest", |
324 | 324 | )
|
0 commit comments