Skip to content

Commit 00111ff

Browse files
committed
chore: run librarian generate
1 parent 262ab3a commit 00111ff

File tree

19 files changed

+219
-91
lines changed

19 files changed

+219
-91
lines changed

packages/google-cloud-error-reporting/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clouderrorreporting",
3-
"name_pretty": "Error Reporting",
3+
"name_pretty": "Error Reporting API",
44
"product_documentation": "https://cloud.google.com/error-reporting",
55
"client_documentation": "https://cloud.google.com/python/docs/reference/clouderrorreporting/latest",
66
"issue_tracker": "https://issuetracker.google.com/savedsearches/559780",

packages/google-cloud-error-reporting/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ dependencies.
4848
.. _`venv`: https://docs.python.org/3/library/venv.html
4949

5050

51+
Code samples and snippets
52+
~~~~~~~~~~~~~~~~~~~~~~~~~
53+
54+
Code samples and snippets live in the `samples/`_ folder.
55+
56+
.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-error-reporting/samples
57+
58+
5159
Supported Python Versions
5260
^^^^^^^^^^^^^^^^^^^^^^^^^
5361
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of

packages/google-cloud-error-reporting/docs/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ dependencies.
4848
.. _`venv`: https://docs.python.org/3/library/venv.html
4949

5050

51+
Code samples and snippets
52+
~~~~~~~~~~~~~~~~~~~~~~~~~
53+
54+
Code samples and snippets live in the `samples/`_ folder.
55+
56+
.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-error-reporting/samples
57+
58+
5159
Supported Python Versions
5260
^^^^^^^^^^^^^^^^^^^^^^^^^
5361
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of

packages/google-cloud-error-reporting/docs/index.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22

33
.. include:: multiprocessing.rst
44

5+
56
Usage Documentation
67
-------------------
78

89
.. toctree::
9-
:maxdepth: 2
10+
:maxdepth: 2
1011

11-
usage
12-
12+
usage
13+
1314

1415
API Reference
1516
-------------
1617
.. toctree::
17-
:maxdepth: 2
18+
:maxdepth: 2
1819

1920

20-
client
21-
util
22-
errorreporting_v1beta1/services_
23-
errorreporting_v1beta1/types_
21+
client
22+
util
23+
errorreporting_v1beta1/services_
24+
errorreporting_v1beta1/types_
2425

2526

2627
Changelog
@@ -29,11 +30,11 @@ Changelog
2930
For a list of all ``google-cloud-error-reporting`` releases:
3031

3132
.. toctree::
32-
:maxdepth: 2
33+
:maxdepth: 2
3334

34-
CHANGELOG
35+
CHANGELOG
3536

3637
.. toctree::
37-
:hidden:
38+
:hidden:
3839

39-
summary_overview.md
40+
summary_overview.md

packages/google-cloud-error-reporting/docs/summary_overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ reverted. Instead, if you want to place additional content, create an
55
pick up on the content and merge the content.
66
]: #
77

8-
# Error Reporting API
8+
# Error Reporting API API
99

10-
Overview of the APIs available for Error Reporting API.
10+
Overview of the APIs available for Error Reporting API API.
1111

1212
## All entries
1313

1414
Classes, methods and properties & attributes for
15-
Error Reporting API.
15+
Error Reporting API API.
1616

