|
1 | | -# Copyright 2018 Google LLC |
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +# Copyright 2020 Google LLC |
2 | 4 | # |
3 | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 6 | # you may not use this file except in compliance with the License. |
5 | 7 | # You may obtain a copy of the License at |
6 | 8 | # |
7 | | -# https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
8 | 10 | # |
9 | 11 | # Unless required by applicable law or agreed to in writing, software |
10 | 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
11 | 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 14 | # See the License for the specific language governing permissions and |
13 | 15 | # limitations under the License. |
| 16 | +# |
14 | 17 |
|
15 | | -from __future__ import absolute_import |
16 | | - |
17 | | -from google.cloud.errorreporting_v1beta1 import types |
18 | | -from google.cloud.errorreporting_v1beta1.gapic import enums |
19 | | -from google.cloud.errorreporting_v1beta1.gapic import error_group_service_client |
20 | | -from google.cloud.errorreporting_v1beta1.gapic import error_stats_service_client |
21 | | -from google.cloud.errorreporting_v1beta1.gapic import report_errors_service_client |
22 | | - |
23 | | - |
24 | | -class ErrorGroupServiceClient(error_group_service_client.ErrorGroupServiceClient): |
25 | | - __doc__ = error_group_service_client.ErrorGroupServiceClient.__doc__ |
26 | | - enums = enums |
27 | | - |
28 | | - |
29 | | -class ErrorStatsServiceClient(error_stats_service_client.ErrorStatsServiceClient): |
30 | | - __doc__ = error_stats_service_client.ErrorStatsServiceClient.__doc__ |
31 | | - enums = enums |
32 | | - |
33 | | - |
34 | | -class ReportErrorsServiceClient(report_errors_service_client.ReportErrorsServiceClient): |
35 | | - __doc__ = report_errors_service_client.ReportErrorsServiceClient.__doc__ |
36 | | - enums = enums |
| 18 | +from .services.error_group_service import ErrorGroupServiceClient |
| 19 | +from .services.error_stats_service import ErrorStatsServiceClient |
| 20 | +from .services.report_errors_service import ReportErrorsServiceClient |
| 21 | +from .types.common import ErrorContext |
| 22 | +from .types.common import ErrorEvent |
| 23 | +from .types.common import ErrorGroup |
| 24 | +from .types.common import HttpRequestContext |
| 25 | +from .types.common import ServiceContext |
| 26 | +from .types.common import SourceLocation |
| 27 | +from .types.common import TrackingIssue |
| 28 | +from .types.error_group_service import GetGroupRequest |
| 29 | +from .types.error_group_service import UpdateGroupRequest |
| 30 | +from .types.error_stats_service import DeleteEventsRequest |
| 31 | +from .types.error_stats_service import DeleteEventsResponse |
| 32 | +from .types.error_stats_service import ErrorGroupOrder |
| 33 | +from .types.error_stats_service import ErrorGroupStats |
| 34 | +from .types.error_stats_service import ListEventsRequest |
| 35 | +from .types.error_stats_service import ListEventsResponse |
| 36 | +from .types.error_stats_service import ListGroupStatsRequest |
| 37 | +from .types.error_stats_service import ListGroupStatsResponse |
| 38 | +from .types.error_stats_service import QueryTimeRange |
| 39 | +from .types.error_stats_service import ServiceContextFilter |
| 40 | +from .types.error_stats_service import TimedCount |
| 41 | +from .types.error_stats_service import TimedCountAlignment |
| 42 | +from .types.report_errors_service import ReportErrorEventRequest |
| 43 | +from .types.report_errors_service import ReportErrorEventResponse |
| 44 | +from .types.report_errors_service import ReportedErrorEvent |
37 | 45 |
|
38 | 46 |
|
39 | 47 | __all__ = ( |
40 | | - "enums", |
41 | | - "types", |
| 48 | + "DeleteEventsRequest", |
| 49 | + "DeleteEventsResponse", |
| 50 | + "ErrorContext", |
| 51 | + "ErrorEvent", |
| 52 | + "ErrorGroup", |
| 53 | + "ErrorGroupOrder", |
42 | 54 | "ErrorGroupServiceClient", |
| 55 | + "ErrorGroupStats", |
43 | 56 | "ErrorStatsServiceClient", |
| 57 | + "GetGroupRequest", |
| 58 | + "HttpRequestContext", |
| 59 | + "ListEventsRequest", |
| 60 | + "ListEventsResponse", |
| 61 | + "ListGroupStatsRequest", |
| 62 | + "ListGroupStatsResponse", |
| 63 | + "QueryTimeRange", |
| 64 | + "ReportErrorEventRequest", |
| 65 | + "ReportErrorEventResponse", |
| 66 | + "ReportedErrorEvent", |
| 67 | + "ServiceContext", |
| 68 | + "ServiceContextFilter", |
| 69 | + "SourceLocation", |
| 70 | + "TimedCount", |
| 71 | + "TimedCountAlignment", |
| 72 | + "TrackingIssue", |
| 73 | + "UpdateGroupRequest", |
44 | 74 | "ReportErrorsServiceClient", |
45 | 75 | ) |
0 commit comments