google-cloud-network-services 0.5.0__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {google-cloud-network-services-0.5.0/google_cloud_network_services.egg-info → google-cloud-network-services-0.5.2}/PKG-INFO +1 -1
  2. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services/gapic_version.py +1 -1
  3. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/gapic_version.py +1 -1
  4. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/async_client.py +4 -5
  5. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/client.py +3 -4
  6. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/transports/rest.py +61 -104
  7. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/common.py +2 -0
  8. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/endpoint_policy.py +2 -0
  9. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/gateway.py +2 -0
  10. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/grpc_route.py +2 -0
  11. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/http_route.py +2 -0
  12. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/mesh.py +2 -0
  13. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/network_services.py +1 -1
  14. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/service_binding.py +2 -0
  15. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/tcp_route.py +2 -0
  16. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/tls_route.py +2 -0
  17. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2/google_cloud_network_services.egg-info}/PKG-INFO +1 -1
  18. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/setup.py +1 -1
  19. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/tests/unit/gapic/network_services_v1/test_network_services.py +32 -16
  20. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/LICENSE +0 -0
  21. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/MANIFEST.in +0 -0
  22. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/README.rst +0 -0
  23. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services/__init__.py +0 -0
  24. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services/py.typed +0 -0
  25. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/__init__.py +0 -0
  26. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/gapic_metadata.json +0 -0
  27. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/py.typed +0 -0
  28. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/__init__.py +0 -0
  29. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/__init__.py +0 -0
  30. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/pagers.py +0 -0
  31. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/transports/__init__.py +0 -0
  32. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/transports/base.py +0 -0
  33. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/transports/grpc.py +0 -0
  34. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/services/network_services/transports/grpc_asyncio.py +0 -0
  35. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google/cloud/network_services_v1/types/__init__.py +0 -0
  36. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/SOURCES.txt +0 -0
  37. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/dependency_links.txt +0 -0
  38. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/namespace_packages.txt +0 -0
  39. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/not-zip-safe +0 -0
  40. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/requires.txt +0 -0
  41. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/google_cloud_network_services.egg-info/top_level.txt +0 -0
  42. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/setup.cfg +0 -0
  43. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/tests/__init__.py +0 -0
  44. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/tests/unit/__init__.py +0 -0
  45. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/tests/unit/gapic/__init__.py +0 -0
  46. {google-cloud-network-services-0.5.0 → google-cloud-network-services-0.5.2}/tests/unit/gapic/network_services_v1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-network-services
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: Google Cloud Network Services API client library
5
5
  Home-page: https://github.com/googleapis/python-network-services
6
6
  Author: Google LLC
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.5.0" # {x-release-please-version}
16
+ __version__ = "0.5.2" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.5.0" # {x-release-please-version}
16
+ __version__ = "0.5.2" # {x-release-please-version}
@@ -2450,8 +2450,7 @@ class NetworkServicesAsyncClient:
2450
2450
 
2451
2451
  Args:
2452
2452
  request (Optional[Union[google.cloud.network_services_v1.types.CreateHttpRouteRequest, dict]]):
2453
- The request object. Request used by the HttpRoute
2454
- method.
2453
+ The request object. Request used by the HttpRoute method.
2455
2454
  parent (:class:`str`):
2456
2455
  Required. The parent resource of the HttpRoute. Must be
2457
2456
  in the format ``projects/*/locations/global``.
@@ -4194,8 +4193,8 @@ class NetworkServicesAsyncClient:
4194
4193
 
4195
4194
  Args:
4196
4195
  request (Optional[Union[google.cloud.network_services_v1.types.GetServiceBindingRequest, dict]]):
4197
- The request object. Request used by the
4198
- GetServiceBinding method.
4196
+ The request object. Request used by the GetServiceBinding
4197
+ method.
4199
4198
  name (:class:`str`):
4200
4199
  Required. A name of the ServiceBinding to get. Must be
4201
4200
  in the format
@@ -5779,7 +5778,7 @@ class NetworkServicesAsyncClient:
5779
5778
  # Done; return the response.
5780
5779
  return response
5781
5780
 
5782
- async def __aenter__(self):
5781
+ async def __aenter__(self) -> "NetworkServicesAsyncClient":
5783
5782
  return self
5784
5783
 
5785
5784
  async def __aexit__(self, exc_type, exc, tb):
@@ -2885,8 +2885,7 @@ class NetworkServicesClient(metaclass=NetworkServicesClientMeta):
2885
2885
 
2886
2886
  Args:
2887
2887
  request (Union[google.cloud.network_services_v1.types.CreateHttpRouteRequest, dict]):
2888
- The request object. Request used by the HttpRoute
2889
- method.
2888
+ The request object. Request used by the HttpRoute method.
2890
2889
  parent (str):
2891
2890
  Required. The parent resource of the HttpRoute. Must be
2892
2891
  in the format ``projects/*/locations/global``.
@@ -4629,8 +4628,8 @@ class NetworkServicesClient(metaclass=NetworkServicesClientMeta):
4629
4628
 
4630
4629
  Args:
4631
4630
  request (Union[google.cloud.network_services_v1.types.GetServiceBindingRequest, dict]):
4632
- The request object. Request used by the
4633
- GetServiceBinding method.
4631
+ The request object. Request used by the GetServiceBinding
4632
+ method.
4634
4633
  name (str):
4635
4634
  Required. A name of the ServiceBinding to get. Must be
4636
4635
  in the format
@@ -17,7 +17,7 @@
17
17
  import dataclasses
18
18
  import json # type: ignore
19
19
  import re
