google-cloud-container 2.63.0__tar.gz → 2.65.0__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 (60) hide show
  1. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/MANIFEST.in +1 -1
  2. {google_cloud_container-2.63.0/google_cloud_container.egg-info → google_cloud_container-2.65.0}/PKG-INFO +11 -12
  3. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/README.rst +5 -3
  4. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container/__init__.py +25 -1
  5. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container/gapic_version.py +2 -2
  6. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/__init__.py +28 -20
  7. {google_cloud_container-2.63.0/google/cloud/container_v1beta1 → google_cloud_container-2.65.0/google/cloud/container_v1}/gapic_version.py +2 -2
  8. {google_cloud_container-2.63.0/google/cloud/container_v1beta1 → google_cloud_container-2.65.0/google/cloud/container_v1}/services/__init__.py +1 -1
  9. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +1 -1
  10. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +21 -15
  11. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/client.py +27 -28
  12. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +3 -3
  13. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +1 -1
  14. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +15 -5
  15. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +44 -40
  16. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +43 -39
  17. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/rest.py +54 -73
  18. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/services/cluster_manager/transports/rest_base.py +2 -2
  19. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/types/__init__.py +25 -1
  20. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/types/cluster_service.py +1085 -133
  21. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/__init__.py +32 -20
  22. {google_cloud_container-2.63.0/google/cloud/container_v1 → google_cloud_container-2.65.0/google/cloud/container_v1beta1}/gapic_version.py +2 -2
  23. {google_cloud_container-2.63.0/tests → google_cloud_container-2.65.0/google/cloud/container_v1beta1/services}/__init__.py +1 -1
  24. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +1 -1
  25. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +21 -15
  26. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +27 -28
  27. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +3 -3
  28. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +1 -1
  29. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +15 -5
  30. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +50 -46
  31. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +49 -45
  32. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/types/__init__.py +29 -1
  33. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/types/cluster_service.py +1186 -150
  34. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0/google_cloud_container.egg-info}/PKG-INFO +11 -12
  35. google_cloud_container-2.65.0/google_cloud_container.egg-info/requires.txt +11 -0
  36. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/setup.py +6 -9
  37. {google_cloud_container-2.63.0/tests/unit → google_cloud_container-2.65.0/tests}/__init__.py +1 -1
  38. {google_cloud_container-2.63.0/google/cloud/container_v1/services → google_cloud_container-2.65.0/tests/unit}/__init__.py +1 -1
  39. google_cloud_container-2.65.0/tests/unit/gapic/__init__.py +15 -0
  40. google_cloud_container-2.65.0/tests/unit/gapic/container_v1/__init__.py +15 -0
  41. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +1306 -1206
  42. google_cloud_container-2.65.0/tests/unit/gapic/container_v1beta1/__init__.py +15 -0
  43. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +683 -664
  44. google_cloud_container-2.63.0/google_cloud_container.egg-info/requires.txt +0 -11
  45. google_cloud_container-2.63.0/tests/unit/gapic/__init__.py +0 -15
  46. google_cloud_container-2.63.0/tests/unit/gapic/container_v1/__init__.py +0 -15
  47. google_cloud_container-2.63.0/tests/unit/gapic/container_v1beta1/__init__.py +0 -15
  48. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/LICENSE +0 -0
  49. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container/py.typed +0 -0
  50. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
  51. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1/py.typed +0 -0
  52. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
  53. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google/cloud/container_v1beta1/py.typed +0 -0
  54. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
  55. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
  56. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
  57. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/google_cloud_container.egg-info/top_level.txt +0 -0
  58. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/setup.cfg +0 -0
  59. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/tests/system/__init__.py +0 -0
  60. {google_cloud_container-2.63.0 → google_cloud_container-2.65.0}/tests/system/smoke_test.py +0 -0
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,20 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-container
3
- Version: 2.63.0
3
+ Version: 2.65.0
4
4
  Summary: Google Cloud Container API client library
