Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit 77844a9

Browse files
docs: Minor formatting (#100)
* docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: googleapis/googleapis@42fd37b Source-Link: https://github.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 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> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 7430028 commit 77844a9

File tree

8 files changed

+8
-5
lines changed

8 files changed

+8
-5
lines changed

google/cloud/network_services_v1/services/network_services/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
from google.cloud.location import locations_pb2 # type: ignore
4848
from google.iam.v1 import iam_policy_pb2 # type: ignore
4949
from google.iam.v1 import policy_pb2 # type: ignore
50-
from google.longrunning import operations_pb2
50+
from google.longrunning import operations_pb2 # type: ignore
5151
from google.protobuf import empty_pb2 # type: ignore
5252
from google.protobuf import field_mask_pb2 # type: ignore
5353
from google.protobuf import timestamp_pb2 # type: ignore

google/cloud/network_services_v1/services/network_services/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
from google.cloud.location import locations_pb2 # type: ignore
5252
from google.iam.v1 import iam_policy_pb2 # type: ignore
5353
from google.iam.v1 import policy_pb2 # type: ignore
54-
from google.longrunning import operations_pb2
54+
from google.longrunning import operations_pb2 # type: ignore
5555
from google.protobuf import empty_pb2 # type: ignore
5656
from google.protobuf import field_mask_pb2 # type: ignore
5757
from google.protobuf import timestamp_pb2 # type: ignore

google/cloud/network_services_v1/services/network_services/transports/rest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from google.cloud.location import locations_pb2 # type: ignore
3636
from google.iam.v1 import iam_policy_pb2 # type: ignore
3737
from google.iam.v1 import policy_pb2 # type: ignore
38-
from google.longrunning import operations_pb2
3938
from google.protobuf import json_format
4039
import grpc # type: ignore
4140
from requests import __version__ as requests_version

google/cloud/network_services_v1/types/grpc_route.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ class Destination(proto.Message):
283283
If only one serviceName is specified and it has
284284
a weight greater than 0, 100% of the traffic is
285285
forwarded to that backend.
286+
286287
If weights are specified for any one service
287288
name, they need to be specified for all of them.
288289

google/cloud/network_services_v1/types/http_route.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ class Destination(proto.Message):
392392
If only one serviceName is specified and it has
393393
a weight greater than 0, 100% of the traffic is
394394
forwarded to that backend.
395+
395396
If weights are specified for any one service
396397
name, they need to be specified for all of them.
397398
@@ -907,6 +908,7 @@ class RouteRule(proto.Message):
907908
requests. Each match is independent, i.e. this
908909
rule will be matched if ANY one of the matches
909910
is satisfied.
911+
910912
If no matches field is specified, this rule will
911913
unconditionally match traffic.
912914

google/cloud/network_services_v1/types/tcp_route.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ class RouteDestination(proto.Message):
196196
If only one serviceName is specified and it has
197197
a weight greater than 0, 100% of the traffic is
198198
forwarded to that backend.
199+
199200
If weights are specified for any one service
200201
name, they need to be specified for all of them.
201202

samples/generated_samples/snippet_metadata_google.cloud.networkservices.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-network-services",
11-
"version": "0.5.3"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

tests/unit/gapic/network_services_v1/test_network_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
from google.iam.v1 import iam_policy_pb2 # type: ignore
4646
from google.iam.v1 import options_pb2 # type: ignore
4747
from google.iam.v1 import policy_pb2 # type: ignore
48-
from google.longrunning import operations_pb2
48+
from google.longrunning import operations_pb2 # type: ignore
4949
from google.oauth2 import service_account
5050
from google.protobuf import duration_pb2 # type: ignore
5151
from google.protobuf import empty_pb2 # type: ignore

0 commit comments

Comments
 (0)