20
- from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
20
+ from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
21
21
  import warnings
22
22
 
23
23
  from google.api_core import (
@@ -1291,7 +1291,7 @@ class NetworkServicesRestInterceptor:
1291
1291
  self,
1292
1292
  request: locations_pb2.GetLocationRequest,
1293
1293
  metadata: Sequence[Tuple[str, str]],
1294
- ) -> locations_pb2.Location:
1294
+ ) -> Tuple[locations_pb2.GetLocationRequest, Sequence[Tuple[str, str]]]:
1295
1295
  """Pre-rpc interceptor for get_location
1296
1296
 
1297
1297
  Override in a subclass to manipulate the request or metadata
@@ -1300,7 +1300,7 @@ class NetworkServicesRestInterceptor:
1300
1300
  return request, metadata
1301
1301
 
1302
1302
  def post_get_location(
1303
- self, response: locations_pb2.GetLocationRequest
1303
+ self, response: locations_pb2.Location
1304
1304
  ) -> locations_pb2.Location:
1305
1305
  """Post-rpc interceptor for get_location
1306
1306
 
@@ -1314,7 +1314,7 @@ class NetworkServicesRestInterceptor:
1314
1314
  self,
1315
1315
  request: locations_pb2.ListLocationsRequest,
1316
1316
  metadata: Sequence[Tuple[str, str]],
1317
- ) -> locations_pb2.ListLocationsResponse:
1317
+ ) -> Tuple[locations_pb2.ListLocationsRequest, Sequence[Tuple[str, str]]]:
1318
1318
  """Pre-rpc interceptor for list_locations
1319
1319
 
1320
1320
  Override in a subclass to manipulate the request or metadata
@@ -1323,7 +1323,7 @@ class NetworkServicesRestInterceptor:
1323
1323
  return request, metadata
1324
1324
 
1325
1325
  def post_list_locations(
1326
- self, response: locations_pb2.ListLocationsRequest
1326
+ self, response: locations_pb2.ListLocationsResponse
1327
1327
  ) -> locations_pb2.ListLocationsResponse:
1328
1328
  """Post-rpc interceptor for list_locations
1329
1329
 
@@ -1337,7 +1337,7 @@ class NetworkServicesRestInterceptor:
1337
1337
  self,
1338
1338
  request: iam_policy_pb2.GetIamPolicyRequest,
1339
1339
  metadata: Sequence[Tuple[str, str]],
1340
- ) -> policy_pb2.Policy:
1340
+ ) -> Tuple[iam_policy_pb2.GetIamPolicyRequest, Sequence[Tuple[str, str]]]:
1341
1341
  """Pre-rpc interceptor for get_iam_policy
1342
1342
 
1343
1343
  Override in a subclass to manipulate the request or metadata
@@ -1345,9 +1345,7 @@ class NetworkServicesRestInterceptor:
1345
1345
  """
1346
1346
  return request, metadata
1347
1347
 
1348
- def post_get_iam_policy(
1349
- self, response: iam_policy_pb2.GetIamPolicyRequest
1350
- ) -> policy_pb2.Policy:
1348
+ def post_get_iam_policy(self, response: policy_pb2.Policy) -> policy_pb2.Policy:
1351
1349
  """Post-rpc interceptor for get_iam_policy
1352
1350
 
1353
1351
  Override in a subclass to manipulate the response
@@ -1360,7 +1358,7 @@ class NetworkServicesRestInterceptor:
1360
1358
  self,
1361
1359
  request: iam_policy_pb2.SetIamPolicyRequest,
1362
1360
  metadata: Sequence[Tuple[str, str]],
1363
- ) -> policy_pb2.Policy:
1361
+ ) -> Tuple[iam_policy_pb2.SetIamPolicyRequest, Sequence[Tuple[str, str]]]:
1364
1362
  """Pre-rpc interceptor for set_iam_policy
1365
1363
 
1366
1364
  Override in a subclass to manipulate the request or metadata
@@ -1368,9 +1366,7 @@ class NetworkServicesRestInterceptor:
1368
1366
  """
1369
1367
  return request, metadata
1370
1368
 
1371
- def post_set_iam_policy(
1372
- self, response: iam_policy_pb2.SetIamPolicyRequest
1373
- ) -> policy_pb2.Policy:
1369
+ def post_set_iam_policy(self, response: policy_pb2.Policy) -> policy_pb2.Policy:
1374
1370
  """Post-rpc interceptor for set_iam_policy
1375
1371
 
1376
1372
  Override in a subclass to manipulate the response
@@ -1383,7 +1379,7 @@ class NetworkServicesRestInterceptor:
1383
1379
  self,
1384
1380
  request: iam_policy_pb2.TestIamPermissionsRequest,
1385
1381
  metadata: Sequence[Tuple[str, str]],
1386
- ) -> iam_policy_pb2.TestIamPermissionsResponse:
1382
+ ) -> Tuple[iam_policy_pb2.TestIamPermissionsRequest, Sequence[Tuple[str, str]]]:
1387
1383
  """Pre-rpc interceptor for test_iam_permissions
1388
1384
 
1389
1385
  Override in a subclass to manipulate the request or metadata
@@ -1392,7 +1388,7 @@ class NetworkServicesRestInterceptor:
1392
1388
  return request, metadata
1393
1389
 
1394
1390
  def post_test_iam_permissions(
1395
- self, response: iam_policy_pb2.TestIamPermissionsRequest
1391
+ self, response: iam_policy_pb2.TestIamPermissionsResponse
1396
1392
  ) -> iam_policy_pb2.TestIamPermissionsResponse:
1397
1393
  """Post-rpc interceptor for test_iam_permissions
