Skip to content

Commit d703d38

Browse files
chore: [Many APIs] Update gapic-generator-python to 1.25.0 (googleapis#13884)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a9977efedc836ccece1f01d529b0315e1efe52ad Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUyOWIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNlcnRpZmljYXRlLW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNoYW5uZWwvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNocm9uaWNsZS8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNsb3VkY29udHJvbHNwYXJ0bmVyLy5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUyOWIwMzE1ZTFlZmU1MmFkIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbW1lcmNlLWNvbnN1bWVyLXByb2N1cmVtZW50Ly5Pd2xCb3QueWFtbCIsImgiOiJhOTk3N2VmZWRjODM2Y2NlY2UxZjAxZDUy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ZCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 16277b4 commit d703d38

File tree

484 files changed

+1782
-2
lines changed

Some content is hidden

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

484 files changed

+1782
-2
lines changed

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/services/cloud_build/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.cloud.devtools.cloudbuild_v1 import gapic_version as package_version
4041

@@ -2979,5 +2980,8 @@ async def __aexit__(self, exc_type, exc, tb):
29792980
gapic_version=package_version.__version__
29802981
)
29812982

2983+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
2984+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
2985+
29822986

29832987
__all__ = ("CloudBuildAsyncClient",)

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/services/cloud_build/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.cloud.devtools.cloudbuild_v1 import gapic_version as package_version
4849

@@ -3569,5 +3570,7 @@ def __exit__(self, type, value, traceback):
35693570
gapic_version=package_version.__version__
35703571
)
35713572

3573+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3574+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
35723575

35733576
__all__ = ("CloudBuildClient",)

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/services/cloud_build/transports/base.py

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

2930
from google.cloud.devtools.cloudbuild_v1 import gapic_version as package_version
@@ -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 CloudBuildTransport(abc.ABC):
3842
"""Abstract transport class for CloudBuild."""

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v1/services/cloud_build/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from google.auth import credentials as ga_credentials # type: ignore
2626
from google.auth.transport.requests import AuthorizedSession # type: ignore
2727
from google.longrunning import operations_pb2 # type: ignore
28+
import google.protobuf
2829
from google.protobuf import empty_pb2 # type: ignore
2930
from google.protobuf import json_format
3031
from requests import __version__ as requests_version
@@ -54,6 +55,9 @@
5455
rest_version=f"requests@{requests_version}",
5556
)
5657

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

5862
class CloudBuildRestInterceptor:
5963
"""Interceptor for CloudBuild.

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v2/services/repository_manager/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.cloud.devtools.cloudbuild_v2 import gapic_version as package_version
4041

@@ -2500,5 +2501,8 @@ async def __aexit__(self, exc_type, exc, tb):
25002501
gapic_version=package_version.__version__
25012502
)
25022503

2504+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
2505+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
2506+
25032507

25042508
__all__ = ("RepositoryManagerAsyncClient",)

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v2/services/repository_manager/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.cloud.devtools.cloudbuild_v2 import gapic_version as package_version
4849

@@ -2972,5 +2973,7 @@ def test_iam_permissions(
29722973
gapic_version=package_version.__version__
29732974
)
29742975

2976+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
2977+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
29752978

29762979
__all__ = ("RepositoryManagerClient",)

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v2/services/repository_manager/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from google.iam.v1 import policy_pb2 # type: ignore
2828
from google.longrunning import operations_pb2 # type: ignore
2929
from google.oauth2 import service_account # type: ignore
30+
import google.protobuf
3031

3132
from google.cloud.devtools.cloudbuild_v2 import gapic_version as package_version
3233
from google.cloud.devtools.cloudbuild_v2.types import repositories
@@ -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 RepositoryManagerTransport(abc.ABC):
4044
"""Abstract transport class for RepositoryManager."""

packages/google-cloud-build/google/cloud/devtools/cloudbuild_v2/services/repository_manager/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from google.iam.v1 import iam_policy_pb2 # type: ignore
2929
from google.iam.v1 import policy_pb2 # type: ignore
3030
from google.longrunning import operations_pb2 # type: ignore
31+
import google.protobuf
3132
from google.protobuf import json_format
3233
from requests import __version__ as requests_version
3334

@@ -56,6 +57,9 @@
5657
rest_version=f"requests@{requests_version}",
5758
)
5859

60+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
61+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
62+
5963

6064
class RepositoryManagerRestInterceptor:
6165
"""Interceptor for RepositoryManager.

packages/google-cloud-certificate-manager/google/cloud/certificate_manager_v1/services/certificate_manager/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.cloud.certificate_manager_v1 import gapic_version as package_version
4041

@@ -4606,5 +4607,8 @@ async def __aexit__(self, exc_type, exc, tb):
46064607
gapic_version=package_version.__version__
46074608
)
46084609

4610+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
4611+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
4612+
46094613

46104614
__all__ = ("CertificateManagerAsyncClient",)

packages/google-cloud-certificate-manager/google/cloud/certificate_manager_v1/services/certificate_manager/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.cloud.certificate_manager_v1 import gapic_version as package_version
4849

@@ -5090,5 +5091,7 @@ def list_locations(
50905091
gapic_version=package_version.__version__
50915092
)
50925093

5094+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
5095+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
50935096

50945097
__all__ = ("CertificateManagerClient",)

0 commit comments

Comments
 (0)