google-cloud-container 2.35.0__tar.gz → 2.36.0rc0__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 (55) hide show
  1. {google-cloud-container-2.35.0/google_cloud_container.egg-info → google-cloud-container-2.36.0rc0}/PKG-INFO +4 -4
  2. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container/gapic_version.py +1 -1
  3. {google-cloud-container-2.35.0/google/cloud/container_v1beta1 → google-cloud-container-2.36.0rc0/google/cloud/container_v1}/gapic_version.py +1 -1
  4. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/async_client.py +46 -46
  5. {google-cloud-container-2.35.0/google/cloud/container_v1 → google-cloud-container-2.36.0rc0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
  6. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +49 -49
  7. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0/google_cloud_container.egg-info}/PKG-INFO +4 -4
  8. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google_cloud_container.egg-info/SOURCES.txt +0 -1
  9. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google_cloud_container.egg-info/requires.txt +1 -4
  10. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/setup.py +10 -10
  11. google-cloud-container-2.35.0/google_cloud_container.egg-info/namespace_packages.txt +0 -2
  12. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/LICENSE +0 -0
  13. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/MANIFEST.in +0 -0
  14. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/README.rst +0 -0
  15. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container/__init__.py +0 -0
  16. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container/py.typed +0 -0
  17. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/__init__.py +0 -0
  18. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/gapic_metadata.json +0 -0
  19. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/py.typed +0 -0
  20. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/__init__.py +0 -0
  21. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
  22. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/client.py +0 -0
  23. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
  24. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
  25. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +0 -0
  26. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +0 -0
  27. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
  28. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/types/__init__.py +0 -0
  29. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1/types/cluster_service.py +0 -0
  30. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/__init__.py +0 -0
  31. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
  32. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/py.typed +0 -0
  33. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
  34. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
  35. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +0 -0
  36. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
  37. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
  38. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +0 -0
  39. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +0 -0
  40. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
  41. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/types/__init__.py +0 -0
  42. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google/cloud/container_v1beta1/types/cluster_service.py +0 -0
  43. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
  44. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google_cloud_container.egg-info/not-zip-safe +0 -0
  45. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/google_cloud_container.egg-info/top_level.txt +0 -0
  46. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/setup.cfg +0 -0
  47. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/__init__.py +0 -0
  48. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/system/__init__.py +0 -0
  49. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/system/smoke_test.py +0 -0
  50. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/__init__.py +0 -0
  51. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/gapic/__init__.py +0 -0
  52. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/gapic/container_v1/__init__.py +0 -0
  53. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/gapic/container_v1/test_cluster_manager.py +0 -0
  54. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
  55. {google-cloud-container-2.35.0 → google-cloud-container-2.36.0rc0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.35.0
3
+ Version: 2.36.0rc0
4
4
  Summary: Google Cloud Container API client library
5
- Home-page: https://github.com/googleapis/google-cloud-python
5
+ Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -17,13 +17,13 @@ Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
20
21
  Classifier: Operating System :: OS Independent
21
22
  Classifier: Topic :: Internet
22
23
  Requires-Python: >=3.7
23
24
  License-File: LICENSE
24
25
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
25
- Requires-Dist: proto-plus<2.0.0dev,>=1.22.0
26
- Requires-Dist: proto-plus<2.0.0dev,>=1.22.2; python_version >= "3.11"
26
+ Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
27
27
  Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
28
28
 
29
29
  Python Client for Kubernetes Engine
@@ -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__ = "2.35.0" # {x-release-please-version}
16
+ __version__ = "2.36.0rc0" # {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__ = "2.35.0" # {x-release-please-version}
16
+ __version__ = "2.36.0rc0" # {x-release-please-version}
@@ -31,7 +31,7 @@ import warnings
31
31
 
32
32
  from google.api_core import exceptions as core_exceptions
33
33
  from google.api_core import gapic_v1
34
- from google.api_core import retry as retries
34
+ from google.api_core import retry_async as retries
35
35
  from google.api_core.client_options import ClientOptions
36
36
  from google.auth import credentials as ga_credentials # type: ignore
37
37
  from google.oauth2 import service_account # type: ignore
@@ -39,9 +39,9 @@ from google.oauth2 import service_account # type: ignore
39
39
  from google.cloud.container_v1 import gapic_version as package_version
40
40
 
41
41
  try:
42
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
42
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
43
43
  except AttributeError: # pragma: NO COVER
44
- OptionalRetry = Union[retries.Retry, object] # type: ignore
44
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
45
45
 
46
46
  from google.rpc import status_pb2 # type: ignore
47
47
 
@@ -288,7 +288,7 @@ class ClusterManagerAsyncClient:
288
288
  This corresponds to the ``parent`` field
289
289
  on the ``request`` instance; if ``request`` is provided, this
290
290
  should not be set.
291
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
291
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
292
292
  should be retried.
293
293
  timeout (float): The timeout for this request.
294
294
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -325,7 +325,7 @@ class ClusterManagerAsyncClient:
325
325
  # and friendly error handling.
326
326
  rpc = gapic_v1.method_async.wrap_method(
327
327
  self._client._transport.list_clusters,
328
- default_retry=retries.Retry(
328
+ default_retry=retries.AsyncRetry(
329
329
  initial=0.1,
330
330
  maximum=60.0,
331
331
  multiplier=1.3,
@@ -435,7 +435,7 @@ class ClusterManagerAsyncClient:
435
435
  This corresponds to the ``name`` field
436
436
  on the ``request`` instance; if ``request`` is provided, this
437
437
  should not be set.
438
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
438
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
439
439
  should be retried.
440
440
  timeout (float): The timeout for this request.
441
441
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -472,7 +472,7 @@ class ClusterManagerAsyncClient:
472
472
  # and friendly error handling.
473
473
  rpc = gapic_v1.method_async.wrap_method(
474
474
  self._client._transport.get_cluster,
475
- default_retry=retries.Retry(
475
+ default_retry=retries.AsyncRetry(
476
476
  initial=0.1,
477
477
  maximum=60.0,
478
478
  multiplier=1.3,
@@ -592,7 +592,7 @@ class ClusterManagerAsyncClient:
592
592
  This corresponds to the ``parent`` field
593
593
  on the ``request`` instance; if ``request`` is provided, this
594
594
  should not be set.
595
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
595
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
596
596
  should be retried.
597
597
  timeout (float): The timeout for this request.
598
598
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -741,7 +741,7 @@ class ClusterManagerAsyncClient:
741
741
  This corresponds to the ``name`` field
742
742
  on the ``request`` instance; if ``request`` is provided, this
743
743
  should not be set.
744
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
744
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
745
745
  should be retried.
746
746
  timeout (float): The timeout for this request.
747
747
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -847,7 +847,7 @@ class ClusterManagerAsyncClient:
847
847
  request (Optional[Union[google.cloud.container_v1.types.UpdateNodePoolRequest, dict]]):
848
848
  The request object. UpdateNodePoolRequests update a node
849
849
  pool's image and/or version.
850
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
850
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
851
851
  should be retried.
852
852
  timeout (float): The timeout for this request.
853
853
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -931,7 +931,7 @@ class ClusterManagerAsyncClient:
931
931
  request (Optional[Union[google.cloud.container_v1.types.SetNodePoolAutoscalingRequest, dict]]):
932
932
  The request object. SetNodePoolAutoscalingRequest sets
933
933
  the autoscaler settings of a node pool.
934
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
934
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
935
935
  should be retried.
936
936
  timeout (float): The timeout for this request.
937
937
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1073,7 +1073,7 @@ class ClusterManagerAsyncClient:
1073
1073
  This corresponds to the ``name`` field
1074
1074
  on the ``request`` instance; if ``request`` is provided, this
1075
1075
  should not be set.
1076
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1076
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1077
1077
  should be retried.
1078
1078
  timeout (float): The timeout for this request.
1079
1079
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1243,7 +1243,7 @@ class ClusterManagerAsyncClient:
1243
1243
  This corresponds to the ``name`` field
1244
1244
  on the ``request`` instance; if ``request`` is provided, this
1245
1245
  should not be set.
1246
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1246
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1247
1247
  should be retried.
1248
1248
  timeout (float): The timeout for this request.
1249
1249
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1397,7 +1397,7 @@ class ClusterManagerAsyncClient:
1397
1397
  This corresponds to the ``name`` field
1398
1398
  on the ``request`` instance; if ``request`` is provided, this
1399
1399
  should not be set.
1400
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1400
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1401
1401
  should be retried.
1402
1402
  timeout (float): The timeout for this request.
1403
1403
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1558,7 +1558,7 @@ class ClusterManagerAsyncClient:
1558
1558
  This corresponds to the ``name`` field
1559
1559
  on the ``request`` instance; if ``request`` is provided, this
1560
1560
  should not be set.
1561
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1561
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1562
1562
  should be retried.
1563
1563
  timeout (float): The timeout for this request.
1564
1564
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1729,7 +1729,7 @@ class ClusterManagerAsyncClient:
1729
1729
  This corresponds to the ``name`` field
1730
1730
  on the ``request`` instance; if ``request`` is provided, this
1731
1731
  should not be set.
1732
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1732
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1733
1733
  should be retried.
1734
1734
  timeout (float): The timeout for this request.
1735
1735
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1836,7 +1836,7 @@ class ClusterManagerAsyncClient:
1836
1836
  request (Optional[Union[google.cloud.container_v1.types.SetMasterAuthRequest, dict]]):
1837
1837
  The request object. SetMasterAuthRequest updates the
1838
1838
  admin password of a cluster.
1839
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1839
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1840
1840
  should be retried.
1841
1841
  timeout (float): The timeout for this request.
1842
1842
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1966,7 +1966,7 @@ class ClusterManagerAsyncClient:
1966
1966
  This corresponds to the ``name`` field
1967
1967
  on the ``request`` instance; if ``request`` is provided, this
1968
1968
  should not be set.
1969
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1969
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1970
1970
  should be retried.
1971
1971
  timeout (float): The timeout for this request.
1972
1972
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2007,7 +2007,7 @@ class ClusterManagerAsyncClient:
2007
2007
  # and friendly error handling.
2008
2008
  rpc = gapic_v1.method_async.wrap_method(
2009
2009
  self._client._transport.delete_cluster,
2010
- default_retry=retries.Retry(
2010
+ default_retry=retries.AsyncRetry(
2011
2011
  initial=0.1,
2012
2012
  maximum=60.0,
2013
2013
  multiplier=1.3,
@@ -2100,7 +2100,7 @@ class ClusterManagerAsyncClient:
2100
2100
  This corresponds to the ``zone`` field
2101
2101
  on the ``request`` instance; if ``request`` is provided, this
2102
2102
  should not be set.
2103
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2103
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2104
2104
  should be retried.
2105
2105
  timeout (float): The timeout for this request.
2106
2106
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2135,7 +2135,7 @@ class ClusterManagerAsyncClient:
2135
2135
  # and friendly error handling.
2136
2136
  rpc = gapic_v1.method_async.wrap_method(
2137
2137
  self._client._transport.list_operations,
2138
- default_retry=retries.Retry(
2138
+ default_retry=retries.AsyncRetry(
2139
2139
  initial=0.1,
2140
2140
  maximum=60.0,
2141
2141
  multiplier=1.3,
@@ -2244,7 +2244,7 @@ class ClusterManagerAsyncClient:
2244
2244
  This corresponds to the ``name`` field
2245
2245
  on the ``request`` instance; if ``request`` is provided, this
2246
2246
  should not be set.
2247
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2247
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2248
2248
  should be retried.
2249
2249
  timeout (float): The timeout for this request.
2250
2250
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2285,7 +2285,7 @@ class ClusterManagerAsyncClient:
2285
2285
  # and friendly error handling.
2286
2286
  rpc = gapic_v1.method_async.wrap_method(
2287
2287
  self._client._transport.get_operation,
2288
- default_retry=retries.Retry(
2288
+ default_retry=retries.AsyncRetry(
2289
2289
  initial=0.1,
2290
2290
  maximum=60.0,
2291
2291
  multiplier=1.3,
@@ -2391,7 +2391,7 @@ class ClusterManagerAsyncClient:
2391
2391
  This corresponds to the ``name`` field
2392
2392
  on the ``request`` instance; if ``request`` is provided, this
2393
2393
  should not be set.
2394
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2394
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2395
2395
  should be retried.
2396
2396
  timeout (float): The timeout for this request.
2397
2397
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2511,7 +2511,7 @@ class ClusterManagerAsyncClient:
2511
2511
  This corresponds to the ``name`` field
2512
2512
  on the ``request`` instance; if ``request`` is provided, this
2513
2513
  should not be set.
2514
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2514
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2515
2515
  should be retried.
2516
2516
  timeout (float): The timeout for this request.
2517
2517
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2548,7 +2548,7 @@ class ClusterManagerAsyncClient:
2548
2548
  # and friendly error handling.
2549
2549
  rpc = gapic_v1.method_async.wrap_method(
2550
2550
  self._client._transport.get_server_config,
2551
- default_retry=retries.Retry(
2551
+ default_retry=retries.AsyncRetry(
2552
2552
  initial=0.1,
2553
2553
  maximum=60.0,
2554
2554
  multiplier=1.3,
@@ -2624,7 +2624,7 @@ class ClusterManagerAsyncClient:
2624
2624
  will be the jwks_uri for the discover document returned
2625
2625
  by getOpenIDConfig. See the OpenID Connect Discovery 1.0
2626
2626
  specification for details.
2627
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2627
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2628
2628
  should be retried.
2629
2629
  timeout (float): The timeout for this request.
2630
2630
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2743,7 +2743,7 @@ class ClusterManagerAsyncClient:
2743
2743
  This corresponds to the ``parent`` field
2744
2744
  on the ``request`` instance; if ``request`` is provided, this
2745
2745
  should not be set.
2746
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2746
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2747
2747
  should be retried.
2748
2748
  timeout (float): The timeout for this request.
2749
2749
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2782,7 +2782,7 @@ class ClusterManagerAsyncClient:
2782
2782
  # and friendly error handling.
2783
2783
  rpc = gapic_v1.method_async.wrap_method(
2784
2784
  self._client._transport.list_node_pools,
2785
- default_retry=retries.Retry(
2785
+ default_retry=retries.AsyncRetry(
2786
2786
  initial=0.1,
2787
2787
  maximum=60.0,
2788
2788
  multiplier=1.3,
@@ -2900,7 +2900,7 @@ class ClusterManagerAsyncClient:
2900
2900
  This corresponds to the ``name`` field
2901
2901
  on the ``request`` instance; if ``request`` is provided, this
2902
2902
  should not be set.
2903
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2903
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2904
2904
  should be retried.
2905
2905
  timeout (float): The timeout for this request.
2906
2906
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2949,7 +2949,7 @@ class ClusterManagerAsyncClient:
2949
2949
  # and friendly error handling.
2950
2950
  rpc = gapic_v1.method_async.wrap_method(
2951
2951
  self._client._transport.get_node_pool,
2952
- default_retry=retries.Retry(
2952
+ default_retry=retries.AsyncRetry(
2953
2953
  initial=0.1,
2954
2954
  maximum=60.0,
2955
2955
  multiplier=1.3,
@@ -3064,7 +3064,7 @@ class ClusterManagerAsyncClient:
3064
3064
  This corresponds to the ``parent`` field
3065
3065
  on the ``request`` instance; if ``request`` is provided, this
3066
3066
  should not be set.
3067
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3067
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3068
3068
  should be retried.
3069
3069
  timeout (float): The timeout for this request.
3070
3070
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3216,7 +3216,7 @@ class ClusterManagerAsyncClient:
3216
3216
  This corresponds to the ``name`` field
3217
3217
  on the ``request`` instance; if ``request`` is provided, this
3218
3218
  should not be set.
3219
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3219
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3220
3220
  should be retried.
3221
3221
  timeout (float): The timeout for this request.
3222
3222
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3259,7 +3259,7 @@ class ClusterManagerAsyncClient:
3259
3259
  # and friendly error handling.
3260
3260
  rpc = gapic_v1.method_async.wrap_method(
3261
3261
  self._client._transport.delete_node_pool,
3262
- default_retry=retries.Retry(
3262
+ default_retry=retries.AsyncRetry(
3263
3263
  initial=0.1,
3264
3264
  maximum=60.0,
3265
3265
  multiplier=1.3,
@@ -3330,7 +3330,7 @@ class ClusterManagerAsyncClient:
3330
3330
  The request object. CompleteNodePoolUpgradeRequest sets
3331
3331
  the name of target node pool to complete
3332
3332
  upgrade.
3333
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3333
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3334
3334
  should be retried.
3335
3335
  timeout (float): The timeout for this request.
3336
3336
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3458,7 +3458,7 @@ class ClusterManagerAsyncClient:
3458
3458
  This corresponds to the ``name`` field
3459
3459
  on the ``request`` instance; if ``request`` is provided, this
3460
3460
  should not be set.
3461
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3461
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3462
3462
  should be retried.
3463
3463
  timeout (float): The timeout for this request.
3464
3464
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3564,7 +3564,7 @@ class ClusterManagerAsyncClient:
3564
3564
  The request object. SetNodePoolManagementRequest sets the
3565
3565
  node management properties of a node
3566
3566
  pool.
3567
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3567
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3568
3568
  should be retried.
3569
3569
  timeout (float): The timeout for this request.
3570
3570
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3649,7 +3649,7 @@ class ClusterManagerAsyncClient:
3649
3649
  Container Engine cluster, which will in
3650
3650
  turn set them for Google Compute Engine
3651
3651
  resources used by that cluster
3652
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3652
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3653
3653
  should be retried.
3654
3654
  timeout (float): The timeout for this request.
3655
3655
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3781,7 +3781,7 @@ class ClusterManagerAsyncClient:
3781
3781
  This corresponds to the ``name`` field
3782
3782
  on the ``request`` instance; if ``request`` is provided, this
3783
3783
  should not be set.
3784
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3784
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3785
3785
  should be retried.
3786
3786
  timeout (float): The timeout for this request.
3787
3787
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3925,7 +3925,7 @@ class ClusterManagerAsyncClient:
3925
3925
  This corresponds to the ``name`` field
3926
3926
  on the ``request`` instance; if ``request`` is provided, this
3927
3927
  should not be set.
3928
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3928
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3929
3929
  should be retried.
3930
3930
  timeout (float): The timeout for this request.
3931
3931
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4067,7 +4067,7 @@ class ClusterManagerAsyncClient:
4067
4067
  This corresponds to the ``name`` field
4068
4068
  on the ``request`` instance; if ``request`` is provided, this
4069
4069
  should not be set.
4070
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4070
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4071
4071
  should be retried.
4072
4072
  timeout (float): The timeout for this request.
4073
4073
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4172,7 +4172,7 @@ class ClusterManagerAsyncClient:
4172
4172
  request (Optional[Union[google.cloud.container_v1.types.SetNodePoolSizeRequest, dict]]):
4173
4173
  The request object. SetNodePoolSizeRequest sets the size
4174
4174
  of a node pool.
4175
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4175
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4176
4176
  should be retried.
4177
4177
  timeout (float): The timeout for this request.
4178
4178
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4301,7 +4301,7 @@ class ClusterManagerAsyncClient:
4301
4301
  This corresponds to the ``name`` field
4302
4302
  on the ``request`` instance; if ``request`` is provided, this
4303
4303
  should not be set.
4304
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4304
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4305
4305
  should be retried.
4306
4306
  timeout (float): The timeout for this request.
4307
4307
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4453,7 +4453,7 @@ class ClusterManagerAsyncClient:
4453
4453
  This corresponds to the ``name`` field
4454
4454
  on the ``request`` instance; if ``request`` is provided, this
4455
4455
  should not be set.
4456
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4456
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4457
4457
  should be retried.
4458
4458
  timeout (float): The timeout for this request.
4459
4459
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4563,7 +4563,7 @@ class ClusterManagerAsyncClient:
4563
4563
  The request object. ListUsableSubnetworksRequest requests
4564
4564
  the list of usable subnetworks available
4565
4565
  to a user for creating clusters.
4566
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4566
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4567
4567
  should be retried.
4568
4568
  timeout (float): The timeout for this request.
4569
4569
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4660,7 +4660,7 @@ class ClusterManagerAsyncClient:
4660
4660
  The request object. CheckAutopilotCompatibilityRequest
4661
4661
  requests getting the blockers for the
4662
4662
  given operation in the cluster.
4663
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4663
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4664
4664
  should be retried.
4665
4665
  timeout (float): The timeout for this request.
4666
4666
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -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__ = "2.35.0" # {x-release-please-version}
16
+ __version__ = "2.36.0rc0" # {x-release-please-version}
@@ -31,7 +31,7 @@ import warnings
31
31
 
32
32
  from google.api_core import exceptions as core_exceptions
33
33
  from google.api_core import gapic_v1
34
- from google.api_core import retry as retries
34
+ from google.api_core import retry_async as retries
35
35
  from google.api_core.client_options import ClientOptions
36
36
  from google.auth import credentials as ga_credentials # type: ignore
37
37
  from google.oauth2 import service_account # type: ignore
@@ -39,9 +39,9 @@ from google.oauth2 import service_account # type: ignore
39
39
  from google.cloud.container_v1beta1 import gapic_version as package_version
40
40
 
41
41
  try:
42
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
42
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
43
43
  except AttributeError: # pragma: NO COVER
44
- OptionalRetry = Union[retries.Retry, object] # type: ignore
44
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
45
45
 
46
46
  from google.rpc import status_pb2 # type: ignore
47
47
 
@@ -281,7 +281,7 @@ class ClusterManagerAsyncClient:
281
281
  This corresponds to the ``zone`` field
282
282
  on the ``request`` instance; if ``request`` is provided, this
283
283
  should not be set.
284
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
284
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
285
285
  should be retried.
286
286
  timeout (float): The timeout for this request.
287
287
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -316,7 +316,7 @@ class ClusterManagerAsyncClient:
316
316
  # and friendly error handling.
317
317
  rpc = gapic_v1.method_async.wrap_method(
318
318
  self._client._transport.list_clusters,
319
- default_retry=retries.Retry(
319
+ default_retry=retries.AsyncRetry(
320
320
  initial=0.1,
321
321
  maximum=60.0,
322
322
  multiplier=1.3,
@@ -421,7 +421,7 @@ class ClusterManagerAsyncClient:
421
421
  This corresponds to the ``cluster_id`` field
422
422
  on the ``request`` instance; if ``request`` is provided, this
423
423
  should not be set.
424
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
424
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
425
425
  should be retried.
426
426
  timeout (float): The timeout for this request.
427
427
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -456,7 +456,7 @@ class ClusterManagerAsyncClient:
456
456
  # and friendly error handling.
457
457
  rpc = gapic_v1.method_async.wrap_method(
458
458
  self._client._transport.get_cluster,
459
- default_retry=retries.Retry(
459
+ default_retry=retries.AsyncRetry(
460
460
  initial=0.1,
461
461
  maximum=60.0,
462
462
  multiplier=1.3,
@@ -570,7 +570,7 @@ class ClusterManagerAsyncClient:
570
570
  This corresponds to the ``cluster`` field
571
571
  on the ``request`` instance; if ``request`` is provided, this
572
572
  should not be set.
573
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
573
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
574
574
  should be retried.
575
575
  timeout (float): The timeout for this request.
576
576
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -712,7 +712,7 @@ class ClusterManagerAsyncClient:
712
712
  This corresponds to the ``update`` field
713
713
  on the ``request`` instance; if ``request`` is provided, this
714
714
  should not be set.
715
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
715
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
716
716
  should be retried.
717
717
  timeout (float): The timeout for this request.
718
718
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -820,7 +820,7 @@ class ClusterManagerAsyncClient:
820
820
  request (Optional[Union[google.cloud.container_v1beta1.types.UpdateNodePoolRequest, dict]]):
821
821
  The request object. SetNodePoolVersionRequest updates the
822
822
  version of a node pool.
823
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
823
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
824
824
  should be retried.
825
825
  timeout (float): The timeout for this request.
826
826
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -908,7 +908,7 @@ class ClusterManagerAsyncClient:
908
908
  request (Optional[Union[google.cloud.container_v1beta1.types.SetNodePoolAutoscalingRequest, dict]]):
909
909
  The request object. SetNodePoolAutoscalingRequest sets
910
910
  the autoscaler settings of a node pool.
911
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
911
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
912
912
  should be retried.
913
913
  timeout (float): The timeout for this request.
914
914
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1045,7 +1045,7 @@ class ClusterManagerAsyncClient:
1045
1045
  This corresponds to the ``logging_service`` field
1046
1046
  on the ``request`` instance; if ``request`` is provided, this
1047
1047
  should not be set.
1048
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1048
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1049
1049
  should be retried.
1050
1050
  timeout (float): The timeout for this request.
1051
1051
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1206,7 +1206,7 @@ class ClusterManagerAsyncClient:
1206
1206
  This corresponds to the ``monitoring_service`` field
1207
1207
  on the ``request`` instance; if ``request`` is provided, this
1208
1208
  should not be set.
1209
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1209
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1210
1210
  should be retried.
1211
1211
  timeout (float): The timeout for this request.
1212
1212
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1351,7 +1351,7 @@ class ClusterManagerAsyncClient:
1351
1351
  This corresponds to the ``addons_config`` field
1352
1352
  on the ``request`` instance; if ``request`` is provided, this
1353
1353
  should not be set.
1354
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1354
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1355
1355
  should be retried.
1356
1356
  timeout (float): The timeout for this request.
1357
1357
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1505,7 +1505,7 @@ class ClusterManagerAsyncClient:
1505
1505
  This corresponds to the ``locations`` field
1506
1506
  on the ``request`` instance; if ``request`` is provided, this
1507
1507
  should not be set.
1508
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1508
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1509
1509
  should be retried.
1510
1510
  timeout (float): The timeout for this request.
1511
1511
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1669,7 +1669,7 @@ class ClusterManagerAsyncClient:
1669
1669
  This corresponds to the ``master_version`` field
1670
1670
  on the ``request`` instance; if ``request`` is provided, this
1671
1671
  should not be set.
1672
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1672
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1673
1673
  should be retried.
1674
1674
  timeout (float): The timeout for this request.
1675
1675
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1777,7 +1777,7 @@ class ClusterManagerAsyncClient:
1777
1777
  request (Optional[Union[google.cloud.container_v1beta1.types.SetMasterAuthRequest, dict]]):
1778
1778
  The request object. SetMasterAuthRequest updates the
1779
1779
  admin password of a cluster.
1780
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1780
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1781
1781
  should be retried.
1782
1782
  timeout (float): The timeout for this request.
1783
1783
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1902,7 +1902,7 @@ class ClusterManagerAsyncClient:
1902
1902
  This corresponds to the ``cluster_id`` field
1903
1903
  on the ``request`` instance; if ``request`` is provided, this
1904
1904
  should not be set.
1905
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1905
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1906
1906
  should be retried.
1907
1907
  timeout (float): The timeout for this request.
1908
1908
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1941,7 +1941,7 @@ class ClusterManagerAsyncClient:
1941
1941
  # and friendly error handling.
1942
1942
  rpc = gapic_v1.method_async.wrap_method(
1943
1943
  self._client._transport.delete_cluster,
1944
- default_retry=retries.Retry(
1944
+ default_retry=retries.AsyncRetry(
1945
1945
  initial=0.1,
1946
1946
  maximum=60.0,
1947
1947
  multiplier=1.3,
@@ -2037,7 +2037,7 @@ class ClusterManagerAsyncClient:
2037
2037
  This corresponds to the ``zone`` field
2038
2038
  on the ``request`` instance; if ``request`` is provided, this
2039
2039
  should not be set.
2040
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2040
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2041
2041
  should be retried.
2042
2042
  timeout (float): The timeout for this request.
2043
2043
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2072,7 +2072,7 @@ class ClusterManagerAsyncClient:
2072
2072
  # and friendly error handling.
2073
2073
  rpc = gapic_v1.method_async.wrap_method(
2074
2074
  self._client._transport.list_operations,
2075
- default_retry=retries.Retry(
2075
+ default_retry=retries.AsyncRetry(
2076
2076
  initial=0.1,
2077
2077
  maximum=60.0,
2078
2078
  multiplier=1.3,
@@ -2176,7 +2176,7 @@ class ClusterManagerAsyncClient:
2176
2176
  This corresponds to the ``operation_id`` field
2177
2177
  on the ``request`` instance; if ``request`` is provided, this
2178
2178
  should not be set.
2179
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2179
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2180
2180
  should be retried.
2181
2181
  timeout (float): The timeout for this request.
2182
2182
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2215,7 +2215,7 @@ class ClusterManagerAsyncClient:
2215
2215
  # and friendly error handling.
2216
2216
  rpc = gapic_v1.method_async.wrap_method(
2217
2217
  self._client._transport.get_operation,
2218
- default_retry=retries.Retry(
2218
+ default_retry=retries.AsyncRetry(
2219
2219
  initial=0.1,
2220
2220
  maximum=60.0,
2221
2221
  multiplier=1.3,
@@ -2316,7 +2316,7 @@ class ClusterManagerAsyncClient:
2316
2316
  This corresponds to the ``operation_id`` field
2317
2317
  on the ``request`` instance; if ``request`` is provided, this
2318
2318
  should not be set.
2319
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2319
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2320
2320
  should be retried.
2321
2321
  timeout (float): The timeout for this request.
2322
2322
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2429,7 +2429,7 @@ class ClusterManagerAsyncClient:
2429
2429
  This corresponds to the ``zone`` field
2430
2430
  on the ``request`` instance; if ``request`` is provided, this
2431
2431
  should not be set.
2432
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2432
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2433
2433
  should be retried.
2434
2434
  timeout (float): The timeout for this request.
2435
2435
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2464,7 +2464,7 @@ class ClusterManagerAsyncClient:
2464
2464
  # and friendly error handling.
2465
2465
  rpc = gapic_v1.method_async.wrap_method(
2466
2466
  self._client._transport.get_server_config,
2467
- default_retry=retries.Retry(
2467
+ default_retry=retries.AsyncRetry(
2468
2468
  initial=0.1,
2469
2469
  maximum=60.0,
2470
2470
  multiplier=1.3,
@@ -2540,7 +2540,7 @@ class ClusterManagerAsyncClient:
2540
2540
  will be the jwks_uri for the discover document returned
2541
2541
  by getOpenIDConfig. See the OpenID Connect Discovery 1.0
2542
2542
  specification for details.
2543
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2543
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2544
2544
  should be retried.
2545
2545
  timeout (float): The timeout for this request.
2546
2546
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2654,7 +2654,7 @@ class ClusterManagerAsyncClient:
2654
2654
  This corresponds to the ``cluster_id`` field
2655
2655
  on the ``request`` instance; if ``request`` is provided, this
2656
2656
  should not be set.
2657
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2657
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2658
2658
  should be retried.
2659
2659
  timeout (float): The timeout for this request.
2660
2660
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2691,7 +2691,7 @@ class ClusterManagerAsyncClient:
2691
2691
  # and friendly error handling.
2692
2692
  rpc = gapic_v1.method_async.wrap_method(
2693
2693
  self._client._transport.list_node_pools,
2694
- default_retry=retries.Retry(
2694
+ default_retry=retries.AsyncRetry(
2695
2695
  initial=0.1,
2696
2696
  maximum=60.0,
2697
2697
  multiplier=1.3,
@@ -2806,7 +2806,7 @@ class ClusterManagerAsyncClient:
2806
2806
  This corresponds to the ``node_pool_id`` field
2807
2807
  on the ``request`` instance; if ``request`` is provided, this
2808
2808
  should not be set.
2809
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2809
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2810
2810
  should be retried.
2811
2811
  timeout (float): The timeout for this request.
2812
2812
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2853,7 +2853,7 @@ class ClusterManagerAsyncClient:
2853
2853
  # and friendly error handling.
2854
2854
  rpc = gapic_v1.method_async.wrap_method(
2855
2855
  self._client._transport.get_node_pool,
2856
- default_retry=retries.Retry(
2856
+ default_retry=retries.AsyncRetry(
2857
2857
  initial=0.1,
2858
2858
  maximum=60.0,
2859
2859
  multiplier=1.3,
@@ -2963,7 +2963,7 @@ class ClusterManagerAsyncClient:
2963
2963
  This corresponds to the ``node_pool`` field
2964
2964
  on the ``request`` instance; if ``request`` is provided, this
2965
2965
  should not be set.
2966
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2966
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2967
2967
  should be retried.
2968
2968
  timeout (float): The timeout for this request.
2969
2969
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3109,7 +3109,7 @@ class ClusterManagerAsyncClient:
3109
3109
  This corresponds to the ``node_pool_id`` field
3110
3110
  on the ``request`` instance; if ``request`` is provided, this
3111
3111
  should not be set.
3112
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3112
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3113
3113
  should be retried.
3114
3114
  timeout (float): The timeout for this request.
3115
3115
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3150,7 +3150,7 @@ class ClusterManagerAsyncClient:
3150
3150
  # and friendly error handling.
3151
3151
  rpc = gapic_v1.method_async.wrap_method(
3152
3152
  self._client._transport.delete_node_pool,
3153
- default_retry=retries.Retry(
3153
+ default_retry=retries.AsyncRetry(
3154
3154
  initial=0.1,
3155
3155
  maximum=60.0,
3156
3156
  multiplier=1.3,
@@ -3221,7 +3221,7 @@ class ClusterManagerAsyncClient:
3221
3221
  The request object. CompleteNodePoolUpgradeRequest sets
3222
3222
  the name of target node pool to complete
3223
3223
  upgrade.
3224
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3224
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3225
3225
  should be retried.
3226
3226
  timeout (float): The timeout for this request.
3227
3227
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3344,7 +3344,7 @@ class ClusterManagerAsyncClient:
3344
3344
  This corresponds to the ``node_pool_id`` field
3345
3345
  on the ``request`` instance; if ``request`` is provided, this
3346
3346
  should not be set.
3347
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3347
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3348
3348
  should be retried.
3349
3349
  timeout (float): The timeout for this request.
3350
3350
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3502,7 +3502,7 @@ class ClusterManagerAsyncClient:
3502
3502
  This corresponds to the ``management`` field
3503
3503
  on the ``request`` instance; if ``request`` is provided, this
3504
3504
  should not be set.
3505
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3505
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3506
3506
  should be retried.
3507
3507
  timeout (float): The timeout for this request.
3508
3508
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3667,7 +3667,7 @@ class ClusterManagerAsyncClient:
3667
3667
  This corresponds to the ``label_fingerprint`` field
3668
3668
  on the ``request`` instance; if ``request`` is provided, this
3669
3669
  should not be set.
3670
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3670
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3671
3671
  should be retried.
3672
3672
  timeout (float): The timeout for this request.
3673
3673
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3819,7 +3819,7 @@ class ClusterManagerAsyncClient:
3819
3819
  This corresponds to the ``enabled`` field
3820
3820
  on the ``request`` instance; if ``request`` is provided, this
3821
3821
  should not be set.
3822
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3822
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3823
3823
  should be retried.
3824
3824
  timeout (float): The timeout for this request.
3825
3825
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3956,7 +3956,7 @@ class ClusterManagerAsyncClient:
3956
3956
  This corresponds to the ``cluster_id`` field
3957
3957
  on the ``request`` instance; if ``request`` is provided, this
3958
3958
  should not be set.
3959
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3959
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3960
3960
  should be retried.
3961
3961
  timeout (float): The timeout for this request.
3962
3962
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4091,7 +4091,7 @@ class ClusterManagerAsyncClient:
4091
4091
  This corresponds to the ``cluster_id`` field
4092
4092
  on the ``request`` instance; if ``request`` is provided, this
4093
4093
  should not be set.
4094
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4094
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4095
4095
  should be retried.
4096
4096
  timeout (float): The timeout for this request.
4097
4097
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4198,7 +4198,7 @@ class ClusterManagerAsyncClient:
4198
4198
  request (Optional[Union[google.cloud.container_v1beta1.types.SetNodePoolSizeRequest, dict]]):
4199
4199
  The request object. SetNodePoolSizeRequest sets the size
4200
4200
  of a node pool.
4201
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4201
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4202
4202
  should be retried.
4203
4203
  timeout (float): The timeout for this request.
4204
4204
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4322,7 +4322,7 @@ class ClusterManagerAsyncClient:
4322
4322
  This corresponds to the ``network_policy`` field
4323
4323
  on the ``request`` instance; if ``request`` is provided, this
4324
4324
  should not be set.
4325
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4325
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4326
4326
  should be retried.
4327
4327
  timeout (float): The timeout for this request.
4328
4328
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4463,7 +4463,7 @@ class ClusterManagerAsyncClient:
4463
4463
  This corresponds to the ``maintenance_policy`` field
4464
4464
  on the ``request`` instance; if ``request`` is provided, this
4465
4465
  should not be set.
4466
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4466
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4467
4467
  should be retried.
4468
4468
  timeout (float): The timeout for this request.
4469
4469
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4579,7 +4579,7 @@ class ClusterManagerAsyncClient:
4579
4579
  This corresponds to the ``parent`` field
4580
4580
  on the ``request`` instance; if ``request`` is provided, this
4581
4581
  should not be set.
4582
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4582
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4583
4583
  should be retried.
4584
4584
  timeout (float): The timeout for this request.
4585
4585
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4617,7 +4617,7 @@ class ClusterManagerAsyncClient:
4617
4617
  # and friendly error handling.
4618
4618
  rpc = gapic_v1.method_async.wrap_method(
4619
4619
  self._client._transport.list_usable_subnetworks,
4620
- default_retry=retries.Retry(
4620
+ default_retry=retries.AsyncRetry(
4621
4621
  initial=0.1,
4622
4622
  maximum=60.0,
4623
4623
  multiplier=1.3,
@@ -4700,7 +4700,7 @@ class ClusterManagerAsyncClient:
4700
4700
  The request object. CheckAutopilotCompatibilityRequest
4701
4701
  requests getting the blockers for the
4702
4702
  given operation in the cluster.
4703
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4703
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4704
4704
  should be retried.
4705
4705
  timeout (float): The timeout for this request.
4706
4706
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4789,7 +4789,7 @@ class ClusterManagerAsyncClient:
4789
4789
  This corresponds to the ``parent`` field
4790
4790
  on the ``request`` instance; if ``request`` is provided, this
4791
4791
  should not be set.
4792
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
4792
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
4793
4793
  should be retried.
4794
4794
  timeout (float): The timeout for this request.
4795
4795
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -4823,7 +4823,7 @@ class ClusterManagerAsyncClient:
4823
4823
  # and friendly error handling.
4824
4824
  rpc = gapic_v1.method_async.wrap_method(
4825
4825
  self._client._transport.list_locations,
4826
- default_retry=retries.Retry(
4826
+ default_retry=retries.AsyncRetry(
4827
4827
  initial=0.1,
4828
4828
  maximum=60.0,
4829
4829
  multiplier=1.3,
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.35.0
3
+ Version: 2.36.0rc0
4
4
  Summary: Google Cloud Container API client library
5
- Home-page: https://github.com/googleapis/google-cloud-python
5
+ Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -17,13 +17,13 @@ Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
20
21
  Classifier: Operating System :: OS Independent
21
22
  Classifier: Topic :: Internet
22
23
  Requires-Python: >=3.7
23
24
  License-File: LICENSE
24
25
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
25
- Requires-Dist: proto-plus<2.0.0dev,>=1.22.0
26
- Requires-Dist: proto-plus<2.0.0dev,>=1.22.2; python_version >= "3.11"
26
+ Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
27
27
  Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
28
28
 
29
29
  Python Client for Kubernetes Engine
@@ -39,7 +39,6 @@ google/cloud/container_v1beta1/types/cluster_service.py
39
39
  google_cloud_container.egg-info/PKG-INFO
40
40
  google_cloud_container.egg-info/SOURCES.txt
41
41
  google_cloud_container.egg-info/dependency_links.txt
42
- google_cloud_container.egg-info/namespace_packages.txt
43
42
  google_cloud_container.egg-info/not-zip-safe
44
43
  google_cloud_container.egg-info/requires.txt
45
44
  google_cloud_container.egg-info/top_level.txt
@@ -1,6 +1,3 @@
1
1
  google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
2
- proto-plus<2.0.0dev,>=1.22.0
2
+ proto-plus<2.0.0dev,>=1.22.3
3
3
  protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
4
-
5
- [:python_version >= "3.11"]
6
- proto-plus<2.0.0dev,>=1.22.2
@@ -15,6 +15,7 @@
15
15
  #
16
16
  import io
17
17
  import os
18
+ import re
18
19
 
19
20
  import setuptools # type: ignore
20
21
 
@@ -25,10 +26,12 @@ name = "google-cloud-container"
25
26
 
26
27
  description = "Google Cloud Container API client library"
27
28
 
28
- version = {}
29
+ version = None
30
+
29
31
  with open(os.path.join(package_root, "google/cloud/container/gapic_version.py")) as fp:
30
- exec(fp.read(), version)
31
- version = version["__version__"]
32
+ version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+rc\d+", fp.read())
33
+ assert len(version_candidates) == 1
34
+ version = version_candidates[0]
32
35
 
33
36
  if version[0] == "0":
34
37
  release_status = "Development Status :: 4 - Beta"
@@ -37,11 +40,10 @@ else:
37
40
 
38
41
  dependencies = [
39
42
  "google-api-core[grpc] >= 1.34.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
40
- "proto-plus >= 1.22.0, <2.0.0dev",
41
- "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
43
+ "proto-plus >= 1.22.3, <2.0.0dev",
42
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",
43
45
  ]
44
- url = "https://github.com/googleapis/google-cloud-python"
46
+ url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container"
45
47
 
46
48
  package_root = os.path.abspath(os.path.dirname(__file__))
47
49
 
@@ -51,12 +53,10 @@ with io.open(readme_filename, encoding="utf-8") as readme_file:
51
53
 
52
54
  packages = [
53
55
  package
54
- for package in setuptools.PEP420PackageFinder.find()
56
+ for package in setuptools.find_namespace_packages()
55
57
  if package.startswith("google")
56
58
  ]
57
59
 
58
- namespaces = ["google", "google.cloud"]
59
-
60
60
  setuptools.setup(
61
61
  name=name,
62
62
  version=version,
@@ -77,13 +77,13 @@ setuptools.setup(
77
77
  "Programming Language :: Python :: 3.9",
78
78
  "Programming Language :: Python :: 3.10",
79
79
  "Programming Language :: Python :: 3.11",
80
+ "Programming Language :: Python :: 3.12",
80
81
  "Operating System :: OS Independent",
81
82
  "Topic :: Internet",
82
83
  ],
83
84
  platforms="Posix; MacOS X; Windows",
84
85
  packages=packages,
85
86
  python_requires=">=3.7",
86
- namespace_packages=namespaces,
87
87
  install_requires=dependencies,
88
88
  include_package_data=True,
89
89
  zip_safe=False,