1398
1394
 
@@ -1406,7 +1402,7 @@ class NetworkServicesRestInterceptor:
1406
1402
  self,
1407
1403
  request: operations_pb2.CancelOperationRequest,
1408
1404
  metadata: Sequence[Tuple[str, str]],
1409
- ) -> None:
1405
+ ) -> Tuple[operations_pb2.CancelOperationRequest, Sequence[Tuple[str, str]]]:
1410
1406
  """Pre-rpc interceptor for cancel_operation
1411
1407
 
1412
1408
  Override in a subclass to manipulate the request or metadata
@@ -1414,9 +1410,7 @@ class NetworkServicesRestInterceptor:
1414
1410
  """
1415
1411
  return request, metadata
1416
1412
 
1417
- def post_cancel_operation(
1418
- self, response: operations_pb2.CancelOperationRequest
1419
- ) -> None:
1413
+ def post_cancel_operation(self, response: None) -> None:
1420
1414
  """Post-rpc interceptor for cancel_operation
1421
1415
 
1422
1416
  Override in a subclass to manipulate the response
@@ -1429,7 +1423,7 @@ class NetworkServicesRestInterceptor:
1429
1423
  self,
1430
1424
  request: operations_pb2.DeleteOperationRequest,
1431
1425
  metadata: Sequence[Tuple[str, str]],
1432
- ) -> None:
1426
+ ) -> Tuple[operations_pb2.DeleteOperationRequest, Sequence[Tuple[str, str]]]:
1433
1427
  """Pre-rpc interceptor for delete_operation
1434
1428
 
1435
1429
  Override in a subclass to manipulate the request or metadata
@@ -1437,9 +1431,7 @@ class NetworkServicesRestInterceptor:
1437
1431
  """
1438
1432
  return request, metadata
1439
1433
 
1440
- def post_delete_operation(
1441
- self, response: operations_pb2.DeleteOperationRequest
1442
- ) -> None:
1434
+ def post_delete_operation(self, response: None) -> None:
1443
1435
  """Post-rpc interceptor for delete_operation
1444
1436
 
1445
1437
  Override in a subclass to manipulate the response
@@ -1452,7 +1444,7 @@ class NetworkServicesRestInterceptor:
1452
1444
  self,
1453
1445
  request: operations_pb2.GetOperationRequest,
1454
1446
  metadata: Sequence[Tuple[str, str]],
1455
- ) -> operations_pb2.Operation:
1447
+ ) -> Tuple[operations_pb2.GetOperationRequest, Sequence[Tuple[str, str]]]:
1456
1448
  """Pre-rpc interceptor for get_operation
1457
1449
 
1458
1450
  Override in a subclass to manipulate the request or metadata
@@ -1461,7 +1453,7 @@ class NetworkServicesRestInterceptor:
1461
1453
  return request, metadata
1462
1454
 
1463
1455
  def post_get_operation(
1464
- self, response: operations_pb2.GetOperationRequest
1456
+ self, response: operations_pb2.Operation
1465
1457
  ) -> operations_pb2.Operation:
1466
1458
  """Post-rpc interceptor for get_operation
1467
1459
 
@@ -1475,7 +1467,7 @@ class NetworkServicesRestInterceptor:
1475
1467
  self,
1476
1468
  request: operations_pb2.ListOperationsRequest,
1477
1469
  metadata: Sequence[Tuple[str, str]],
1478
- ) -> operations_pb2.ListOperationsResponse:
1470
+ ) -> Tuple[operations_pb2.ListOperationsRequest, Sequence[Tuple[str, str]]]:
1479
1471
  """Pre-rpc interceptor for list_operations
1480
1472
 
1481
1473
  Override in a subclass to manipulate the request or metadata
@@ -1484,7 +1476,7 @@ class NetworkServicesRestInterceptor:
1484
1476
  return request, metadata
1485
1477
 
1486
1478
  def post_list_operations(
1487
- self, response: operations_pb2.ListOperationsRequest
1479
+ self, response: operations_pb2.ListOperationsResponse
1488
1480
  ) -> operations_pb2.ListOperationsResponse:
1489
1481
  """Post-rpc interceptor for list_operations
1490
1482
 
@@ -1647,7 +1639,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1647
1639
  def __hash__(self):
1648
1640
  return hash("CreateEndpointPolicy")
1649
1641
 
1650
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1642
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
1651
1643
  "endpointPolicyId": "",
1652
1644
  }
1653
1645
 
@@ -1673,7 +1665,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1673
1665
  request (~.gcn_endpoint_policy.CreateEndpointPolicyRequest):
1674
1666
  The request object. Request used with the
1675
1667
  CreateEndpointPolicy method.
1676
-
1677
1668
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
1678
1669
  should be retried.
1679
1670
  timeout (float): The timeout for this request.
@@ -1749,7 +1740,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1749
1740
  def __hash__(self):
1750
1741
  return hash("CreateGateway")
1751
1742
 
1752
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1743
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
1753
1744
  "gatewayId": "",
1754
1745
  }
1755
1746
 
@@ -1775,7 +1766,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1775
1766
  request (~.gcn_gateway.CreateGatewayRequest):
1776
1767
  The request object. Request used by the CreateGateway
1777
1768
  method.
1778
-
1779
1769
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
1780
1770
  should be retried.
1781
1771
  timeout (float): The timeout for this request.
@@ -1849,7 +1839,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1849
1839
  def __hash__(self):
1850
1840
  return hash("CreateGrpcRoute")
1851
1841
 