5
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
- License: Apache 2.0
8
+ License: Apache-2.0
9
9
  Platform: Posix; MacOS X; Windows
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.7
16
- Classifier: Programming Language :: Python :: 3.8
17
- Classifier: Programming Language :: Python :: 3.9
18
15
  Classifier: Programming Language :: Python :: 3.10
19
16
  Classifier: Programming Language :: Python :: 3.11
20
17
  Classifier: Programming Language :: Python :: 3.12
@@ -22,15 +19,15 @@ Classifier: Programming Language :: Python :: 3.13
22
19
  Classifier: Programming Language :: Python :: 3.14
23
20
  Classifier: Operating System :: OS Independent
24
21
  Classifier: Topic :: Internet
25
- Requires-Python: >=3.7
22
+ Requires-Python: >=3.10
26
23
  License-File: LICENSE
27
- 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.0,>=1.34.1
24
+ Requires-Dist: google-api-core[grpc]<3.0.0,>=2.17.1
28
25
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
- Requires-Dist: grpcio<2.0.0,>=1.33.2
26
+ Requires-Dist: grpcio<2.0.0,>=1.59.0
30
27
  Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
31
28
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
32
29
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
33
- Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
30
+ Requires-Dist: protobuf<8.0.0,>=4.25.8
34
31
  Dynamic: author
35
32
  Dynamic: author-email
36
33
  Dynamic: classifier
@@ -48,7 +45,8 @@ Python Client for Kubernetes Engine
48
45
 
49
46
  |stable| |pypi| |versions|
50
47
 
51
- `Kubernetes Engine`_: The Google Kubernetes Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
48
+ `Kubernetes Engine`_: Builds and manages container-based applications, powered by the open source
49
+ Kubernetes technology.
52
50
 
53
51
  - `Client Library Documentation`_
54
52
  - `Product Documentation`_
@@ -106,14 +104,15 @@ Supported Python Versions
106
104
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
107
105
  Python.
108
106
 
109
- Python >= 3.7, including 3.14
107
+ Python >= 3.10, including 3.14
110
108
 
111
109
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
112
110
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
113
111
 
114
112
  Unsupported Python Versions
115
113
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
116
- Python <= 3.6
114
+ Python <= 3.9
115
+
117
116
 
118
117
  If you are using an `end-of-life`_
119
118
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -3,7 +3,8 @@ Python Client for Kubernetes Engine
3
3
 
4
4
  |stable| |pypi| |versions|
5
5
 
6
- `Kubernetes Engine`_: The Google Kubernetes Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.
6
+ `Kubernetes Engine`_: Builds and manages container-based applications, powered by the open source
7
+ Kubernetes technology.
7
8
 
8
9
  - `Client Library Documentation`_
9
10
  - `Product Documentation`_
@@ -61,14 +62,15 @@ Supported Python Versions
61
62
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
63
  Python.
63
64
 
64
- Python >= 3.7, including 3.14
65
+ Python >= 3.10, including 3.14
65
66
 
66
67
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
68
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
68
69
 
69
70
  Unsupported Python Versions
70
71
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
- Python <= 3.6
72
+ Python <= 3.9
73
+
72
74
 
73
75
  If you are using an `end-of-life`_