1717
[classes](https://cloud.google.com/python/docs/reference/clouderrorreporting/latest/summary_class.html)
1818

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.cloud.errorreporting import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.errorreporting_v1beta1.services.error_group_service.async_client import (
22+
ErrorGroupServiceAsyncClient,
23+
)
24+
from google.cloud.errorreporting_v1beta1.services.error_group_service.client import (
25+
ErrorGroupServiceClient,
26+
)
27+
from google.cloud.errorreporting_v1beta1.services.error_stats_service.async_client import (
28+
ErrorStatsServiceAsyncClient,
29+
)
30+
from google.cloud.errorreporting_v1beta1.services.error_stats_service.client import (
31+
ErrorStatsServiceClient,
32+
)
33+
from google.cloud.errorreporting_v1beta1.services.report_errors_service.async_client import (
34+
ReportErrorsServiceAsyncClient,
35+
)
36+
from google.cloud.errorreporting_v1beta1.services.report_errors_service.client import (
37+
ReportErrorsServiceClient,
38+
)
39+
from google.cloud.errorreporting_v1beta1.types.common import (
40+
ErrorContext,
41+
ErrorEvent,
42+
ErrorGroup,
43+
HttpRequestContext,
44+
ResolutionStatus,
45+
ServiceContext,
46+
SourceLocation,
47+
TrackingIssue,
48+
)
49+
from google.cloud.errorreporting_v1beta1.types.error_group_service import (
50+
GetGroupRequest,
51+
UpdateGroupRequest,
52+
)
53+
from google.cloud.errorreporting_v1beta1.types.error_stats_service import (
54+
DeleteEventsRequest,
55+
DeleteEventsResponse,
56+
ErrorGroupOrder,
57+
ErrorGroupStats,
58+
ListEventsRequest,
59+
ListEventsResponse,
60+
ListGroupStatsRequest,
61+
ListGroupStatsResponse,
62+
QueryTimeRange,
63+
ServiceContextFilter,
64+
TimedCount,
65+
TimedCountAlignment,
66+
)
67+
from google.cloud.errorreporting_v1beta1.types.report_errors_service import (
68+
ReportedErrorEvent,
69+
ReportErrorEventRequest,
70+
ReportErrorEventResponse,
71+
)
72+
73+
__all__ = (
74+
"ErrorGroupServiceClient",
75+
"ErrorGroupServiceAsyncClient",
76+
"ErrorStatsServiceClient",
77+
"ErrorStatsServiceAsyncClient",
78+
"ReportErrorsServiceClient",
79+
"ReportErrorsServiceAsyncClient",
80+
"ErrorContext",
81+
"ErrorEvent",
82+
"ErrorGroup",
83+
"HttpRequestContext",
84+
"ServiceContext",
85+
"SourceLocation",
86+
"TrackingIssue",
87+
"ResolutionStatus",
88+
"GetGroupRequest",
89+
"UpdateGroupRequest",
90+
"DeleteEventsRequest",
91+
"DeleteEventsResponse",
92+
"ErrorGroupStats",
93+
"ListEventsRequest",
94+
"ListEventsResponse",
95+
"ListGroupStatsRequest",
96+
"ListGroupStatsResponse",
97+
"QueryTimeRange",
98+
"ServiceContextFilter",
99+
"TimedCount",
100+
"ErrorGroupOrder",
101+
"TimedCountAlignment",
102+
"ReportedErrorEvent",
103+
"ReportErrorEventRequest",
104+
"ReportErrorEventResponse",
105+
)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "1.14.0" # {x-release-please-version}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-error-reporting package uses inline types.

packages/google-cloud-error-reporting/google/cloud/errorreporting_v1beta1/services/error_group_service/client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -616,11 +616,9 @@ def __init__(
616616

617617
universe_domain_opt = getattr(self._client_options, "universe_domain", None)
618618

619-
(
620-
self._use_client_cert,
621-
self._use_mtls_endpoint,
622-
self._universe_domain_env,
623-
) = ErrorGroupServiceClient._read_environment_variables()
619+
self._use_client_cert, self._use_mtls_endpoint, self._universe_domain_env = (
620+
ErrorGroupServiceClient._read_environment_variables()
621+
)
624622
self._client_cert_source = ErrorGroupServiceClient._get_client_cert_source(
625623
self._client_options.client_cert_source, self._use_client_cert
626624
)

packages/google-cloud-error-reporting/google/cloud/errorreporting_v1beta1/services/error_stats_service/client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -619,11 +619,9 @@ def __init__(
619619

620620
universe_domain_opt = getattr(self._client_options, "universe_domain", None)
621621

622-
(
623-
self._use_client_cert,
624-
self._use_mtls_endpoint,
625-
self._universe_domain_env,
626-
) = ErrorStatsServiceClient._read_environment_variables()
622+
self._use_client_cert, self._use_mtls_endpoint, self._universe_domain_env = (
623+
ErrorStatsServiceClient._read_environment_variables()
624+
)
627625
self._client_cert_source = ErrorStatsServiceClient._get_client_cert_source(
628626
self._client_options.client_cert_source, self._use_client_cert
629627
)

0 commit comments

Comments
 (0)