1852
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1842
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
1853
1843
  "grpcRouteId": "",
1854
1844
  }
1855
1845
 
@@ -1875,7 +1865,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1875
1865
  request (~.gcn_grpc_route.CreateGrpcRouteRequest):
1876
1866
  The request object. Request used by the CreateGrpcRoute
1877
1867
  method.
1878
-
1879
1868
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
1880
1869
  should be retried.
1881
1870
  timeout (float): The timeout for this request.
@@ -1951,7 +1940,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
1951
1940
  def __hash__(self):
1952
1941
  return hash("CreateHttpRoute")
1953
1942
 
1954
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
1943
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
1955
1944
  "httpRouteId": "",
1956
1945
  }
1957
1946
 
@@ -2051,7 +2040,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2051
2040
  def __hash__(self):
2052
2041
  return hash("CreateMesh")
2053
2042
 
2054
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2043
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
2055
2044
  "meshId": "",
2056
2045
  }
2057
2046
 
@@ -2077,7 +2066,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2077
2066
  request (~.gcn_mesh.CreateMeshRequest):
2078
2067
  The request object. Request used by the CreateMesh
2079
2068
  method.
2080
-
2081
2069
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2082
2070
  should be retried.
2083
2071
  timeout (float): The timeout for this request.
@@ -2151,7 +2139,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2151
2139
  def __hash__(self):
2152
2140
  return hash("CreateServiceBinding")
2153
2141
 
2154
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2142
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
2155
2143
  "serviceBindingId": "",
2156
2144
  }
2157
2145
 
@@ -2177,7 +2165,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2177
2165
  request (~.gcn_service_binding.CreateServiceBindingRequest):
2178
2166
  The request object. Request used by the ServiceBinding
2179
2167
  method.
2180
-
2181
2168
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2182
2169
  should be retried.
2183
2170
  timeout (float): The timeout for this request.
@@ -2253,7 +2240,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2253
2240
  def __hash__(self):
2254
2241
  return hash("CreateTcpRoute")
2255
2242
 
2256
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2243
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
2257
2244
  "tcpRouteId": "",
2258
2245
  }
2259
2246
 
@@ -2353,7 +2340,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2353
2340
  def __hash__(self):
2354
2341
  return hash("CreateTlsRoute")
2355
2342
 
