Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 7bcd020

Browse files
chore: Update gapic-generator-python to 1.25.0 (#944)
* 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 f0d58af commit 7bcd020

18 files changed

Lines changed: 66 additions & 0 deletions

File tree

google/cloud/bigquery_storage_v1/services/big_query_read/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.client_options import ClientOptions
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
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
4243

@@ -690,5 +691,8 @@ async def __aexit__(self, exc_type, exc, tb):
690691
gapic_version=package_version.__version__
691692
)
692693

694+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
695+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
696+
693697

694698
__all__ = ("BigQueryReadAsyncClient",)

google/cloud/bigquery_storage_v1/services/big_query_read/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
from google.auth.transport import mtls # type: ignore
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.oauth2 import service_account # type: ignore
47+
import google.protobuf
4748

4849
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
4950

@@ -1150,5 +1151,7 @@ def __exit__(self, type, value, traceback):
11501151
gapic_version=package_version.__version__
11511152
)
11521153

1154+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1155+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
11531156

11541157
__all__ = ("BigQueryReadClient",)

google/cloud/bigquery_storage_v1/services/big_query_read/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import google.auth # type: ignore
2424
from google.auth import credentials as ga_credentials # type: ignore
2525
from google.oauth2 import service_account # type: ignore
26+
import google.protobuf
2627

2728
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
2829
from google.cloud.bigquery_storage_v1.types import storage, stream
@@ -31,6 +32,9 @@
3132
gapic_version=package_version.__version__
3233
)
3334

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

3539
class BigQueryReadTransport(abc.ABC):
3640
"""Abstract transport class for BigQueryRead."""

google/cloud/bigquery_storage_v1/services/big_query_write/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from google.api_core.client_options import ClientOptions
3939
from google.auth import credentials as ga_credentials # type: ignore
4040
from google.oauth2 import service_account # type: ignore
41+
import google.protobuf
4142

4243
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
4344

@@ -1021,5 +1022,8 @@ async def __aexit__(self, exc_type, exc, tb):
10211022
gapic_version=package_version.__version__
10221023
)
10231024

1025+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1026+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
1027+
10241028

10251029
__all__ = ("BigQueryWriteAsyncClient",)

google/cloud/bigquery_storage_v1/services/big_query_write/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 import mtls # type: ignore
4646
from google.auth.transport.grpc import SslCredentials # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
5051

@@ -1453,5 +1454,7 @@ def __exit__(self, type, value, traceback):
14531454
gapic_version=package_version.__version__
14541455
)
14551456

1457+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1458+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
14561459

14571460
__all__ = ("BigQueryWriteClient",)

google/cloud/bigquery_storage_v1/services/big_query_write/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import google.auth # type: ignore
2424
from google.auth import credentials as ga_credentials # type: ignore
2525
from google.oauth2 import service_account # type: ignore
26+
import google.protobuf
2627

2728
from google.cloud.bigquery_storage_v1 import gapic_version as package_version
2829
from google.cloud.bigquery_storage_v1.types import storage, stream
@@ -31,6 +32,9 @@
3132
gapic_version=package_version.__version__
3233
)
3334

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

3539
class BigQueryWriteTransport(abc.ABC):
3640
"""Abstract transport class for BigQueryWrite."""

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from google.api_core.client_options import ClientOptions
3939
from google.auth import credentials as ga_credentials # type: ignore
4040
from google.oauth2 import service_account # type: ignore
41+
import google.protobuf
4142

4243
from google.cloud.bigquery_storage_v1alpha import gapic_version as package_version
4344

@@ -810,5 +811,8 @@ async def __aexit__(self, exc_type, exc, tb):
810811
gapic_version=package_version.__version__
811812
)
812813

814+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
815+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
816+
813817

814818
__all__ = ("MetastorePartitionServiceAsyncClient",)

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_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 import mtls # type: ignore
4646
from google.auth.transport.grpc import SslCredentials # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
from google.cloud.bigquery_storage_v1alpha import gapic_version as package_version
5051

@@ -1251,5 +1252,7 @@ def __exit__(self, type, value, traceback):
12511252
gapic_version=package_version.__version__
12521253
)
12531254

1255+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1256+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
12541257

12551258
__all__ = ("MetastorePartitionServiceClient",)

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import google.auth # type: ignore
2424
from google.auth import credentials as ga_credentials # type: ignore
2525
from google.oauth2 import service_account # type: ignore
26+
import google.protobuf
2627
from google.protobuf import empty_pb2 # type: ignore
2728

2829
from google.cloud.bigquery_storage_v1alpha import gapic_version as package_version
@@ -32,6 +33,9 @@
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 MetastorePartitionServiceTransport(abc.ABC):
3741
"""Abstract transport class for MetastorePartitionService."""

google/cloud/bigquery_storage_v1beta/services/metastore_partition_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from google.api_core.client_options import ClientOptions
3939
from google.auth import credentials as ga_credentials # type: ignore
4040
from google.oauth2 import service_account # type: ignore
41+
import google.protobuf
4142

4243
from google.cloud.bigquery_storage_v1beta import gapic_version as package_version
4344

@@ -810,5 +811,8 @@ async def __aexit__(self, exc_type, exc, tb):
810811
gapic_version=package_version.__version__
811812
)
812813

814+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
815+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
816+
813817

814818
__all__ = ("MetastorePartitionServiceAsyncClient",)

0 commit comments

Comments
 (0)