Skip to content

Commit 73ec4b2

Browse files
chore: [Many APIs] Update gapic-generator-python to 1.25.0 (#13891)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: googleapis/googleapis-gen@a9977ef Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcm91dGluZy8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtc29sYXIvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLWNzcy8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWFjY291bnRzLy5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUyOWIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWNvbnZlcnNpb25zLy5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUyOWIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWRhdGFzb3VyY2VzLy5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUyOWIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZX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WIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJldmlld3MvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ3JhZmVhcy8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 9411b21 commit 73ec4b2

File tree

173 files changed

+635
-7
lines changed

Some content is hidden

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

173 files changed

+635
-7
lines changed

packages/google-maps-routing/google/maps/routing_v2/services/routes/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.maps.routing_v2 import gapic_version as package_version
4243

@@ -524,5 +525,8 @@ async def __aexit__(self, exc_type, exc, tb):
524525
gapic_version=package_version.__version__
525526
)
526527

528+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
529+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
530+
527531

528532
__all__ = ("RoutesAsyncClient",)

packages/google-maps-routing/google/maps/routing_v2/services/routes/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.maps.routing_v2 import gapic_version as package_version
4950

@@ -934,5 +935,7 @@ def __exit__(self, type, value, traceback):
934935
gapic_version=package_version.__version__
935936
)
936937

938+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
939+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
937940

938941
__all__ = ("RoutesClient",)

packages/google-maps-routing/google/maps/routing_v2/services/routes/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.maps.routing_v2 import gapic_version as package_version
2829
from google.maps.routing_v2.types import routes_service
@@ -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 RoutesTransport(abc.ABC):
3640
"""Abstract transport class for Routes."""

packages/google-maps-routing/google/maps/routing_v2/services/routes/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from google.api_core import retry as retries
2525
from google.auth import credentials as ga_credentials # type: ignore
2626
from google.auth.transport.requests import AuthorizedSession # type: ignore
27+
import google.protobuf
2728
from google.protobuf import json_format
2829
from requests import __version__ as requests_version
2930

@@ -52,6 +53,9 @@
5253
rest_version=f"requests@{requests_version}",
5354
)
5455

56+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
57+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
58+
5559

5660
class RoutesRestInterceptor:
5761
"""Interceptor for Routes.

packages/google-maps-solar/google/maps/solar_v1/services/solar/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from google.api_core.client_options import ClientOptions
3636
from google.auth import credentials as ga_credentials # type: ignore
3737
from google.oauth2 import service_account # type: ignore
38+
import google.protobuf
3839

3940
from google.maps.solar_v1 import gapic_version as package_version
4041

@@ -588,5 +589,8 @@ async def __aexit__(self, exc_type, exc, tb):
588589
gapic_version=package_version.__version__
589590
)
590591

592+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
593+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
594+
591595

592596
__all__ = ("SolarAsyncClient",)

packages/google-maps-solar/google/maps/solar_v1/services/solar/client.py

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

4748
from google.maps.solar_v1 import gapic_version as package_version
4849

@@ -999,5 +1000,7 @@ def __exit__(self, type, value, traceback):
9991000
gapic_version=package_version.__version__
10001001
)
10011002

1003+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1004+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
10021005

10031006
__all__ = ("SolarClient",)

packages/google-maps-solar/google/maps/solar_v1/services/solar/transports/base.py

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

2829
from google.maps.solar_v1 import gapic_version as package_version
2930
from google.maps.solar_v1.types import solar_service
@@ -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 SolarTransport(abc.ABC):
3741
"""Abstract transport class for Solar."""

packages/google-maps-solar/google/maps/solar_v1/services/solar/transports/rest.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.auth.transport.requests import AuthorizedSession # type: ignore
28+
import google.protobuf
2829
from google.protobuf import json_format
2930
from requests import __version__ as requests_version
3031

@@ -53,6 +54,9 @@
5354
rest_version=f"requests@{requests_version}",
5455
)
5556

57+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
58+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
59+
5660

5761
class SolarRestInterceptor:
5862
"""Interceptor for Solar.

packages/google-shopping-css/google/shopping/css_v1/services/account_labels_service/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from google.api_core.client_options import ClientOptions
3636
from google.auth import credentials as ga_credentials # type: ignore
3737
from google.oauth2 import service_account # type: ignore
38+
import google.protobuf
3839

3940
from google.shopping.css_v1 import gapic_version as package_version
4041

@@ -764,5 +765,8 @@ async def __aexit__(self, exc_type, exc, tb):
764765
gapic_version=package_version.__version__
765766
)
766767

768+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
769+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
770+
767771

768772
__all__ = ("AccountLabelsServiceAsyncClient",)

packages/google-shopping-css/google/shopping/css_v1/services/account_labels_service/client.py

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

4748
from google.shopping.css_v1 import gapic_version as package_version
4849

@@ -1176,5 +1177,7 @@ def __exit__(self, type, value, traceback):
11761177
gapic_version=package_version.__version__
11771178
)
11781179

1180+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1181+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
11791182

11801183
__all__ = ("AccountLabelsServiceClient",)

0 commit comments

Comments
 (0)