2356
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {
2343
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {
2357
2344
  "tlsRouteId": "",
2358
2345
  }
2359
2346
 
@@ -2453,7 +2440,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2453
2440
  def __hash__(self):
2454
2441
  return hash("DeleteEndpointPolicy")
2455
2442
 
2456
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2443
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2457
2444
 
2458
2445
  @classmethod
2459
2446
  def _get_unset_required_fields(cls, message_dict):
@@ -2477,7 +2464,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2477
2464
  request (~.endpoint_policy.DeleteEndpointPolicyRequest):
2478
2465
  The request object. Request used with the
2479
2466
  DeleteEndpointPolicy method.
2480
-
2481
2467
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2482
2468
  should be retried.
2483
2469
  timeout (float): The timeout for this request.
@@ -2544,7 +2530,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2544
2530
  def __hash__(self):
2545
2531
  return hash("DeleteGateway")
2546
2532
 
2547
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2533
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2548
2534
 
2549
2535
  @classmethod
2550
2536
  def _get_unset_required_fields(cls, message_dict):
@@ -2568,7 +2554,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2568
2554
  request (~.gateway.DeleteGatewayRequest):
2569
2555
  The request object. Request used by the DeleteGateway
2570
2556
  method.
2571
-
2572
2557
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2573
2558
  should be retried.
2574
2559
  timeout (float): The timeout for this request.
@@ -2633,7 +2618,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2633
2618
  def __hash__(self):
2634
2619
  return hash("DeleteGrpcRoute")
2635
2620
 
2636
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2621
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2637
2622
 
2638
2623
  @classmethod
2639
2624
  def _get_unset_required_fields(cls, message_dict):
@@ -2657,7 +2642,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2657
2642
  request (~.grpc_route.DeleteGrpcRouteRequest):
2658
2643
  The request object. Request used by the DeleteGrpcRoute
2659
2644
  method.
2660
-
2661
2645
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2662
2646
  should be retried.
2663
2647
  timeout (float): The timeout for this request.
@@ -2724,7 +2708,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2724
2708
  def __hash__(self):
2725
2709
  return hash("DeleteHttpRoute")
2726
2710
 
2727
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2711
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2728
2712
 
2729
2713
  @classmethod
2730
2714
  def _get_unset_required_fields(cls, message_dict):
@@ -2748,7 +2732,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2748
2732
  request (~.http_route.DeleteHttpRouteRequest):
2749
2733
  The request object. Request used by the DeleteHttpRoute
2750
2734
  method.
2751
-
2752
2735
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2753
2736
  should be retried.
2754
2737
  timeout (float): The timeout for this request.
@@ -2815,7 +2798,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2815
2798
  def __hash__(self):
2816
2799
  return hash("DeleteMesh")
2817
2800
 
2818
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2801
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2819
2802
 
2820
2803
  @classmethod
2821
2804
  def _get_unset_required_fields(cls, message_dict):
@@ -2839,7 +2822,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2839
2822
  request (~.mesh.DeleteMeshRequest):
2840
2823
  The request object. Request used by the DeleteMesh
2841
2824
  method.
2842
-
2843
2825
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2844
2826
  should be retried.
2845
2827
  timeout (float): The timeout for this request.
@@ -2904,7 +2886,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2904
2886
  def __hash__(self):
2905
2887
  return hash("DeleteServiceBinding")
2906
2888
 
2907
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2889
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2908
2890
 
2909
2891
  @classmethod
2910
2892
  def _get_unset_required_fields(cls, message_dict):
@@ -2928,7 +2910,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2928
2910
  request (~.service_binding.DeleteServiceBindingRequest):
2929
2911
  The request object. Request used by the
2930
2912
  DeleteServiceBinding method.
2931
-
2932
2913
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
2933
2914
  should be retried.
2934
2915
  timeout (float): The timeout for this request.
@@ -2995,7 +2976,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
2995
2976
  def __hash__(self):
2996
2977
  return hash("DeleteTcpRoute")
2997
2978
 
2998
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
2979
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
2999
2980
 
3000
2981
  @classmethod
3001
2982
  def _get_unset_required_fields(cls, message_dict):
@@ -3019,7 +3000,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3019
3000
  request (~.tcp_route.DeleteTcpRouteRequest):
3020
3001
  The request object. Request used by the DeleteTcpRoute
3021
3002
  method.
3022
-
3023
3003
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3024
3004
  should be retried.
3025
3005
  timeout (float): The timeout for this request.
@@ -3086,7 +3066,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3086
3066
  def __hash__(self):
3087
3067
  return hash("DeleteTlsRoute")
3088
3068
 
3089
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3069
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3090
3070
 
3091
3071
  @classmethod
3092
3072
  def _get_unset_required_fields(cls, message_dict):
@@ -3110,7 +3090,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3110
3090
  request (~.tls_route.DeleteTlsRouteRequest):
3111
3091
  The request object. Request used by the DeleteTlsRoute
3112
3092
  method.
3113
-
3114
3093
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3115
3094
  should be retried.
3116
3095
  timeout (float): The timeout for this request.
@@ -3177,7 +3156,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3177
3156
  def __hash__(self):
3178
3157
  return hash("GetEndpointPolicy")
3179
3158
 
3180
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3159
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3181
3160
 
3182
3161
  @classmethod
3183
3162
  def _get_unset_required_fields(cls, message_dict):
@@ -3201,7 +3180,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3201
3180
  request (~.endpoint_policy.GetEndpointPolicyRequest):
3202
3181
  The request object. Request used with the
3203
3182
  GetEndpointPolicy method.
3204
-
3205
3183
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3206
3184
  should be retried.
3207
3185
  timeout (float): The timeout for this request.
@@ -3273,7 +3251,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3273
3251
  def __hash__(self):
3274
3252
  return hash("GetGateway")
3275
3253
 
3276
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3254
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3277
3255
 
3278
3256
  @classmethod
3279
3257
  def _get_unset_required_fields(cls, message_dict):
@@ -3297,7 +3275,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3297
3275
  request (~.gateway.GetGatewayRequest):
3298
3276
  The request object. Request used by the GetGateway
3299
3277
  method.
3300
-
3301
3278
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3302
3279
  should be retried.
3303
3280
  timeout (float): The timeout for this request.
@@ -3369,7 +3346,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3369
3346
  def __hash__(self):
3370
3347
  return hash("GetGrpcRoute")
3371
3348
 
3372
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3349
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3373
3350
 
3374
3351
  @classmethod
3375
3352
  def _get_unset_required_fields(cls, message_dict):
@@ -3393,7 +3370,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3393
3370
  request (~.grpc_route.GetGrpcRouteRequest):
3394
3371
  The request object. Request used by the GetGrpcRoute
3395
3372
  method.
3396
-
3397
3373
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3398
3374
  should be retried.
3399
3375
  timeout (float): The timeout for this request.
@@ -3460,7 +3436,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3460
3436
  def __hash__(self):
3461
3437
  return hash("GetHttpRoute")
3462
3438
 
3463
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3439
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3464
3440
 
3465
3441
  @classmethod
3466
3442
  def _get_unset_required_fields(cls, message_dict):
@@ -3484,7 +3460,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3484
3460
  request (~.http_route.GetHttpRouteRequest):
3485
3461
  The request object. Request used by the GetHttpRoute
3486
3462
  method.
3487
-
3488
3463
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3489
3464
  should be retried.
3490
3465
  timeout (float): The timeout for this request.
@@ -3551,7 +3526,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3551
3526
  def __hash__(self):
3552
3527
  return hash("GetMesh")
3553
3528
 
3554
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3529
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3555
3530
 
3556
3531
  @classmethod
3557
3532
  def _get_unset_required_fields(cls, message_dict):
@@ -3643,7 +3618,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3643
3618
  def __hash__(self):
3644
3619
  return hash("GetServiceBinding")
3645
3620
 
3646
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3621
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3647
3622
 
3648
3623
  @classmethod
3649
3624
  def _get_unset_required_fields(cls, message_dict):
@@ -3667,7 +3642,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3667
3642
  request (~.service_binding.GetServiceBindingRequest):
3668
3643
  The request object. Request used by the GetServiceBinding
3669
3644
  method.
3670
-
3671
3645
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3672
3646
  should be retried.
3673
3647
  timeout (float): The timeout for this request.
@@ -3736,7 +3710,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3736
3710
  def __hash__(self):
3737
3711
  return hash("GetTcpRoute")
3738
3712
 
3739
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3713
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3740
3714
 
3741
3715
  @classmethod
3742
3716
  def _get_unset_required_fields(cls, message_dict):
@@ -3760,7 +3734,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3760
3734
  request (~.tcp_route.GetTcpRouteRequest):
3761
3735
  The request object. Request used by the GetTcpRoute
3762
3736
  method.
3763
-
3764
3737
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3765
3738
  should be retried.
3766
3739
  timeout (float): The timeout for this request.
@@ -3827,7 +3800,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3827
3800
  def __hash__(self):
3828
3801
  return hash("GetTlsRoute")
3829
3802
 
3830
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3803
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3831
3804
 
3832
3805
  @classmethod
3833
3806
  def _get_unset_required_fields(cls, message_dict):
@@ -3851,7 +3824,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3851
3824
  request (~.tls_route.GetTlsRouteRequest):
3852
3825
  The request object. Request used by the GetTlsRoute
3853
3826
  method.
3854
-
3855
3827
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3856
3828
  should be retried.
3857
3829
  timeout (float): The timeout for this request.
@@ -3918,7 +3890,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3918
3890
  def __hash__(self):
3919
3891
  return hash("ListEndpointPolicies")
3920
3892
 
3921
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3893
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
3922
3894
 
3923
3895
  @classmethod
3924
3896
  def _get_unset_required_fields(cls, message_dict):
@@ -3942,7 +3914,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
3942
3914
  request (~.endpoint_policy.ListEndpointPoliciesRequest):
3943
3915
  The request object. Request used with the
3944
3916
  ListEndpointPolicies method.
3945
-
3946
3917
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
3947
3918
  should be retried.
3948
3919
  timeout (float): The timeout for this request.
@@ -4010,7 +3981,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4010
3981
  def __hash__(self):
4011
3982
  return hash("ListGateways")
4012
3983
 
4013
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
3984
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4014
3985
 
4015
3986
  @classmethod
4016
3987
  def _get_unset_required_fields(cls, message_dict):
@@ -4034,7 +4005,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4034
4005
  request (~.gateway.ListGatewaysRequest):
4035
4006
  The request object. Request used with the ListGateways
4036
4007
  method.
4037
-
4038
4008
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4039
4009
  should be retried.
4040
4010
  timeout (float): The timeout for this request.
@@ -4100,7 +4070,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4100
4070
  def __hash__(self):
4101
4071
  return hash("ListGrpcRoutes")
4102
4072
 
4103
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4073
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4104
4074
 
4105
4075
  @classmethod
4106
4076
  def _get_unset_required_fields(cls, message_dict):
@@ -4124,7 +4094,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4124
4094
  request (~.grpc_route.ListGrpcRoutesRequest):
4125
4095
  The request object. Request used with the ListGrpcRoutes
4126
4096
  method.
4127
-
4128
4097
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4129
4098
  should be retried.
4130
4099
  timeout (float): The timeout for this request.
@@ -4192,7 +4161,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4192
4161
  def __hash__(self):
4193
4162
  return hash("ListHttpRoutes")
4194
4163
 
4195
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4164
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4196
4165
 
4197
4166
  @classmethod
4198
4167
  def _get_unset_required_fields(cls, message_dict):
@@ -4216,7 +4185,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4216
4185
  request (~.http_route.ListHttpRoutesRequest):
4217
4186
  The request object. Request used with the ListHttpRoutes
4218
4187
  method.
4219
-
4220
4188
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4221
4189
  should be retried.
4222
4190
  timeout (float): The timeout for this request.
@@ -4284,7 +4252,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4284
4252
  def __hash__(self):
4285
4253
  return hash("ListMeshes")
4286
4254
 
4287
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4255
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4288
4256
 
4289
4257
  @classmethod
4290
4258
  def _get_unset_required_fields(cls, message_dict):
@@ -4308,7 +4276,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4308
4276
  request (~.mesh.ListMeshesRequest):
4309
4277
  The request object. Request used with the ListMeshes
4310
4278
  method.
4311
-
4312
4279
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4313
4280
  should be retried.
4314
4281
  timeout (float): The timeout for this request.
@@ -4374,7 +4341,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4374
4341
  def __hash__(self):
4375
4342
  return hash("ListServiceBindings")
4376
4343
 
4377
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4344
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4378
4345
 
4379
4346
  @classmethod
4380
4347
  def _get_unset_required_fields(cls, message_dict):
@@ -4398,7 +4365,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4398
4365
  request (~.service_binding.ListServiceBindingsRequest):
4399
4366
  The request object. Request used with the
4400
4367
  ListServiceBindings method.
4401
-
4402
4368
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4403
4369
  should be retried.
4404
4370
  timeout (float): The timeout for this request.
@@ -4466,7 +4432,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4466
4432
  def __hash__(self):
4467
4433
  return hash("ListTcpRoutes")
4468
4434
 
4469
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4435
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4470
4436
 
4471
4437
  @classmethod
4472
4438
  def _get_unset_required_fields(cls, message_dict):
@@ -4490,7 +4456,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4490
4456
  request (~.tcp_route.ListTcpRoutesRequest):
4491
4457
  The request object. Request used with the ListTcpRoutes
4492
4458
  method.
4493
-
4494
4459
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4495
4460
  should be retried.
4496
4461
  timeout (float): The timeout for this request.
@@ -4556,7 +4521,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4556
4521
  def __hash__(self):
4557
4522
  return hash("ListTlsRoutes")
4558
4523
 
4559
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4524
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4560
4525
 
4561
4526
  @classmethod
4562
4527
  def _get_unset_required_fields(cls, message_dict):
@@ -4580,7 +4545,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4580
4545
  request (~.tls_route.ListTlsRoutesRequest):
4581
4546
  The request object. Request used with the ListTlsRoutes
4582
4547
  method.
4583
-
4584
4548
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4585
4549
  should be retried.
4586
4550
  timeout (float): The timeout for this request.
@@ -4646,7 +4610,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4646
4610
  def __hash__(self):
4647
4611
  return hash("UpdateEndpointPolicy")
4648
4612
 
4649
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4613
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4650
4614
 
4651
4615
  @classmethod
4652
4616
  def _get_unset_required_fields(cls, message_dict):
@@ -4670,7 +4634,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4670
4634
  request (~.gcn_endpoint_policy.UpdateEndpointPolicyRequest):
4671
4635
  The request object. Request used with the
4672
4636
  UpdateEndpointPolicy method.
4673
-
4674
4637
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4675
4638
  should be retried.
4676
4639
  timeout (float): The timeout for this request.
@@ -4746,7 +4709,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4746
4709
  def __hash__(self):
4747
4710
  return hash("UpdateGateway")
4748
4711
 
4749
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4712
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4750
4713
 
4751
4714
  @classmethod
4752
4715
  def _get_unset_required_fields(cls, message_dict):
@@ -4770,7 +4733,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4770
4733
  request (~.gcn_gateway.UpdateGatewayRequest):
4771
4734
  The request object. Request used by the UpdateGateway
4772
4735
  method.
4773
-
4774
4736
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4775
4737
  should be retried.
4776
4738
  timeout (float): The timeout for this request.
@@ -4844,7 +4806,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4844
4806
  def __hash__(self):
4845
4807
  return hash("UpdateGrpcRoute")
4846
4808
 
4847
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4809
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4848
4810
 
4849
4811
  @classmethod
4850
4812
  def _get_unset_required_fields(cls, message_dict):
@@ -4868,7 +4830,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4868
4830
  request (~.gcn_grpc_route.UpdateGrpcRouteRequest):
4869
4831
  The request object. Request used by the UpdateGrpcRoute
4870
4832
  method.
4871
-
4872
4833
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4873
4834
  should be retried.
4874
4835
  timeout (float): The timeout for this request.
@@ -4944,7 +4905,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4944
4905
  def __hash__(self):
4945
4906
  return hash("UpdateHttpRoute")
4946
4907
 
4947
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
4908
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
4948
4909
 
4949
4910
  @classmethod
4950
4911
  def _get_unset_required_fields(cls, message_dict):
@@ -4968,7 +4929,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
4968
4929
  request (~.gcn_http_route.UpdateHttpRouteRequest):
4969
4930
  The request object. Request used by the UpdateHttpRoute
4970
4931
  method.
4971
-
4972
4932
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
4973
4933
  should be retried.
4974
4934
  timeout (float): The timeout for this request.
@@ -5044,7 +5004,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5044
5004
  def __hash__(self):
5045
5005
  return hash("UpdateMesh")
5046
5006
 
5047
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
5007
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
5048
5008
 
5049
5009
  @classmethod
5050
5010
  def _get_unset_required_fields(cls, message_dict):
@@ -5068,7 +5028,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5068
5028
  request (~.gcn_mesh.UpdateMeshRequest):
5069
5029
  The request object. Request used by the UpdateMesh
5070
5030
  method.
5071
-
5072
5031
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
5073
5032
  should be retried.
5074
5033
  timeout (float): The timeout for this request.
@@ -5142,7 +5101,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5142
5101
  def __hash__(self):
5143
5102
  return hash("UpdateTcpRoute")
5144
5103
 
5145
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
5104
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
5146
5105
 
5147
5106
  @classmethod
5148
5107
  def _get_unset_required_fields(cls, message_dict):
@@ -5166,7 +5125,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5166
5125
  request (~.gcn_tcp_route.UpdateTcpRouteRequest):
5167
5126
  The request object. Request used by the UpdateTcpRoute
5168
5127
  method.
5169
-
5170
5128
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
5171
5129
  should be retried.
5172
5130
  timeout (float): The timeout for this request.
@@ -5242,7 +5200,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5242
5200
  def __hash__(self):
5243
5201
  return hash("UpdateTlsRoute")
5244
5202
 
5245
- __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
5203
+ __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
5246
5204
 
5247
5205
  @classmethod
5248
5206
  def _get_unset_required_fields(cls, message_dict):
@@ -5266,7 +5224,6 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5266
5224
  request (~.gcn_tls_route.UpdateTlsRouteRequest):
5267
5225
  The request object. Request used by the UpdateTlsRoute
5268
5226
  method.
5269
-
5270
5227
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
5271
5228
  should be retried.
5272
5229
  timeout (float): The timeout for this request.
@@ -5966,7 +5923,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
5966
5923
  request_kwargs = json_format.MessageToDict(request)
5967
5924
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
5968
5925
 
5969
- body = json.loads(json.dumps(transcoded_request["body"]))
5926
+ body = json.dumps(transcoded_request["body"])
5970
5927
  uri = transcoded_request["uri"]
5971
5928
  method = transcoded_request["method"]
5972
5929
 
@@ -6068,7 +6025,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
6068
6025
  request_kwargs = json_format.MessageToDict(request)
6069
6026
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
6070
6027
 
6071
- body = json.loads(json.dumps(transcoded_request["body"]))
6028
+ body = json.dumps(transcoded_request["body"])
6072
6029
  uri = transcoded_request["uri"]
6073
6030
  method = transcoded_request["method"]
6074
6031
 
@@ -6137,7 +6094,7 @@ class NetworkServicesRestTransport(NetworkServicesTransport):
6137
6094
  request_kwargs = json_format.MessageToDict(request)
6138
6095
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
6139
6096
 
6140
- body = json.loads(json.dumps(transcoded_request["body"]))
6097
+ body = json.dumps(transcoded_request["body"])
6141
6098
  uri = transcoded_request["uri"]
6142
6099
  method = transcoded_request["method"]
6143
6100
 
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import timestamp_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import field_mask_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import field_mask_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import duration_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import duration_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import field_mask_pb2 # type: ignore
@@ -13,7 +13,7 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
-
16
+ import proto # type: ignore
17
17
 
18
18
  __protobuf__ = proto.module(
19
19
  package="google.cloud.networkservices.v1",
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import timestamp_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import field_mask_pb2 # type: ignore
@@ -13,6 +13,8 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from __future__ import annotations
17
+
16
18
  from typing import MutableMapping, MutableSequence
17
19
 
18
20
  from google.protobuf import field_mask_pb2 # type: ignore
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-network-services
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: Google Cloud Network Services API client library
5
5
  Home-page: https://github.com/googleapis/python-network-services
6
6
  Author: Google LLC
@@ -42,7 +42,7 @@ dependencies = [
42
42
  "proto-plus >= 1.22.0, <2.0.0dev",
43
43
  "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
44
44
  "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
45
- "grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
45
+ "grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
46
46
  ]
47
47
  url = "https://github.com/googleapis/python-network-services"
48
48
 
@@ -1199,9 +1199,11 @@ async def test_list_endpoint_policies_async_pages():
1199
1199
  RuntimeError,
1200
1200
  )
1201
1201
  pages = []
1202
- async for page_ in (
1202
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
1203
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
1204
+ async for page_ in ( # pragma: no branch
1203
1205
  await client.list_endpoint_policies(request={})
1204
- ).pages: # pragma: no branch
1206
+ ).pages:
1205
1207
  pages.append(page_)
1206
1208
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
1207
1209
  assert page_.raw_page.next_page_token == token
@@ -2645,9 +2647,11 @@ async def test_list_gateways_async_pages():
2645
2647
  RuntimeError,
2646
2648
  )
