Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit eb79805

Browse files
1 parent 5820187 commit eb79805

File tree

169 files changed

+33
-61985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+33
-61985
lines changed

google/cloud/logging_v2/services/config_service_v2/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:
@@ -4223,5 +4224,8 @@ async def __aexit__(self, exc_type, exc, tb):
42234224
gapic_version=package_version.__version__
42244225
)
42254226

4227+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
4228+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
4229+
42264230

42274231
__all__ = ("ConfigServiceV2AsyncClient",)

google/cloud/logging_v2/services/config_service_v2/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]
@@ -4678,5 +4679,7 @@ def cancel_operation(
46784679
gapic_version=package_version.__version__
46794680
)
46804681

4682+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
4683+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
46814684

46824685
__all__ = ("ConfigServiceV2Client",)

google/cloud/logging_v2/services/config_service_v2/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from google.api_core import operations_v1
2727
from google.auth import credentials as ga_credentials # type: ignore
2828
from google.oauth2 import service_account # type: ignore
29+
import google.protobuf
2930

3031
from google.cloud.logging_v2.types import logging_config
3132
from google.longrunning import operations_pb2 # type: ignore
@@ -35,6 +36,9 @@
3536
gapic_version=package_version.__version__
3637
)
3738

39+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
40+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
41+
3842

3943
class ConfigServiceV2Transport(abc.ABC):
4044
"""Abstract transport class for ConfigServiceV2."""

google/cloud/logging_v2/services/logging_service_v2/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
from google.api_core import retry_async as retries
4141
from google.auth import credentials as ga_credentials # type: ignore
4242
from google.oauth2 import service_account # type: ignore
43+
import google.protobuf
4344

4445

4546
try:
@@ -1263,5 +1264,8 @@ async def __aexit__(self, exc_type, exc, tb):
12631264
gapic_version=package_version.__version__
12641265
)
12651266

1267+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1268+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
1269+
12661270

12671271
__all__ = ("LoggingServiceV2AsyncClient",)

google/cloud/logging_v2/services/logging_service_v2/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
from google.auth.transport.grpc import SslCredentials # type: ignore
4848
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4949
from google.oauth2 import service_account # type: ignore
50+
import google.protobuf
5051

5152
try:
5253
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -1678,5 +1679,7 @@ def cancel_operation(
16781679
gapic_version=package_version.__version__
16791680
)
16801681

1682+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1683+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
16811684

16821685
__all__ = ("LoggingServiceV2Client",)

google/cloud/logging_v2/services/logging_service_v2/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.logging_v2.types import logging
3031
from google.longrunning import operations_pb2 # type: ignore
@@ -34,6 +35,9 @@
3435
gapic_version=package_version.__version__
3536
)
3637

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

3842
class LoggingServiceV2Transport(abc.ABC):
3943
"""Abstract transport class for LoggingServiceV2."""

google/cloud/logging_v2/services/metrics_service_v2/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:
@@ -1110,5 +1111,8 @@ async def __aexit__(self, exc_type, exc, tb):
11101111
gapic_version=package_version.__version__
11111112
)
11121113

1114+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1115+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
1116+
11131117

11141118
__all__ = ("MetricsServiceV2AsyncClient",)

google/cloud/logging_v2/services/metrics_service_v2/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]
@@ -1526,5 +1527,7 @@ def cancel_operation(
15261527
gapic_version=package_version.__version__
15271528
)
15281529

1530+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1531+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
15291532

15301533
__all__ = ("MetricsServiceV2Client",)

google/cloud/logging_v2/services/metrics_service_v2/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.logging_v2.types import logging_metrics
3031
from google.longrunning import operations_pb2 # type: ignore
@@ -34,6 +35,9 @@
3435
gapic_version=package_version.__version__
3536
)
3637

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

3842
class MetricsServiceV2Transport(abc.ABC):
3943
"""Abstract transport class for MetricsServiceV2."""

owl-bot-staging/v2/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)