Skip to content

Commit 8f31408

Browse files
chore: Update gapic-generator-python to 1.25.0 (#568)
* chore: Update gapic-generator-python to 1.25.0 PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: googleapis/googleapis-gen@a9977ef Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d5cd225 commit 8f31408

File tree

12 files changed

+45
-0
lines changed

12 files changed

+45
-0
lines changed

google/cloud/errorreporting_v1beta1/services/error_group_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -547,5 +548,8 @@ async def __aexit__(self, exc_type, exc, tb):
547548
gapic_version=package_version.__version__
548549
)
549550

551+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
552+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
553+
550554

551555
__all__ = ("ErrorGroupServiceAsyncClient",)

google/cloud/errorreporting_v1beta1/services/error_group_service/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -964,5 +965,7 @@ def __exit__(self, type, value, traceback):
964965
gapic_version=package_version.__version__
965966
)
966967

968+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
969+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
967970

968971
__all__ = ("ErrorGroupServiceClient",)

google/cloud/errorreporting_v1beta1/services/error_group_service/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from google.api_core import retry as retries
2626
from google.auth import credentials as ga_credentials # type: ignore
2727
from google.oauth2 import service_account # type: ignore
28+
import google.protobuf
2829

2930
from google.cloud.errorreporting_v1beta1.types import common
3031
from google.cloud.errorreporting_v1beta1.types import error_group_service
@@ -33,6 +34,9 @@
3334
gapic_version=package_version.__version__
3435
)
3536

37+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
38+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
39+
3640

3741
class ErrorGroupServiceTransport(abc.ABC):
3842
"""Abstract transport class for ErrorGroupService."""

google/cloud/errorreporting_v1beta1/services/error_group_service/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829

@@ -59,6 +60,9 @@
5960
rest_version=f"requests@{requests_version}",
6061
)
6162

63+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
64+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
65+
6266

6367
class ErrorGroupServiceRestInterceptor:
6468
"""Interceptor for ErrorGroupService.

google/cloud/errorreporting_v1beta1/services/error_stats_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -753,5 +754,8 @@ async def __aexit__(self, exc_type, exc, tb):
753754
gapic_version=package_version.__version__
754755
)
755756

757+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
758+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
759+
756760

757761
__all__ = ("ErrorStatsServiceAsyncClient",)

google/cloud/errorreporting_v1beta1/services/error_stats_service/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -1167,5 +1168,7 @@ def __exit__(self, type, value, traceback):
11671168
gapic_version=package_version.__version__
11681169
)
11691170

1171+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1172+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
11701173

11711174
__all__ = ("ErrorStatsServiceClient",)

google/cloud/errorreporting_v1beta1/services/error_stats_service/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525
from google.api_core import retry as retries
2626
from google.auth import credentials as ga_credentials # type: ignore
2727
from google.oauth2 import service_account # type: ignore
28+
import google.protobuf
2829

2930
from google.cloud.errorreporting_v1beta1.types import error_stats_service
3031

3132
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3233
gapic_version=package_version.__version__
3334
)
3435

36+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
37+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
38+
3539

3640
class ErrorStatsServiceTransport(abc.ABC):
3741
"""Abstract transport class for ErrorStatsService."""

google/cloud/errorreporting_v1beta1/services/error_stats_service/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829

@@ -58,6 +59,9 @@
5859
rest_version=f"requests@{requests_version}",
5960
)
6061

62+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
63+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
64+
6165

6266
class ErrorStatsServiceRestInterceptor:
6367
"""Interceptor for ErrorStatsService.

google/cloud/errorreporting_v1beta1/services/report_errors_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -453,5 +454,8 @@ async def __aexit__(self, exc_type, exc, tb):
453454
gapic_version=package_version.__version__
454455
)
455456

457+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
458+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
459+
456460

457461
__all__ = ("ReportErrorsServiceAsyncClient",)

google/cloud/errorreporting_v1beta1/services/report_errors_service/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -860,5 +861,7 @@ def __exit__(self, type, value, traceback):
860861
gapic_version=package_version.__version__
861862
)
862863

864+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
865+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
863866

864867
__all__ = ("ReportErrorsServiceClient",)

google/cloud/errorreporting_v1beta1/services/report_errors_service/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525
from google.api_core import retry as retries
2626
from google.auth import credentials as ga_credentials # type: ignore
2727
from google.oauth2 import service_account # type: ignore
28+
import google.protobuf
2829

2930
from google.cloud.errorreporting_v1beta1.types import report_errors_service
3031

3132
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3233
gapic_version=package_version.__version__
3334
)
3435

36+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
37+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
38+
3539

3640
class ReportErrorsServiceTransport(abc.ABC):
3741
"""Abstract transport class for ReportErrorsService."""

google/cloud/errorreporting_v1beta1/services/report_errors_service/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829

@@ -58,6 +59,9 @@
5859
rest_version=f"requests@{requests_version}",
5960
)
6061

62+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
63+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
64+
6165

6266
class ReportErrorsServiceRestInterceptor:
6367
"""Interceptor for ReportErrorsService.

0 commit comments

Comments
 (0)