2647
2649
  pages = []
2648
- async for page_ in (
2650
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
2651
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
2652
+ async for page_ in ( # pragma: no branch
2649
2653
  await client.list_gateways(request={})
2650
- ).pages: # pragma: no branch
2654
+ ).pages:
2651
2655
  pages.append(page_)
2652
2656
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
2653
2657
  assert page_.raw_page.next_page_token == token
@@ -4025,9 +4029,11 @@ async def test_list_grpc_routes_async_pages():
4025
4029
  RuntimeError,
4026
4030
  )
4027
4031
  pages = []
4028
- async for page_ in (
4032
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
4033
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
4034
+ async for page_ in ( # pragma: no branch
4029
4035
  await client.list_grpc_routes(request={})
4030
- ).pages: # pragma: no branch
4036
+ ).pages:
4031
4037
  pages.append(page_)
4032
4038
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
4033
4039
  assert page_.raw_page.next_page_token == token
@@ -5447,9 +5453,11 @@ async def test_list_http_routes_async_pages():
5447
5453
  RuntimeError,
5448
5454
  )
5449
5455
  pages = []
5450
- async for page_ in (
5456
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
5457
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
5458
+ async for page_ in ( # pragma: no branch
5451
5459
  await client.list_http_routes(request={})
5452
- ).pages: # pragma: no branch
5460
+ ).pages:
5453
5461
  pages.append(page_)
