Skip to content

Commit fe6f95f

Browse files
chore: [google-cloud-deploy] Update gapic-generator-python to 1.25.0 (googleapis#13879)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE chore: Update gapic-generator-python to 1.25.0 fix: correct pattern of unused resource definition, Revision docs: Comments updated for fields in several different resources END_COMMIT_OVERRIDE PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a9977efedc836ccece1f01d529b0315e1efe52ad Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 BEGIN_NESTED_COMMIT fix: [google-cloud-deploy] correct pattern of unused resource definition, Revision docs: Comments updated for fields in several different resources PiperOrigin-RevId: 755369798 Source-Link: googleapis/googleapis@91c2661 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5f35a4d2a56441f40afe21d981c36eefe2841d56 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiNWYzNWE0ZDJhNTY0NDFmNDBhZmUyMWQ5ODFjMzZlZWZlMjg0MWQ1NiJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 636cbdc commit fe6f95f

File tree

5 files changed

+30
-13
lines changed

5 files changed

+30
-13
lines changed

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/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.deploy_v1 import gapic_version as package_version
4041

@@ -6746,5 +6747,8 @@ async def __aexit__(self, exc_type, exc, tb):
67466747
gapic_version=package_version.__version__
67476748
)
67486749

6750+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
6751+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
6752+
67496753

67506754
__all__ = ("CloudDeployAsyncClient",)

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/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.deploy_v1 import gapic_version as package_version
4849

@@ -7405,5 +7406,7 @@ def list_locations(
74057406
gapic_version=package_version.__version__
74067407
)
74077408

7409+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
7410+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
74087411

74097412
__all__ = ("CloudDeployClient",)

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/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.deploy_v1 import gapic_version as package_version
3233
from google.cloud.deploy_v1.types import cloud_deploy
@@ -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 CloudDeployTransport(abc.ABC):
4044
"""Abstract transport class for CloudDeploy."""

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/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 CloudDeployRestInterceptor:
6165
"""Interceptor for CloudDeploy.

packages/google-cloud-deploy/google/cloud/deploy_v1/types/cloud_deploy.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -541,15 +541,16 @@ class Standard(proto.Message):
541541
542542
Attributes:
543543
verify (bool):
544-
Optional. Whether to verify a deployment.
544+
Optional. Whether to verify a deployment via
545+
``skaffold verify``.
545546
predeploy (google.cloud.deploy_v1.types.Predeploy):
546547
Optional. Configuration for the predeploy
547-
job. If this is not configured, predeploy job
548-
will not be present.
548+
job. If this is not configured, the predeploy
549+
job will not be present.
549550
postdeploy (google.cloud.deploy_v1.types.Postdeploy):
550551
Optional. Configuration for the postdeploy
551-
job. If this is not configured, postdeploy job
552-
will not be present.
552+
job. If this is not configured, the postdeploy
553+
job will not be present.
553554
"""
554555

555556
verify: bool = proto.Field(
@@ -630,8 +631,8 @@ class CanaryDeployment(proto.Message):
630631
GatewayServiceMesh is configured for Kubernetes, then the
631632
range for n is 0 <= n <= 100.
632633
verify (bool):
633-
Optional. Whether to run verify tests after
634-
each percentage deployment.
634+
Optional. Whether to run verify tests after each percentage
635+
deployment via ``skaffold verify``.
635636
predeploy (google.cloud.deploy_v1.types.Predeploy):
636637
Optional. Configuration for the predeploy job
637638
of the first phase. If this is not configured,
@@ -693,8 +694,8 @@ class PhaseConfig(proto.Message):
693694
manifest for this phase. These are in addition to the
694695
profiles list specified in the ``DeliveryPipeline`` stage.
695696
verify (bool):
696-
Optional. Whether to run verify tests after
697-
the deployment.
697+
Optional. Whether to run verify tests after the deployment
698+
via ``skaffold verify``.
698699
predeploy (google.cloud.deploy_v1.types.Predeploy):
699700
Optional. Configuration for the predeploy job
700701
of this phase. If this is not configured, there
@@ -2968,10 +2969,11 @@ class DeployPolicy(proto.Message):
29682969
Required. Rules to apply. At least one rule
29692970
must be present.
29702971
etag (str):
2971-
The weak etag of the ``Automation`` resource. This checksum
2972-
is computed by the server based on the value of other
2973-
fields, and may be sent on update and delete requests to
2974-
ensure the client has an up-to-date value before proceeding.
2972+
The weak etag of the ``DeployPolicy`` resource. This
2973+
checksum is computed by the server based on the value of
2974+
other fields, and may be sent on update and delete requests
2975+
to ensure the client has an up-to-date value before
2976+
proceeding.
29752977
"""
29762978

29772979
class Invoker(proto.Enum):

0 commit comments

Comments
 (0)