74
76
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -52,6 +52,7 @@ from google.cloud.container_v1.types.cluster_service import (
52
52
  CloudRunConfig,
53
53
  Cluster,
54
54
  ClusterAutoscaling,
55
+ ClusterPolicyConfig,
55
56
  ClusterUpdate,
56
57
  ClusterUpgradeInfo,
57
58
  CompleteIPRotationRequest,
@@ -60,6 +61,7 @@ from google.cloud.container_v1.types.cluster_service import (
60
61
  ConfidentialNodes,
61
62
  ConfigConnectorConfig,
62
63
  ContainerdConfig,
64
+ ControlPlaneEgress,
63
65
  ControlPlaneEndpointsConfig,
64
66
  CostManagementConfig,
65
67
  CreateClusterRequest,
@@ -73,6 +75,7 @@ from google.cloud.container_v1.types.cluster_service import (
73
75
  DeleteNodePoolRequest,
74
76
  DesiredAdditionalIPRangesConfig,
75
77
  DesiredEnterpriseConfig,
78
+ DisruptionBudget,
76
79
  DisruptionEvent,
77
80
  DnsCacheConfig,
78
81
  DNSConfig,
@@ -133,6 +136,7 @@ from google.cloud.container_v1.types.cluster_service import (
133
136
  MaintenanceExclusionOptions,
134
137
  MaintenancePolicy,
135
138
  MaintenanceWindow,
139
+ ManagedMachineLearningDiagnosticsConfig,
136
140
  ManagedOpenTelemetryConfig,
137
141
  ManagedPrometheusConfig,
138
142
  MasterAuth,
@@ -149,6 +153,7 @@ from google.cloud.container_v1.types.cluster_service import (
149
153
  NetworkTierConfig,
150
154
  NodeConfig,
151
155
  NodeConfigDefaults,
156
+ NodeCreationConfig,
152
157
  NodeKubeletConfig,
153
158
  NodeLabels,
154
159
  NodeManagement,
@@ -160,6 +165,7 @@ from google.cloud.container_v1.types.cluster_service import (
160
165
  NodePoolLoggingConfig,
161
166
  NodePoolUpdateStrategy,
162
167
  NodePoolUpgradeInfo,
168
+ NodeReadinessConfig,
163
169
  NodeTaint,
164
170
  NodeTaints,
165
171
  NotificationConfig,
@@ -168,6 +174,7 @@ from google.cloud.container_v1.types.cluster_service import (
168
174
  ParallelstoreCsiDriverConfig,
169
175
  PodAutoscaling,
170
176
  PodCIDROverprovisionConfig,
177
+ PodSnapshotConfig,
171
178
  PrivateClusterConfig,
172
179
  PrivateClusterMasterGlobalAccessConfig,
173
180
  PrivateIPv6GoogleAccess,
@@ -177,6 +184,7 @@ from google.cloud.container_v1.types.cluster_service import (
177
184
  RayClusterMonitoringConfig,
178
185
  RayOperatorConfig,
179
186
  RBACBindingConfig,
187
+ RecurringMaintenanceWindow,
180
188
  RecurringTimeWindow,
181
189
  ReleaseChannel,
182
190
  ReservationAffinity,
@@ -186,9 +194,11 @@ from google.cloud.container_v1.types.cluster_service import (
186
194
  ResourceUsageExportConfig,
187
195
  RollbackNodePoolUpgradeRequest,
188
196
  SandboxConfig,
197
+ ScheduleUpgradeConfig,
189
198
  SecondaryBootDisk,
190
199
  SecondaryBootDiskUpdateStrategy,
191
200
  SecretManagerConfig,
201
+ SecretSyncConfig,
192
202
  SecurityBulletinEvent,
193
203
  SecurityPostureConfig,
194
204
  ServerConfig,
@@ -208,11 +218,13 @@ from google.cloud.container_v1.types.cluster_service import (
208
218
  ShieldedInstanceConfig,
209
219
  ShieldedNodes,
210
220
  SliceControllerConfig,
221
+ SlurmOperatorConfig,
211
222
  SoleTenantConfig,
212
223
  StackType,
213
224
  StartIPRotationRequest,
214
225
  StatefulHAConfig,
215
226
  StatusCondition,
227
+ TaintConfig,
216
228
  TimeWindow,
217
229
  TopologyManager,
218
230
  UpdateClusterRequest,
@@ -264,6 +276,7 @@ __all__ = (
264
276
  "CloudRunConfig",
265
277
  "Cluster",
266
278
  "ClusterAutoscaling",
279
+ "ClusterPolicyConfig",
267
280
  "ClusterUpdate",
268
281
  "ClusterUpgradeInfo",
269
282
  "CompleteIPRotationRequest",
@@ -272,6 +285,7 @@ __all__ = (
272
285
  "ConfidentialNodes",
273
286
  "ConfigConnectorConfig",
274
287
  "ContainerdConfig",
288
+ "ControlPlaneEgress",
275
289
  "ControlPlaneEndpointsConfig",
276
290
  "CostManagementConfig",
277
291
  "CreateClusterRequest",
@@ -284,6 +298,7 @@ __all__ = (
284
298
  "DeleteNodePoolRequest",
285
299
  "DesiredAdditionalIPRangesConfig",
286
300
  "DesiredEnterpriseConfig",
301
+ "DisruptionBudget",
287
302
  "DisruptionEvent",
288
303
  "DnsCacheConfig",
289
304
  "DNSConfig",
@@ -342,6 +357,7 @@ __all__ = (
342
357
  "MaintenanceExclusionOptions",
343
358
  "MaintenancePolicy",
344
359
  "MaintenanceWindow",
360
+ "ManagedMachineLearningDiagnosticsConfig",
345
361
  "ManagedOpenTelemetryConfig",
346
362
  "ManagedPrometheusConfig",
347
363
  "MasterAuth",
@@ -358,6 +374,7 @@ __all__ = (
358
374
  "NetworkTierConfig",
359
375
  "NodeConfig",
360
376
  "NodeConfigDefaults",
377
+ "NodeCreationConfig",
361
378
  "NodeKubeletConfig",
362
379
  "NodeLabels",
363
380
  "NodeManagement",
@@ -368,6 +385,7 @@ __all__ = (
368
385
  "NodePoolDefaults",
369
386
  "NodePoolLoggingConfig",
370
387
  "NodePoolUpgradeInfo",
388
+ "NodeReadinessConfig",
371
389
  "NodeTaint",
372
390
  "NodeTaints",
373
391
  "NotificationConfig",
@@ -376,6 +394,7 @@ __all__ = (
376
394
  "ParallelstoreCsiDriverConfig",
377
395
  "PodAutoscaling",
378
396
  "PodCIDROverprovisionConfig",
397
+ "PodSnapshotConfig",
379
398
  "PrivateClusterConfig",
380
399
  "PrivateClusterMasterGlobalAccessConfig",
381
400
  "PrivilegedAdmissionConfig",
@@ -384,6 +403,7 @@ __all__ = (
384
403
  "RayClusterMonitoringConfig",
385
404
  "RayOperatorConfig",
386
405
  "RBACBindingConfig",
406
+ "RecurringMaintenanceWindow",
387
407
  "RecurringTimeWindow",
388
408
  "ReleaseChannel",
389
409
  "ReservationAffinity",
@@ -393,9 +413,11 @@ __all__ = (
393
413
  "ResourceUsageExportConfig",
394
414
  "RollbackNodePoolUpgradeRequest",
395
415
  "SandboxConfig",
416
+ "ScheduleUpgradeConfig",
396
417
  "SecondaryBootDisk",
397
418
  "SecondaryBootDiskUpdateStrategy",
398
419
  "SecretManagerConfig",
420
+ "SecretSyncConfig",
399
421
  "SecurityBulletinEvent",
400
422
  "SecurityPostureConfig",
401
423
  "ServerConfig",
@@ -415,10 +437,12 @@ __all__ = (
415
437
  "ShieldedInstanceConfig",
416
438
  "ShieldedNodes",
417
439
  "SliceControllerConfig",
440
+ "SlurmOperatorConfig",
418
441
  "SoleTenantConfig",
419
442
  "StartIPRotationRequest",
420
443
  "StatefulHAConfig",
421
444
  "StatusCondition",
445
+ "TaintConfig",
422
446
  "TimeWindow",
423
447
  "TopologyManager",
424
448
  "UpdateClusterRequest",
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.63.0" # {x-release-please-version}
16
+ __version__ = "2.65.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -21,12 +21,7 @@ from google.cloud.container_v1 import gapic_version as package_version
21
21
 
22
22
  __version__ = package_version.__version__
23
23
 
24
- if sys.version_info >= (3, 8): # pragma: NO COVER
25
- from importlib import metadata
26
- else: # pragma: NO COVER
27
- # TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
28
- # this code path once we drop support for Python 3.7
29
- import importlib_metadata as metadata
24
+ from importlib import metadata
30
25
 
31
26
  from .services.cluster_manager import ClusterManagerAsyncClient, ClusterManagerClient
32
27
  from .types.cluster_service import (
@@ -57,6 +52,7 @@ from .types.cluster_service import (
57
52
  CloudRunConfig,
58
53
  Cluster,
59
54
  ClusterAutoscaling,
55
+ ClusterPolicyConfig,
60
56
  ClusterUpdate,
61
57
  ClusterUpgradeInfo,
62
58
  CompleteIPRotationRequest,
@@ -65,6 +61,7 @@ from .types.cluster_service import (
65
61
  ConfidentialNodes,
66
62
  ConfigConnectorConfig,
67
63
  ContainerdConfig,
64
+ ControlPlaneEgress,
68
65
  ControlPlaneEndpointsConfig,
69
66
  CostManagementConfig,
70
67
  CreateClusterRequest,
@@ -78,6 +75,7 @@ from .types.cluster_service import (
78
75
  DeleteNodePoolRequest,
79
76
  DesiredAdditionalIPRangesConfig,
80
77
  DesiredEnterpriseConfig,
78
+ DisruptionBudget,
81
79
  DisruptionEvent,
82
80
  DnsCacheConfig,
83
81
  DNSConfig,
@@ -138,6 +136,7 @@ from .types.cluster_service import (
138
136
  MaintenanceExclusionOptions,
139
137
  MaintenancePolicy,
140
138
  MaintenanceWindow,
139
+ ManagedMachineLearningDiagnosticsConfig,
141
140
  ManagedOpenTelemetryConfig,
142
141
  ManagedPrometheusConfig,
143
142
  MasterAuth,
@@ -154,6 +153,7 @@ from .types.cluster_service import (
154
153
  NetworkTierConfig,
155
154
  NodeConfig,
156
155
  NodeConfigDefaults,
156
+ NodeCreationConfig,
157
157
  NodeKubeletConfig,
158
158
  NodeLabels,
159
159
  NodeManagement,
@@ -165,6 +165,7 @@ from .types.cluster_service import (
165
165
  NodePoolLoggingConfig,
166
166
  NodePoolUpdateStrategy,
167
167
  NodePoolUpgradeInfo,
168
+ NodeReadinessConfig,
168
169
  NodeTaint,
169
170
  NodeTaints,
170
171
  NotificationConfig,
@@ -173,6 +174,7 @@ from .types.cluster_service import (
173
174
  ParallelstoreCsiDriverConfig,
174
175
  PodAutoscaling,
175
176
  PodCIDROverprovisionConfig,
177
+ PodSnapshotConfig,
176
178
  PrivateClusterConfig,
177
179
  PrivateClusterMasterGlobalAccessConfig,
178
180
  PrivateIPv6GoogleAccess,
@@ -182,6 +184,7 @@ from .types.cluster_service import (
182
184
  RayClusterMonitoringConfig,
183
185
  RayOperatorConfig,
184
186
  RBACBindingConfig,
187
+ RecurringMaintenanceWindow,
185
188
  RecurringTimeWindow,
186
189
  ReleaseChannel,
187
190
  ReservationAffinity,
@@ -191,9 +194,11 @@ from .types.cluster_service import (
191
194
  ResourceUsageExportConfig,
192
195
  RollbackNodePoolUpgradeRequest,
193
196
  SandboxConfig,
197
+ ScheduleUpgradeConfig,
194
198
  SecondaryBootDisk,
195
199
  SecondaryBootDiskUpdateStrategy,
196
200
  SecretManagerConfig,
201
+ SecretSyncConfig,
197
202
  SecurityBulletinEvent,
198
203
  SecurityPostureConfig,
199
204
  ServerConfig,
@@ -213,11 +218,13 @@ from .types.cluster_service import (
213
218
  ShieldedInstanceConfig,
214
219
  ShieldedNodes,
215
220
  SliceControllerConfig,
221
+ SlurmOperatorConfig,
216
222
  SoleTenantConfig,
217
223
  StackType,
218
224
  StartIPRotationRequest,
219
225
  StatefulHAConfig,
220
226
  StatusCondition,
227
+ TaintConfig,
221
228
  TimeWindow,
222
229
  TopologyManager,
223
230
  UpdateClusterRequest,
@@ -248,28 +255,17 @@ else: # pragma: NO COVER
248
255
  # An older version of api_core is installed which does not define the
249
256
  # functions above. We do equivalent checks manually.
250
257
  try:
251
- import sys
252
258
  import warnings
253
259
 
254
260
  _py_version_str = sys.version.split()[0]
255
261
  _package_label = "google.cloud.container_v1"
256
- if sys.version_info < (3, 9):
262
+ if sys.version_info < (3, 10):
257
263
  warnings.warn(
258
264
  "You are using a non-supported Python version "
259
265
  + f"({_py_version_str}). Google will not post any further "
260
266
  + f"updates to {_package_label} supporting this Python version. "
261
267
  + "Please upgrade to the latest Python version, or at "
262
- + f"least to Python 3.9, and then update {_package_label}.",
263
- FutureWarning,
264
- )
265
- if sys.version_info[:2] == (3, 9):
266
- warnings.warn(
267
- f"You are using a Python version ({_py_version_str}) "
268
- + f"which Google will stop supporting in {_package_label} in "
269
- + "January 2026. Please "
270
- + "upgrade to the latest Python version, or at "
271
- + "least to Python 3.10, before then, and "
272
- + f"then update {_package_label}.",
268
+ + f"least to Python 3.10, and then update {_package_label}.",
273
269
  FutureWarning,
274
270
  )
275
271
 
@@ -363,6 +359,7 @@ __all__ = (
363
359
  "Cluster",
364
360
  "ClusterAutoscaling",
365
361
  "ClusterManagerClient",
362
+ "ClusterPolicyConfig",
366
363
  "ClusterUpdate",
367
364
  "ClusterUpgradeInfo",
368
365
  "CompleteIPRotationRequest",
@@ -371,6 +368,7 @@ __all__ = (
371
368
  "ConfidentialNodes",
372
369
  "ConfigConnectorConfig",
373
370
  "ContainerdConfig",
371
+ "ControlPlaneEgress",
374
372
  "ControlPlaneEndpointsConfig",
375
373
  "CostManagementConfig",
376
374
  "CreateClusterRequest",
@@ -385,6 +383,7 @@ __all__ = (
385
383
  "DeleteNodePoolRequest",
386
384
  "DesiredAdditionalIPRangesConfig",
387
385
  "DesiredEnterpriseConfig",
386
+ "DisruptionBudget",
388
387
  "DisruptionEvent",
389
388
  "DnsCacheConfig",
390
389
  "EnterpriseConfig",
@@ -444,6 +443,7 @@ __all__ = (
444
443
  "MaintenanceExclusionOptions",
445
444
  "MaintenancePolicy",
446
445
  "MaintenanceWindow",
446
+ "ManagedMachineLearningDiagnosticsConfig",
447
447
  "ManagedOpenTelemetryConfig",
448
448
  "ManagedPrometheusConfig",
449
449
  "MasterAuth",
@@ -460,6 +460,7 @@ __all__ = (
460
460
  "NetworkTierConfig",
461
461
  "NodeConfig",
462
462
  "NodeConfigDefaults",
463
+ "NodeCreationConfig",
463
464
  "NodeKubeletConfig",
464
465
  "NodeLabels",
465
466
  "NodeManagement",
@@ -471,6 +472,7 @@ __all__ = (
471
472
  "NodePoolLoggingConfig",
472
473
  "NodePoolUpdateStrategy",
473
474
  "NodePoolUpgradeInfo",
475
+ "NodeReadinessConfig",
474
476
  "NodeTaint",
475
477
  "NodeTaints",
476
478
  "NotificationConfig",
@@ -479,6 +481,7 @@ __all__ = (
479
481
  "ParallelstoreCsiDriverConfig",
480
482
  "PodAutoscaling",
481
483
  "PodCIDROverprovisionConfig",
484
+ "PodSnapshotConfig",
482
485
  "PrivateClusterConfig",
483
486
  "PrivateClusterMasterGlobalAccessConfig",
484
487
  "PrivateIPv6GoogleAccess",
@@ -488,6 +491,7 @@ __all__ = (
488
491
  "RayClusterLoggingConfig",
489
492
  "RayClusterMonitoringConfig",
490
493
  "RayOperatorConfig",
494
+ "RecurringMaintenanceWindow",
491
495
  "RecurringTimeWindow",
492
496
  "ReleaseChannel",
493
497
  "ReservationAffinity",
@@ -497,9 +501,11 @@ __all__ = (
497
501
  "ResourceUsageExportConfig",
498
502
  "RollbackNodePoolUpgradeRequest",
499
503
  "SandboxConfig",
504
+ "ScheduleUpgradeConfig",
500
505
  "SecondaryBootDisk",
501
506
  "SecondaryBootDiskUpdateStrategy",
502
507
  "SecretManagerConfig",
508
+ "SecretSyncConfig",
503
509
  "SecurityBulletinEvent",
504
510
  "SecurityPostureConfig",
505
511
  "ServerConfig",
@@ -519,11 +525,13 @@ __all__ = (
519
525
  "ShieldedInstanceConfig",
520
526
  "ShieldedNodes",
521
527
  "SliceControllerConfig",
528
+ "SlurmOperatorConfig",
522
529
  "SoleTenantConfig",
523
530
  "StackType",
524
531
  "StartIPRotationRequest",
525
532
  "StatefulHAConfig",
526
533
  "StatusCondition",
534
+ "TaintConfig",
527
535
  "TimeWindow",
528
536
  "TopologyManager",
529
537
  "UpdateClusterRequest",
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.63.0" # {x-release-please-version}
16
+ __version__ = "2.65.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -13,9 +13,10 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- from collections import OrderedDict
17
16
  import logging as std_logging
18
17
  import re
18
+ import warnings
19
+ from collections import OrderedDict
19
20
  from typing import (
20
21
  Callable,
21
22
  Dict,
@@ -28,15 +29,14 @@ from typing import (
28
29
  Type,
29
30
  Union,
30
31
  )
31
- import warnings
32
32
 
33
+ import google.protobuf
33
34
  from google.api_core import exceptions as core_exceptions
34
35
  from google.api_core import gapic_v1
35
36
  from google.api_core import retry_async as retries
36
37
  from google.api_core.client_options import ClientOptions
37
38
  from google.auth import credentials as ga_credentials # type: ignore
38
39
  from google.oauth2 import service_account # type: ignore
39
- import google.protobuf
40
40
 
41
41
  from google.cloud.container_v1 import gapic_version as package_version
42
42
 
@@ -45,7 +45,7 @@ try:
45
45
  except AttributeError: # pragma: NO COVER
46
46
  OptionalRetry = Union[retries.AsyncRetry, object, None] # type: ignore
47
47
 
48
- from google.rpc import status_pb2 # type: ignore
48
+ import google.rpc.status_pb2 as status_pb2 # type: ignore
49
49
 
50
50
  from google.cloud.container_v1.services.cluster_manager import pagers
51
51
  from google.cloud.container_v1.types import cluster_service
@@ -124,7 +124,10 @@ class ClusterManagerAsyncClient:
124
124
  Returns:
125
125
  ClusterManagerAsyncClient: The constructed client.
126
126
  """
127
- return ClusterManagerClient.from_service_account_info.__func__(ClusterManagerAsyncClient, info, *args, **kwargs) # type: ignore
127
+ sa_info_func = (
128
+ ClusterManagerClient.from_service_account_info.__func__ # type: ignore
129
+ )
130
+ return sa_info_func(ClusterManagerAsyncClient, info, *args, **kwargs)
128
131
 
129
132
  @classmethod
130
133
  def from_service_account_file(cls, filename: str, *args, **kwargs):
@@ -140,7 +143,10 @@ class ClusterManagerAsyncClient:
140
143
  Returns:
141
144
  ClusterManagerAsyncClient: The constructed client.
142
145
  """
143
- return ClusterManagerClient.from_service_account_file.__func__(ClusterManagerAsyncClient, filename, *args, **kwargs) # type: ignore
146
+ sa_file_func = (
147
+ ClusterManagerClient.from_service_account_file.__func__ # type: ignore
148
+ )
149
+ return sa_file_func(ClusterManagerAsyncClient, filename, *args, **kwargs)
144
150
 
145
151
  from_service_account_json = from_service_account_file
146
152
 
@@ -190,7 +196,7 @@ class ClusterManagerAsyncClient:
190
196
  return self._client.transport
191
197
 
192
198
  @property
193
- def api_endpoint(self):
199
+ def api_endpoint(self) -> str:
194
200
  """Return the API endpoint used by the client instance.
195
201
 
196
202
  Returns:
@@ -5100,7 +5106,7 @@ class ClusterManagerAsyncClient:
5100
5106
  timeout: Union[float, object] = gapic_v1.method.DEFAULT,
5101
5107
  metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
5102
5108
  ) -> cluster_service.NodePoolUpgradeInfo:
5103
- r"""Fetch upgrade information of a specific nodepool.
5109
+ r"""Fetch upgrade information of a specific node pool.
5104
5110
 
5105
5111
  .. code-block:: python
5106
5112
 
@@ -5132,12 +5138,12 @@ class ClusterManagerAsyncClient:
5132
5138
  request (Optional[Union[google.cloud.container_v1.types.FetchNodePoolUpgradeInfoRequest, dict]]):
5133
5139
  The request object. FetchNodePoolUpgradeInfoRequest
5134
5140
  fetches the upgrade information of a
5135
- nodepool.
5141
+ node pool.
5136
5142
  name (:class:`str`):
5137
- Required. The name (project, location, cluster,
5138
- nodepool) of the nodepool to get. Specified in the
5139
- format ``projects/*/locations/*/clusters/*/nodePools/*``
5140
- or ``projects/*/zones/*/clusters/*/nodePools/*``.
5143
+ Required. The name (project, location, cluster, node
5144
+ pool) of the node pool to get. Specified in the format
5145
+ ``projects/*/locations/*/clusters/*/nodePools/*`` or
5146
+ ``projects/*/zones/*/clusters/*/nodePools/*``.
5141
5147
 
5142
5148
  This corresponds to the ``name`` field
5143
5149
  on the ``request`` instance; if ``request`` is provided, this
@@ -5153,7 +5159,7 @@ class ClusterManagerAsyncClient:
5153
5159
  Returns:
5154
5160
  google.cloud.container_v1.types.NodePoolUpgradeInfo:
5155
5161
  NodePoolUpgradeInfo contains the
5156
- upgrade information of a nodepool.
5162
+ upgrade information of a node pool.
5157
5163
 
5158
5164
  """
5159
5165
  # Create or coerce a protobuf request object.