5454
5462
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
5455
5463
  assert page_.raw_page.next_page_token == token
@@ -6869,9 +6877,11 @@ async def test_list_tcp_routes_async_pages():
6869
6877
  RuntimeError,
6870
6878
  )
6871
6879
  pages = []
6872
- async for page_ in (
6880
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
6881
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
6882
+ async for page_ in ( # pragma: no branch
6873
6883
  await client.list_tcp_routes(request={})
6874
- ).pages: # pragma: no branch
6884
+ ).pages:
6875
6885
  pages.append(page_)
6876
6886
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
6877
6887
  assert page_.raw_page.next_page_token == token
@@ -8241,9 +8251,11 @@ async def test_list_tls_routes_async_pages():
8241
8251
  RuntimeError,
8242
8252
  )
8243
8253
  pages = []
8244
- async for page_ in (
8254
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
8255
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
8256
+ async for page_ in ( # pragma: no branch
8245
8257
  await client.list_tls_routes(request={})
8246
- ).pages: # pragma: no branch
8258
+ ).pages:
8247
8259
  pages.append(page_)
8248
8260
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
8249
8261
  assert page_.raw_page.next_page_token == token
@@ -9636,9 +9648,11 @@ async def test_list_service_bindings_async_pages():
9636
9648
  RuntimeError,
9637
9649
  )
9638
9650
  pages = []
9639
- async for page_ in (
9651
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
9652
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
9653
+ async for page_ in ( # pragma: no branch
9640
9654
  await client.list_service_bindings(request={})
9641
- ).pages: # pragma: no branch
9655
+ ).pages:
9642
9656
  pages.append(page_)
9643
9657
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
9644
9658
  assert page_.raw_page.next_page_token == token
@@ -10813,9 +10827,11 @@ async def test_list_meshes_async_pages():
10813
10827
  RuntimeError,
10814
10828
  )
10815
10829
  pages = []
10816
- async for page_ in (
10830
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
10831
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
10832
+ async for page_ in ( # pragma: no branch
10817
10833
  await client.list_meshes(request={})
10818
- ).pages: # pragma: no branch
10834
+ ).pages:
10819
10835
  pages.append(page_)
10820
10836
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
10821
10837
  assert page_.raw_page.next_page_token == token