google-cloud-container 2.60.0__tar.gz → 2.61.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 (56) hide show
  1. {google_cloud_container-2.60.0/google_cloud_container.egg-info → google_cloud_container-2.61.0}/PKG-INFO +1 -1
  2. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container/__init__.py +4 -0
  3. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container/gapic_version.py +1 -1
  4. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/__init__.py +4 -0
  5. {google_cloud_container-2.60.0/google/cloud/container_v1beta1 → google_cloud_container-2.61.0/google/cloud/container_v1}/gapic_version.py +1 -1
  6. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +1 -1
  7. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/client.py +1 -1
  8. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +1 -1
  9. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +1 -1
  10. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/types/__init__.py +4 -0
  11. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/types/cluster_service.py +398 -21
  12. {google_cloud_container-2.60.0/google/cloud/container_v1 → google_cloud_container-2.61.0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
  13. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +1 -1
  14. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +1 -1
  15. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +1 -1
  16. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +1 -1
  17. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/types/cluster_service.py +17 -9
  18. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0/google_cloud_container.egg-info}/PKG-INFO +1 -1
  19. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/LICENSE +0 -0
  20. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/MANIFEST.in +0 -0
  21. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/README.rst +0 -0
  22. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container/py.typed +0 -0
  23. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
  24. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/py.typed +0 -0
  25. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/__init__.py +0 -0
  26. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
  27. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
  28. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
  29. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +0 -0
  30. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/rest.py +0 -0
  31. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1/services/cluster_manager/transports/rest_base.py +0 -0
  32. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/__init__.py +0 -0
  33. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
  34. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/py.typed +0 -0
  35. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
  36. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
  37. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
  38. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
  39. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +0 -0
  40. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google/cloud/container_v1beta1/types/__init__.py +0 -0
  41. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
  42. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
  43. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
  44. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google_cloud_container.egg-info/requires.txt +0 -0
  45. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/google_cloud_container.egg-info/top_level.txt +0 -0
  46. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/setup.cfg +0 -0
  47. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/setup.py +0 -0
  48. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/__init__.py +0 -0
  49. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/system/__init__.py +0 -0
  50. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/system/smoke_test.py +0 -0
  51. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/__init__.py +0 -0
  52. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/gapic/__init__.py +0 -0
  53. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/gapic/container_v1/__init__.py +0 -0
  54. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +0 -0
  55. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
  56. {google_cloud_container-2.60.0 → google_cloud_container-2.61.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-container
3
- Version: 2.60.0
3
+ Version: 2.61.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
@@ -143,6 +143,7 @@ from google.cloud.container_v1.types.cluster_service import (
143
143
  NetworkPolicy,
144
144
  NetworkPolicyConfig,
145
145
  NetworkTags,
146
+ NetworkTierConfig,
146
147
  NodeConfig,
147
148
  NodeConfigDefaults,
148
149
  NodeKubeletConfig,
@@ -167,6 +168,7 @@ from google.cloud.container_v1.types.cluster_service import (
167
168
  PrivateClusterConfig,
168
169
  PrivateClusterMasterGlobalAccessConfig,
169
170
  PrivateIPv6GoogleAccess,
171
+ PrivilegedAdmissionConfig,
170
172
  RangeInfo,
171
173
  RayClusterLoggingConfig,
172
174
  RayClusterMonitoringConfig,
@@ -346,6 +348,7 @@ __all__ = (
346
348
  "NetworkPolicy",
347
349
  "NetworkPolicyConfig",
348
350
  "NetworkTags",
351
+ "NetworkTierConfig",
349
352
  "NodeConfig",
350
353
  "NodeConfigDefaults",
351
354
  "NodeKubeletConfig",
@@ -368,6 +371,7 @@ __all__ = (
368
371
  "PodCIDROverprovisionConfig",
369
372
  "PrivateClusterConfig",
370
373
  "PrivateClusterMasterGlobalAccessConfig",
374
+ "PrivilegedAdmissionConfig",
371
375
  "RangeInfo",
372
376
  "RayClusterLoggingConfig",
373
377
  "RayClusterMonitoringConfig",
@@ -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.60.0" # {x-release-please-version}
16
+ __version__ = "2.61.0" # {x-release-please-version}
@@ -138,6 +138,7 @@ from .types.cluster_service import (
138
138
  NetworkPolicy,
139
139
  NetworkPolicyConfig,
140
140
  NetworkTags,
141
+ NetworkTierConfig,
141
142
  NodeConfig,
142
143
  NodeConfigDefaults,
143
144
  NodeKubeletConfig,
@@ -162,6 +163,7 @@ from .types.cluster_service import (
162
163
  PrivateClusterConfig,
163
164
  PrivateClusterMasterGlobalAccessConfig,
164
165
  PrivateIPv6GoogleAccess,
166
+ PrivilegedAdmissionConfig,
165
167
  RangeInfo,
166
168
  RayClusterLoggingConfig,
167
169
  RayClusterMonitoringConfig,
@@ -344,6 +346,7 @@ __all__ = (
344
346
  "NetworkPolicy",
345
347
  "NetworkPolicyConfig",
346
348
  "NetworkTags",
349
+ "NetworkTierConfig",
347
350
  "NodeConfig",
348
351
  "NodeConfigDefaults",
349
352
  "NodeKubeletConfig",
@@ -368,6 +371,7 @@ __all__ = (
368
371
  "PrivateClusterConfig",
369
372
  "PrivateClusterMasterGlobalAccessConfig",
370
373
  "PrivateIPv6GoogleAccess",
374
+ "PrivilegedAdmissionConfig",
371
375
  "RBACBindingConfig",
372
376
  "RangeInfo",
373
377
  "RayClusterLoggingConfig",
@@ -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.60.0" # {x-release-please-version}
16
+ __version__ = "2.61.0" # {x-release-please-version}
@@ -599,7 +599,7 @@ class ClusterManagerAsyncClient:
599
599
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
600
600
 
601
601
  One firewall is added for the cluster. After cluster creation,
602
- the Kubelet creates routes for each node to allow the containers
602
+ the kubelet creates routes for each node to allow the containers
603
603
  on that node to communicate with all other instances in the
604
604
  cluster.
605
605
 
@@ -1052,7 +1052,7 @@ class ClusterManagerClient(metaclass=ClusterManagerClientMeta):
1052
1052
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
1053
1053
 
1054
1054
  One firewall is added for the cluster. After cluster creation,
1055
- the Kubelet creates routes for each node to allow the containers
1055
+ the kubelet creates routes for each node to allow the containers
1056
1056
  on that node to communicate with all other instances in the
1057
1057
  cluster.
1058
1058
 
@@ -390,7 +390,7 @@ class ClusterManagerGrpcTransport(ClusterManagerTransport):
390
390
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
391
391
 
392
392
  One firewall is added for the cluster. After cluster creation,
393
- the Kubelet creates routes for each node to allow the containers
393
+ the kubelet creates routes for each node to allow the containers
394
394
  on that node to communicate with all other instances in the
395
395
  cluster.
396
396
 
@@ -403,7 +403,7 @@ class ClusterManagerGrpcAsyncIOTransport(ClusterManagerTransport):
403
403
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
404
404
 
405
405
  One firewall is added for the cluster. After cluster creation,
406
- the Kubelet creates routes for each node to allow the containers
406
+ the kubelet creates routes for each node to allow the containers
407
407
  on that node to communicate with all other instances in the
408
408
  cluster.
409
409
 
@@ -132,6 +132,7 @@ from .cluster_service import (
132
132
  NetworkPolicy,
133
133
  NetworkPolicyConfig,
134
134
  NetworkTags,
135
+ NetworkTierConfig,
135
136
  NodeConfig,
136
137
  NodeConfigDefaults,
137
138
  NodeKubeletConfig,
@@ -156,6 +157,7 @@ from .cluster_service import (
156
157
  PrivateClusterConfig,
157
158
  PrivateClusterMasterGlobalAccessConfig,
158
159
  PrivateIPv6GoogleAccess,
160
+ PrivilegedAdmissionConfig,
159
161
  RangeInfo,
160
162
  RayClusterLoggingConfig,
161
163
  RayClusterMonitoringConfig,
@@ -333,6 +335,7 @@ __all__ = (
333
335
  "NetworkPolicy",
334
336
  "NetworkPolicyConfig",
335
337
  "NetworkTags",
338
+ "NetworkTierConfig",
336
339
  "NodeConfig",
337
340
  "NodeConfigDefaults",
338
341
  "NodeKubeletConfig",
@@ -355,6 +358,7 @@ __all__ = (
355
358
  "PodCIDROverprovisionConfig",
356
359
  "PrivateClusterConfig",
357
360
  "PrivateClusterMasterGlobalAccessConfig",
361
+ "PrivilegedAdmissionConfig",
358
362
  "RangeInfo",
359
363
  "RayClusterLoggingConfig",
360
364
  "RayClusterMonitoringConfig",
@@ -199,6 +199,7 @@ __protobuf__ = proto.module(
199
199
  "UpgradeAvailableEvent",
200
200
  "SecurityBulletinEvent",
201
201
  "Autopilot",
202
+ "PrivilegedAdmissionConfig",
202
203
  "WorkloadPolicyConfig",
203
204
  "LoggingConfig",
204
205
  "LoggingComponentConfig",
@@ -228,6 +229,7 @@ __protobuf__ = proto.module(
228
229
  "FetchNodePoolUpgradeInfoRequest",
229
230
  "NodePoolUpgradeInfo",
230
231
  "GkeAutoUpgradeConfig",
232
+ "NetworkTierConfig",
231
233
  },
232
234
  )
233
235
 
@@ -423,6 +425,12 @@ class LinuxNodeConfig(proto.Message):
423
425
  See
424
426
  https://docs.kernel.org/admin-guide/mm/transhuge.html
425
427
  for more details.
428
+ node_kernel_module_loading (google.cloud.container_v1.types.LinuxNodeConfig.NodeKernelModuleLoading):
429
+ Optional. Configuration for kernel module
430
+ loading on nodes. When enabled, the node pool
431
+ will be provisioned with a Container-Optimized
432
+ OS image that enforces kernel module signature
433
+ verification.
426
434
  """
427
435
 
428
436
  class CgroupMode(proto.Enum):
@@ -483,7 +491,7 @@ class LinuxNodeConfig(proto.Message):
483
491
  It means that an application will wake kswapd
484
492
  in the background to reclaim pages and wake
485
493
  kcompactd to compact memory so that THP is
486
- available in the near future. It’s the
494
+ available in the near future. It's the
487
495
  responsibility of khugepaged to then install the
488
496
  THP pages later.
489
497
  TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE (3):
@@ -535,6 +543,50 @@ class LinuxNodeConfig(proto.Message):
535
543
  optional=True,
536
544
  )
537
545
 
546
+ class NodeKernelModuleLoading(proto.Message):
547
+ r"""Configuration for kernel module loading on nodes.
548
+
549
+ Attributes:
550
+ policy (google.cloud.container_v1.types.LinuxNodeConfig.NodeKernelModuleLoading.Policy):
551
+ Set the node module loading policy for nodes
552
+ in the node pool.
553
+ """
554
+
555
+ class Policy(proto.Enum):
556
+ r"""Defines the kernel module loading policy for nodes in the
557
+ nodepool.
558
+
559
+ Values:
560
+ POLICY_UNSPECIFIED (0):
561
+ Default behavior. GKE selects the image based
562
+ on node type. For CPU and TPU nodes, the image
563
+ will not allow loading external kernel modules.
564
+ For GPU nodes, the image will allow loading any
565
+ module, whether it is signed or not.
566
+ ENFORCE_SIGNED_MODULES (1):
567
+ Enforced signature verification: Node pools will use a
568
+ Container-Optimized OS image configured to allow loading of
569
+ *Google-signed* external kernel modules. Loadpin is enabled
570
+ but configured to exclude modules, and kernel module
571
+ signature checking is enforced.
572
+ DO_NOT_ENFORCE_SIGNED_MODULES (2):
573
+ Mirrors existing DEFAULT behavior:
574
+
575
+ For CPU and TPU nodes, the image will not allow
576
+ loading external kernel modules.
577
+ For GPU nodes, the image will allow loading any
578
+ module, whether it is signed or not.
579
+ """
580
+ POLICY_UNSPECIFIED = 0
581
+ ENFORCE_SIGNED_MODULES = 1
582
+ DO_NOT_ENFORCE_SIGNED_MODULES = 2
583
+
584
+ policy: "LinuxNodeConfig.NodeKernelModuleLoading.Policy" = proto.Field(
585
+ proto.ENUM,
586
+ number=1,
587
+ enum="LinuxNodeConfig.NodeKernelModuleLoading.Policy",
588
+ )
589
+
538
590
  sysctls: MutableMapping[str, str] = proto.MapField(
539
591
  proto.STRING,
540
592
  proto.STRING,
@@ -561,6 +613,11 @@ class LinuxNodeConfig(proto.Message):
561
613
  number=5,
562
614
  enum=TransparentHugepageDefrag,
563
615
  )
616
+ node_kernel_module_loading: NodeKernelModuleLoading = proto.Field(
617
+ proto.MESSAGE,
618
+ number=13,
619
+ message=NodeKernelModuleLoading,
620
+ )
564
621
 
565
622
 
566
623
  class WindowsNodeConfig(proto.Message):
@@ -649,7 +706,8 @@ class NodeKubeletConfig(proto.Message):
649
706
  The string must be a sequence of decimal numbers, each with
650
707
  optional fraction and a unit suffix, such as "300ms". Valid
651
708
  time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
652
- The value must be a positive duration.
709
+ The value must be a positive duration between 1ms and 1
710
+ second, inclusive.
653
711
  pod_pids_limit (int):
654
712
  Set the Pod PID limits. See
655
713
  https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1216,9 +1274,9 @@ class NodeConfig(proto.Message):
1216
1274
  - ``https://www.googleapis.com/auth/compute`` is required
1217
1275
  for mounting persistent storage on your nodes.
1218
1276
  - ``https://www.googleapis.com/auth/devstorage.read_only``
1219
- is required for communicating with **gcr.io** (the `Google
1220
- Container
1221
- Registry <https://cloud.google.com/container-registry/>`__).
1277
+ is required for communicating with **gcr.io** (the
1278
+ `Artifact
1279
+ Registry <https://cloud.google.com/artifact-registry/>`__).
1222
1280
 
1223
1281
  If unspecified, no scopes are added, unless Cloud Logging or
1224
1282
  Cloud Monitoring are enabled, in which case their required
@@ -1860,6 +1918,12 @@ class NodeNetworkConfig(proto.Message):
1860
1918
  subnetworks, the subnetwork for the node pool is
1861
1919
  picked based on the IP utilization during node
1862
1920
  pool creation and is immutable.
1921
+ network_tier_config (google.cloud.container_v1.types.NetworkTierConfig):
1922
+ Output only. The network tier configuration
1923
+ for the node pool inherits from the
1924
+ cluster-level configuration and remains
1925
+ immutable throughout the node pool's lifecycle,
1926
+ including during upgrades.
1863
1927
  """
1864
1928
 
1865
1929
  class NetworkPerformanceConfig(proto.Message):
@@ -1945,6 +2009,11 @@ class NodeNetworkConfig(proto.Message):
1945
2009
  proto.STRING,
1946
2010
  number=19,
1947
2011
  )
2012
+ network_tier_config: "NetworkTierConfig" = proto.Field(
2013
+ proto.MESSAGE,
2014
+ number=20,
2015
+ message="NetworkTierConfig",
2016
+ )
1948
2017
 
1949
2018
 
1950
2019
  class AdditionalNodeNetworkConfig(proto.Message):
@@ -2224,6 +2293,9 @@ class ContainerdConfig(proto.Message):
2224
2293
  PrivateRegistryAccessConfig is used to
2225
2294
  configure access configuration for private
2226
2295
  container registries.
2296
+ writable_cgroups (google.cloud.container_v1.types.ContainerdConfig.WritableCgroups):
2297
+ Optional. WritableCgroups defines writable
2298
+ cgroups configuration for the node pool.
2227
2299
  """
2228
2300
 
2229
2301
  class PrivateRegistryAccessConfig(proto.Message):
@@ -2261,8 +2333,8 @@ class ContainerdConfig(proto.Message):
2261
2333
  """
2262
2334
 
2263
2335
  class GCPSecretManagerCertificateConfig(proto.Message):
2264
- r"""GCPSecretManagerCertificateConfig configures a secret from `Google
2265
- Secret Manager <https://cloud.google.com/secret-manager>`__.
2336
+ r"""GCPSecretManagerCertificateConfig configures a secret from `Secret
2337
+ Manager <https://cloud.google.com/secret-manager>`__.
2266
2338
 
2267
2339
  Attributes:
2268
2340
  secret_uri (str):
@@ -2299,11 +2371,30 @@ class ContainerdConfig(proto.Message):
2299
2371
  message="ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig",
2300
2372
  )
2301
2373
 
2374
+ class WritableCgroups(proto.Message):
2375
+ r"""Defines writable cgroups configuration.
2376
+
2377
+ Attributes:
2378
+ enabled (bool):
2379
+ Optional. Whether writable cgroups is
2380
+ enabled.
2381
+ """
2382
+
2383
+ enabled: bool = proto.Field(
2384
+ proto.BOOL,
2385
+ number=1,
2386
+ )
2387
+
2302
2388
  private_registry_access_config: PrivateRegistryAccessConfig = proto.Field(
2303
2389
  proto.MESSAGE,
2304
2390
  number=1,
2305
2391
  message=PrivateRegistryAccessConfig,
2306
2392
  )
2393
+ writable_cgroups: WritableCgroups = proto.Field(
2394
+ proto.MESSAGE,
2395
+ number=2,
2396
+ message=WritableCgroups,
2397
+ )
2307
2398
 
2308
2399
 
2309
2400
  class NodeTaint(proto.Message):
@@ -2390,7 +2481,7 @@ class NodeLabels(proto.Message):
2390
2481
 
2391
2482
 
2392
2483
  class ResourceLabels(proto.Message):
2393
- r"""Collection of `GCP
2484
+ r"""Collection of `Resource Manager
2394
2485
  labels <https://cloud.google.com/resource-manager/docs/creating-managing-labels>`__.
2395
2486
 
2396
2487
  Attributes:
@@ -2552,14 +2643,13 @@ class AddonsConfig(proto.Message):
2552
2643
  running on cluster nodes
2553
2644
  config_connector_config (google.cloud.container_v1.types.ConfigConnectorConfig):
2554
2645
  Configuration for the ConfigConnector add-on,
2555
- a Kubernetes extension to manage hosted GCP
2556
- services through the Kubernetes API
2646
+ a Kubernetes extension to manage hosted Google
2647
+ Cloud services through the Kubernetes API.
2557
2648
  gce_persistent_disk_csi_driver_config (google.cloud.container_v1.types.GcePersistentDiskCsiDriverConfig):
2558
2649
  Configuration for the Compute Engine
2559
2650
  Persistent Disk CSI driver.
2560
2651
  gcp_filestore_csi_driver_config (google.cloud.container_v1.types.GcpFilestoreCsiDriverConfig):
2561
- Configuration for the GCP Filestore CSI
2562
- driver.
2652
+ Configuration for the Filestore CSI driver.
2563
2653
  gke_backup_agent_config (google.cloud.container_v1.types.GkeBackupAgentConfig):
2564
2654
  Configuration for the Backup for GKE agent
2565
2655
  addon.
@@ -2957,12 +3047,12 @@ class GcePersistentDiskCsiDriverConfig(proto.Message):
2957
3047
 
2958
3048
 
2959
3049
  class GcpFilestoreCsiDriverConfig(proto.Message):
2960
- r"""Configuration for the GCP Filestore CSI driver.
3050
+ r"""Configuration for the Filestore CSI driver.
2961
3051
 
2962
3052
  Attributes:
2963
3053
  enabled (bool):
2964
- Whether the GCP Filestore CSI driver is
2965
- enabled for this cluster.
3054
+ Whether the Filestore CSI driver is enabled
3055
+ for this cluster.
2966
3056
  """
2967
3057
 
2968
3058
  enabled: bool = proto.Field(
@@ -3024,8 +3114,17 @@ class LustreCsiDriverConfig(proto.Message):
3024
3114
  Whether the Lustre CSI driver is enabled for
3025
3115
  this cluster.
3026
3116
  enable_legacy_lustre_port (bool):
3027
- If set to true, the Lustre CSI driver will
3028
- install Lustre kernel modules using port 6988.
3117
+ If set to true, the Lustre CSI driver will install Lustre
3118
+ kernel modules using port 6988. This serves as a workaround
3119
+ for a port conflict with the gke-metadata-server. This field
3120
+ is required ONLY under the following conditions:
3121
+
3122
+ 1. The GKE node version is older than 1.33.2-gke.4655000.
3123
+ 2. You're connecting to a Lustre instance that has the
3124
+ 'gke-support-enabled' flag. Deprecated: This flag is no
3125
+ longer required as of GKE node version
3126
+ 1.33.2-gke.4655000, unless you are connecting to a Lustre
3127
+ instance that has the ``gke-support-enabled`` flag.
3029
3128
  """
3030
3129
 
3031
3130
  enabled: bool = proto.Field(
@@ -3452,6 +3551,11 @@ class IPAllocationPolicy(proto.Message):
3452
3551
  auto_ipam_config (google.cloud.container_v1.types.AutoIpamConfig):
3453
3552
  Optional. AutoIpamConfig contains all
3454
3553
  information related to Auto IPAM
3554
+ network_tier_config (google.cloud.container_v1.types.NetworkTierConfig):
3555
+ Cluster-level network tier configuration is
3556
+ used to determine the default network tier for
3557
+ external IP addresses on cluster resources, such
3558
+ as node pools and load balancers.
3455
3559
  """
3456
3560
 
3457
3561
  use_ip_aliases: bool = proto.Field(
@@ -3550,6 +3654,11 @@ class IPAllocationPolicy(proto.Message):
3550
3654
  number=30,
3551
3655
  message="AutoIpamConfig",
3552
3656
  )
3657
+ network_tier_config: "NetworkTierConfig" = proto.Field(
3658
+ proto.MESSAGE,
3659
+ number=31,
3660
+ message="NetworkTierConfig",
3661
+ )
3553
3662
 
3554
3663
 
3555
3664
  class Cluster(proto.Message):
@@ -3742,7 +3851,7 @@ class Cluster(proto.Message):
3742
3851
  REGULAR channel with its default version.
3743
3852
  workload_identity_config (google.cloud.container_v1.types.WorkloadIdentityConfig):
3744
3853
  Configuration for the use of Kubernetes
3745
- Service Accounts in GCP IAM policies.
3854
+ Service Accounts in IAM policies.
3746
3855
  mesh_certificates (google.cloud.container_v1.types.MeshCertificates):
3747
3856
  Configuration for issuance of mTLS keys and
3748
3857
  certificates to Kubernetes pods.
@@ -3895,6 +4004,9 @@ class Cluster(proto.Message):
3895
4004
  Beta APIs Config
3896
4005
  enterprise_config (google.cloud.container_v1.types.EnterpriseConfig):
3897
4006
  GKE Enterprise Configuration.
4007
+
4008
+ Deprecated: GKE Enterprise features are now
4009
+ available without an Enterprise tier.
3898
4010
  secret_manager_config (google.cloud.container_v1.types.SecretManagerConfig):
3899
4011
  Secret CSI driver configuration.
3900
4012
  compliance_posture_config (google.cloud.container_v1.types.CompliancePostureConfig):
@@ -5040,6 +5152,8 @@ class ClusterUpdate(proto.Message):
5040
5152
  desired_enterprise_config (google.cloud.container_v1.types.DesiredEnterpriseConfig):
5041
5153
  The desired enterprise configuration for the
5042
5154
  cluster.
5155
+ Deprecated: GKE Enterprise features are now
5156
+ available without an Enterprise tier.
5043
5157
  desired_auto_ipam_config (google.cloud.container_v1.types.AutoIpamConfig):
5044
5158
  AutoIpamConfig contains all information
5045
5159
  related to Auto IPAM
@@ -5062,6 +5176,9 @@ class ClusterUpdate(proto.Message):
5062
5176
  to all endpoints except the health checks.
5063
5177
  gke_auto_upgrade_config (google.cloud.container_v1.types.GkeAutoUpgradeConfig):
5064
5178
  Configuration for GKE auto upgrade.
5179
+ desired_network_tier_config (google.cloud.container_v1.types.NetworkTierConfig):
5180
+ The desired network tier configuration for
5181
+ the cluster.
5065
5182
  """
5066
5183
 
5067
5184
  desired_node_version: str = proto.Field(
@@ -5423,6 +5540,11 @@ class ClusterUpdate(proto.Message):
5423
5540
  number=154,
5424
5541
  message="GkeAutoUpgradeConfig",
5425
5542
  )
5543
+ desired_network_tier_config: "NetworkTierConfig" = proto.Field(
5544
+ proto.MESSAGE,
5545
+ number=155,
5546
+ message="NetworkTierConfig",
5547
+ )
5426
5548
 
5427
5549
 
5428
5550
  class AdditionalPodRangesConfig(proto.Message):
@@ -5499,7 +5621,23 @@ class DesiredAdditionalIPRangesConfig(proto.Message):
5499
5621
 
5500
5622
 
5501
5623
  class AutoIpamConfig(proto.Message):
5502
- r"""AutoIpamConfig contains all information related to Auto IPAM"""
5624
+ r"""AutoIpamConfig contains all information related to Auto IPAM
5625
+
5626
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
5627
+
5628
+ Attributes:
5629
+ enabled (bool):
5630
+ The flag that enables Auto IPAM on this
5631
+ cluster
5632
+
5633
+ This field is a member of `oneof`_ ``_enabled``.
5634
+ """
5635
+
5636
+ enabled: bool = proto.Field(
5637
+ proto.BOOL,
5638
+ number=1,
5639
+ optional=True,
5640
+ )
5503
5641
 
5504
5642
 
5505
5643
  class RangeInfo(proto.Message):
@@ -5527,6 +5665,9 @@ class DesiredEnterpriseConfig(proto.Message):
5527
5665
  r"""DesiredEnterpriseConfig is a wrapper used for updating
5528
5666
  enterprise_config.
5529
5667
 
5668
+ Deprecated: GKE Enterprise features are now available without an
5669
+ Enterprise tier.
5670
+
5530
5671
  Attributes:
5531
5672
  desired_tier (google.cloud.container_v1.types.EnterpriseConfig.ClusterTier):
5532
5673
  desired_tier specifies the desired tier of the cluster.
@@ -6130,6 +6271,16 @@ class UpdateNodePoolRequest(proto.Message):
6130
6271
  the locations for a node pool will result in nodes being
6131
6272
  either created or removed from the node pool, depending on
6132
6273
  whether locations are being added or removed.
6274
+
6275
+ Warning: It is recommended to update node pool locations in
6276
+ a standalone API call. Do not combine a location update with
6277
+ changes to other fields (such as ``tags``, ``labels``,
6278
+ ``taints``, etc.) in the same request. Otherwise, the API
6279
+ performs a structural modification where changes to other
6280
+ fields will only apply to newly created nodes and will not
6281
+ be applied to existing nodes in the node pool. To ensure all
6282
+ nodes are updated consistently, use a separate API call for
6283
+ location changes.
6133
6284
  workload_metadata_config (google.cloud.container_v1.types.WorkloadMetadataConfig):
6134
6285
  The desired workload metadata config for the
6135
6286
  node pool.
@@ -7401,12 +7552,22 @@ class GetNodePoolRequest(proto.Message):
7401
7552
  class BlueGreenSettings(proto.Message):
7402
7553
  r"""Settings for blue-green upgrade.
7403
7554
 
7555
+ This message has `oneof`_ fields (mutually exclusive fields).
7556
+ For each oneof, at most one member field can be set at the same time.
7557
+ Setting any member of the oneof automatically clears all other
7558
+ members.
7559
+
7404
7560
  .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
7405
7561
 
7406
7562
  Attributes:
7407
7563
  standard_rollout_policy (google.cloud.container_v1.types.BlueGreenSettings.StandardRolloutPolicy):
7408
7564
  Standard policy for the blue-green upgrade.
7409
7565
 
7566
+ This field is a member of `oneof`_ ``rollout_policy``.
7567
+ autoscaled_rollout_policy (google.cloud.container_v1.types.BlueGreenSettings.AutoscaledRolloutPolicy):
7568
+ Autoscaled policy for cluster autoscaler
7569
+ enabled blue-green upgrade.
7570
+
7410
7571
  This field is a member of `oneof`_ ``rollout_policy``.
7411
7572
  node_pool_soak_duration (google.protobuf.duration_pb2.Duration):
7412
7573
  Time needed after draining entire blue pool.
@@ -7459,12 +7620,37 @@ class BlueGreenSettings(proto.Message):
7459
7620
  message=duration_pb2.Duration,
7460
7621
  )
7461
7622
 
7623
+ class AutoscaledRolloutPolicy(proto.Message):
7624
+ r"""Autoscaled rollout policy utilizes the cluster autoscaler
7625
+ during blue-green upgrade to scale both the blue and green
7626
+ pools.
7627
+
7628
+ Attributes:
7629
+ wait_for_drain_duration (google.protobuf.duration_pb2.Duration):
7630
+ Optional. Time to wait after cordoning the
7631
+ blue pool before draining the nodes. Defaults to
7632
+ 3 days. The value can be set between 0 and 7
7633
+ days, inclusive.
7634
+ """
7635
+
7636
+ wait_for_drain_duration: duration_pb2.Duration = proto.Field(
7637
+ proto.MESSAGE,
7638
+ number=1,
7639
+ message=duration_pb2.Duration,
7640
+ )
7641
+
7462
7642
  standard_rollout_policy: StandardRolloutPolicy = proto.Field(
7463
7643
  proto.MESSAGE,
7464
7644
  number=1,
7465
7645
  oneof="rollout_policy",
7466
7646
  message=StandardRolloutPolicy,
7467
7647
  )
7648
+ autoscaled_rollout_policy: AutoscaledRolloutPolicy = proto.Field(
7649
+ proto.MESSAGE,
7650
+ number=3,
7651
+ oneof="rollout_policy",
7652
+ message=AutoscaledRolloutPolicy,
7653
+ )
7468
7654
  node_pool_soak_duration: duration_pb2.Duration = proto.Field(
7469
7655
  proto.MESSAGE,
7470
7656
  number=2,
@@ -8170,6 +8356,9 @@ class MaintenanceExclusionOptions(proto.Message):
8170
8356
  scope (google.cloud.container_v1.types.MaintenanceExclusionOptions.Scope):
8171
8357
  Scope specifies the upgrade scope which
8172
8358
  upgrades are blocked by the exclusion.
8359
+ end_time_behavior (google.cloud.container_v1.types.MaintenanceExclusionOptions.EndTimeBehavior):
8360
+ EndTimeBehavior specifies the behavior of the
8361
+ exclusion end time.
8173
8362
  """
8174
8363
 
8175
8364
  class Scope(proto.Enum):
@@ -8192,11 +8381,32 @@ class MaintenanceExclusionOptions(proto.Message):
8192
8381
  NO_MINOR_UPGRADES = 1
8193
8382
  NO_MINOR_OR_NODE_UPGRADES = 2
8194
8383
 
8384
+ class EndTimeBehavior(proto.Enum):
8385
+ r"""EndTimeBehavior specifies the behavior of the exclusion end
8386
+ time.
8387
+
8388
+ Values:
8389
+ END_TIME_BEHAVIOR_UNSPECIFIED (0):
8390
+ END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which
8391
+ is fixed end time.
8392
+ UNTIL_END_OF_SUPPORT (1):
8393
+ UNTIL_END_OF_SUPPORT means the exclusion will be in effect
8394
+ until the end of the support of the cluster's current
8395
+ version.
8396
+ """
8397
+ END_TIME_BEHAVIOR_UNSPECIFIED = 0
8398
+ UNTIL_END_OF_SUPPORT = 1
8399
+
8195
8400
  scope: Scope = proto.Field(
8196
8401
  proto.ENUM,
8197
8402
  number=1,
8198
8403
  enum=Scope,
8199
8404
  )
8405
+ end_time_behavior: EndTimeBehavior = proto.Field(
8406
+ proto.ENUM,
8407
+ number=2,
8408
+ enum=EndTimeBehavior,
8409
+ )
8200
8410
 
8201
8411
 
8202
8412
  class RecurringTimeWindow(proto.Message):
@@ -10109,7 +10319,7 @@ class MaxPodsConstraint(proto.Message):
10109
10319
 
10110
10320
  class WorkloadIdentityConfig(proto.Message):
10111
10321
  r"""Configuration for the use of Kubernetes Service Accounts in
10112
- GCP IAM policies.
10322
+ IAM policies.
10113
10323
 
10114
10324
  Attributes:
10115
10325
  workload_pool (str):
@@ -11090,6 +11300,10 @@ class Autopilot(proto.Message):
11090
11300
  workload_policy_config (google.cloud.container_v1.types.WorkloadPolicyConfig):
11091
11301
  WorkloadPolicyConfig is the configuration
11092
11302
  related to GCW workload policy
11303
+ privileged_admission_config (google.cloud.container_v1.types.PrivilegedAdmissionConfig):
11304
+ PrivilegedAdmissionConfig is the
11305
+ configuration related to privileged admission
11306
+ control.
11093
11307
  """
11094
11308
 
11095
11309
  enabled: bool = proto.Field(
@@ -11101,6 +11315,39 @@ class Autopilot(proto.Message):
11101
11315
  number=2,
11102
11316
  message="WorkloadPolicyConfig",
11103
11317
  )
11318
+ privileged_admission_config: "PrivilegedAdmissionConfig" = proto.Field(
11319
+ proto.MESSAGE,
11320
+ number=4,
11321
+ message="PrivilegedAdmissionConfig",
11322
+ )
11323
+
11324
+
11325
+ class PrivilegedAdmissionConfig(proto.Message):
11326
+ r"""PrivilegedAdmissionConfig stores the list of authorized
11327
+ allowlist paths for the cluster.
11328
+
11329
+ Attributes:
11330
+ allowlist_paths (MutableSequence[str]):
11331
+ The customer allowlist Cloud Storage paths for the cluster.
11332
+ These paths are used with the
11333
+ ``--autopilot-privileged-admission`` flag to authorize
11334
+ privileged workloads in Autopilot clusters.
11335
+
11336
+ Paths can be GKE-owned, in the format
11337
+ ``gke://<partner_name>/<app_name>/<allowlist_path>``, or
11338
+ customer-owned, in the format
11339
+ ``gs://<bucket_name>/<allowlist_path>``.
11340
+
11341
+ Wildcards (``*``) are supported to authorize all allowlists
11342
+ under specific paths or directories. Example:
11343
+ ``gs://my-bucket/*`` will authorize all allowlists under the
11344
+ ``my-bucket`` bucket.
11345
+ """
11346
+
11347
+ allowlist_paths: MutableSequence[str] = proto.RepeatedField(
11348
+ proto.STRING,
11349
+ number=1,
11350
+ )
11104
11351
 
11105
11352
 
11106
11353
  class WorkloadPolicyConfig(proto.Message):
@@ -11541,8 +11788,24 @@ class Fleet(proto.Message):
11541
11788
  pre_registered (bool):
11542
11789
  Output only. Whether the cluster has been
11543
11790
  registered through the fleet API.
11791
+ membership_type (google.cloud.container_v1.types.Fleet.MembershipType):
11792
+ The type of the cluster's fleet membership.
11544
11793
  """
11545
11794
 
11795
+ class MembershipType(proto.Enum):
11796
+ r"""MembershipType describes if the membership supports all
11797
+ features or only lightweight compatible ones.
11798
+
11799
+ Values:
11800
+ MEMBERSHIP_TYPE_UNSPECIFIED (0):
11801
+ The MembershipType is not set.
11802
+ LIGHTWEIGHT (1):
11803
+ The membership supports only lightweight
11804
+ compatible features.
11805
+ """
11806
+ MEMBERSHIP_TYPE_UNSPECIFIED = 0
11807
+ LIGHTWEIGHT = 1
11808
+
11546
11809
  project: str = proto.Field(
11547
11810
  proto.STRING,
11548
11811
  number=1,
@@ -11555,6 +11818,11 @@ class Fleet(proto.Message):
11555
11818
  proto.BOOL,
11556
11819
  number=3,
11557
11820
  )
11821
+ membership_type: MembershipType = proto.Field(
11822
+ proto.ENUM,
11823
+ number=4,
11824
+ enum=MembershipType,
11825
+ )
11558
11826
 
11559
11827
 
11560
11828
  class ControlPlaneEndpointsConfig(proto.Message):
@@ -11582,11 +11850,21 @@ class ControlPlaneEndpointsConfig(proto.Message):
11582
11850
  [DNSEndpointConfig.allow_external_traffic][google.container.v1.ControlPlaneEndpointsConfig.DNSEndpointConfig.allow_external_traffic].
11583
11851
  allow_external_traffic (bool):
11584
11852
  Controls whether user traffic is allowed over
11585
- this endpoint. Note that GCP-managed services
11853
+ this endpoint. Note that Google-managed services
11586
11854
  may still use the endpoint even if this is
11587
11855
  false.
11588
11856
 
11589
11857
  This field is a member of `oneof`_ ``_allow_external_traffic``.
11858
+ enable_k8s_tokens_via_dns (bool):
11859
+ Controls whether the k8s token auth is
11860
+ allowed via DNS.
11861
+
11862
+ This field is a member of `oneof`_ ``_enable_k8s_tokens_via_dns``.
11863
+ enable_k8s_certs_via_dns (bool):
11864
+ Controls whether the k8s certs auth is
11865
+ allowed via DNS.
11866
+
11867
+ This field is a member of `oneof`_ ``_enable_k8s_certs_via_dns``.
11590
11868
  """
11591
11869
 
11592
11870
  endpoint: str = proto.Field(
@@ -11598,6 +11876,16 @@ class ControlPlaneEndpointsConfig(proto.Message):
11598
11876
  number=3,
11599
11877
  optional=True,
11600
11878
  )
11879
+ enable_k8s_tokens_via_dns: bool = proto.Field(
11880
+ proto.BOOL,
11881
+ number=5,
11882
+ optional=True,
11883
+ )
11884
+ enable_k8s_certs_via_dns: bool = proto.Field(
11885
+ proto.BOOL,
11886
+ number=6,
11887
+ optional=True,
11888
+ )
11601
11889
 
11602
11890
  class IPEndpointsConfig(proto.Message):
11603
11891
  r"""IP endpoints configuration.
@@ -11796,6 +12084,9 @@ class ResourceManagerTags(proto.Message):
11796
12084
  class EnterpriseConfig(proto.Message):
11797
12085
  r"""EnterpriseConfig is the cluster enterprise configuration.
11798
12086
 
12087
+ Deprecated: GKE Enterprise features are now available without an
12088
+ Enterprise tier.
12089
+
11799
12090
  Attributes:
11800
12091
  cluster_tier (google.cloud.container_v1.types.EnterpriseConfig.ClusterTier):
11801
12092
  Output only. cluster_tier indicates the effective tier of
@@ -11807,6 +12098,9 @@ class EnterpriseConfig(proto.Message):
11807
12098
  class ClusterTier(proto.Enum):
11808
12099
  r"""Premium tiers for GKE Cluster.
11809
12100
 
12101
+ Deprecated: GKE Enterprise features are now available without an
12102
+ Enterprise tier.
12103
+
11810
12104
  Values:
11811
12105
  CLUSTER_TIER_UNSPECIFIED (0):
11812
12106
  CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
@@ -11816,6 +12110,7 @@ class EnterpriseConfig(proto.Message):
11816
12110
  ENTERPRISE indicates a GKE Enterprise
11817
12111
  cluster.
11818
12112
  """
12113
+ _pb_options = {"deprecated": True}
11819
12114
  CLUSTER_TIER_UNSPECIFIED = 0
11820
12115
  STANDARD = 1
11821
12116
  ENTERPRISE = 2
@@ -11842,13 +12137,53 @@ class SecretManagerConfig(proto.Message):
11842
12137
  Enable/Disable Secret Manager Config.
11843
12138
 
11844
12139
  This field is a member of `oneof`_ ``_enabled``.
12140
+ rotation_config (google.cloud.container_v1.types.SecretManagerConfig.RotationConfig):
12141
+ Rotation config for secret manager.
12142
+
12143
+ This field is a member of `oneof`_ ``_rotation_config``.
11845
12144
  """
11846
12145
 
12146
+ class RotationConfig(proto.Message):
12147
+ r"""RotationConfig is config for secret manager auto rotation.
12148
+
12149
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
12150
+
12151
+ Attributes:
12152
+ enabled (bool):
12153
+ Whether the rotation is enabled.
12154
+
12155
+ This field is a member of `oneof`_ ``_enabled``.
12156
+ rotation_interval (google.protobuf.duration_pb2.Duration):
12157
+ The interval between two consecutive
12158
+ rotations. Default rotation interval is 2
12159
+ minutes.
12160
+
12161
+ This field is a member of `oneof`_ ``_rotation_interval``.
12162
+ """
12163
+
12164
+ enabled: bool = proto.Field(
12165
+ proto.BOOL,
12166
+ number=1,
12167
+ optional=True,
12168
+ )
12169
+ rotation_interval: duration_pb2.Duration = proto.Field(
12170
+ proto.MESSAGE,
12171
+ number=2,
12172
+ optional=True,
12173
+ message=duration_pb2.Duration,
12174
+ )
12175
+
11847
12176
  enabled: bool = proto.Field(
11848
12177
  proto.BOOL,
11849
12178
  number=1,
11850
12179
  optional=True,
11851
12180
  )
12181
+ rotation_config: RotationConfig = proto.Field(
12182
+ proto.MESSAGE,
12183
+ number=2,
12184
+ optional=True,
12185
+ message=RotationConfig,
12186
+ )
11852
12187
 
11853
12188
 
11854
12189
  class BootDisk(proto.Message):
@@ -12358,4 +12693,46 @@ class GkeAutoUpgradeConfig(proto.Message):
12358
12693
  )
12359
12694
 
12360
12695
 
12696
+ class NetworkTierConfig(proto.Message):
12697
+ r"""NetworkTierConfig contains network tier information.
12698
+
12699
+ Attributes:
12700
+ network_tier (google.cloud.container_v1.types.NetworkTierConfig.NetworkTier):
12701
+ Network tier configuration.
12702
+ """
12703
+
12704
+ class NetworkTier(proto.Enum):
12705
+ r"""Network tier configuration.
12706
+
12707
+ Values:
12708
+ NETWORK_TIER_UNSPECIFIED (0):
12709
+ By default, use project-level configuration. When
12710
+ unspecified, the behavior defaults to NETWORK_TIER_DEFAULT.
12711
+ For cluster updates, this implies no action (no-op).
12712
+ NETWORK_TIER_DEFAULT (1):
12713
+ Default network tier. Use project-level
12714
+ configuration. User can specify this value,
12715
+ meaning they want to keep the same behaviour as
12716
+ before cluster level network tier configuration
12717
+ is introduced. This field ensures backward
12718
+ compatibility for the network tier of cluster
12719
+ resources, such as node pools and load
12720
+ balancers, for their external IP addresses.
12721
+ NETWORK_TIER_PREMIUM (2):
12722
+ Premium network tier.
12723
+ NETWORK_TIER_STANDARD (3):
12724
+ Standard network tier.
12725
+ """
12726
+ NETWORK_TIER_UNSPECIFIED = 0
12727
+ NETWORK_TIER_DEFAULT = 1
12728
+ NETWORK_TIER_PREMIUM = 2
12729
+ NETWORK_TIER_STANDARD = 3
12730
+
12731
+ network_tier: NetworkTier = proto.Field(
12732
+ proto.ENUM,
12733
+ number=1,
12734
+ enum=NetworkTier,
12735
+ )
12736
+
12737
+
12361
12738
  __all__ = tuple(sorted(__protobuf__.manifest))
@@ -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.60.0" # {x-release-please-version}
16
+ __version__ = "2.61.0" # {x-release-please-version}
@@ -575,7 +575,7 @@ class ClusterManagerAsyncClient:
575
575
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
576
576
 
577
577
  One firewall is added for the cluster. After cluster creation,
578
- the Kubelet creates routes for each node to allow the containers
578
+ the kubelet creates routes for each node to allow the containers
579
579
  on that node to communicate with all other instances in the
580
580
  cluster.
581
581
 
@@ -1026,7 +1026,7 @@ class ClusterManagerClient(metaclass=ClusterManagerClientMeta):
1026
1026
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
1027
1027
 
1028
1028
  One firewall is added for the cluster. After cluster creation,
1029
- the Kubelet creates routes for each node to allow the containers
1029
+ the kubelet creates routes for each node to allow the containers
1030
1030
  on that node to communicate with all other instances in the
1031
1031
  cluster.
1032
1032
 
@@ -390,7 +390,7 @@ class ClusterManagerGrpcTransport(ClusterManagerTransport):
390
390
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
391
391
 
392
392
  One firewall is added for the cluster. After cluster creation,
393
- the Kubelet creates routes for each node to allow the containers
393
+ the kubelet creates routes for each node to allow the containers
394
394
  on that node to communicate with all other instances in the
395
395
  cluster.
396
396
 
@@ -403,7 +403,7 @@ class ClusterManagerGrpcAsyncIOTransport(ClusterManagerTransport):
403
403
  network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__.
404
404
 
405
405
  One firewall is added for the cluster. After cluster creation,
406
- the Kubelet creates routes for each node to allow the containers
406
+ the kubelet creates routes for each node to allow the containers
407
407
  on that node to communicate with all other instances in the
408
408
  cluster.
409
409
 
@@ -1447,9 +1447,9 @@ class NodeConfig(proto.Message):
1447
1447
  - ``https://www.googleapis.com/auth/compute`` is required
1448
1448
  for mounting persistent storage on your nodes.
1449
1449
  - ``https://www.googleapis.com/auth/devstorage.read_only``
1450
- is required for communicating with **gcr.io** (the `Google
1451
- Container
1452
- Registry <https://cloud.google.com/container-registry/>`__).
1450
+ is required for communicating with **gcr.io** (the
1451
+ `Artifact
1452
+ Registry <https://cloud.google.com/artifact-registry/>`__).
1453
1453
 
1454
1454
  If unspecified, no scopes are added, unless Cloud Logging or
1455
1455
  Cloud Monitoring are enabled, in which case their required
@@ -2662,8 +2662,8 @@ class ContainerdConfig(proto.Message):
2662
2662
  """
2663
2663
 
2664
2664
  class GCPSecretManagerCertificateConfig(proto.Message):
2665
- r"""GCPSecretManagerCertificateConfig configures a secret from `Google
2666
- Secret Manager <https://cloud.google.com/secret-manager>`__.
2665
+ r"""GCPSecretManagerCertificateConfig configures a secret from `Secret
2666
+ Manager <https://cloud.google.com/secret-manager>`__.
2667
2667
 
2668
2668
  Attributes:
2669
2669
  secret_uri (str):
@@ -2921,7 +2921,7 @@ class NodeLabels(proto.Message):
2921
2921
 
2922
2922
 
2923
2923
  class ResourceLabels(proto.Message):
2924
- r"""Collection of `GCP
2924
+ r"""Collection of `Resource Manager
2925
2925
  labels <https://cloud.google.com/resource-manager/docs/creating-managing-labels>`__.
2926
2926
 
2927
2927
  Attributes:
@@ -6070,6 +6070,9 @@ class ClusterUpdate(proto.Message):
6070
6070
  desired_network_tier_config (google.cloud.container_v1beta1.types.NetworkTierConfig):
6071
6071
  The desired network tier configuration for
6072
6072
  the cluster.
6073
+ desired_secret_sync_config (google.cloud.container_v1beta1.types.SecretSyncConfig):
6074
+ Configuration for sync Secret Manager secrets
6075
+ as k8s secrets.
6073
6076
  """
6074
6077
 
6075
6078
  desired_node_version: str = proto.Field(
@@ -6482,6 +6485,11 @@ class ClusterUpdate(proto.Message):
6482
6485
  number=155,
6483
6486
  message="NetworkTierConfig",
6484
6487
  )
6488
+ desired_secret_sync_config: "SecretSyncConfig" = proto.Field(
6489
+ proto.MESSAGE,
6490
+ number=158,
6491
+ message="SecretSyncConfig",
6492
+ )
6485
6493
 
6486
6494
 
6487
6495
  class AdditionalPodRangesConfig(proto.Message):
@@ -9800,9 +9808,9 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
9800
9808
  - ``https://www.googleapis.com/auth/compute`` is required
9801
9809
  for mounting persistent storage on your nodes.
9802
9810
  - ``https://www.googleapis.com/auth/devstorage.read_only``
9803
- is required for communicating with **gcr.io** (the `Google
9804
- Container
9805
- Registry <https://cloud.google.com/container-registry/>`__).
9811
+ is required for communicating with **gcr.io** (the
9812
+ `Artifact
9813
+ Registry <https://cloud.google.com/artifact-registry/>`__).
9806
9814
 
9807
9815
  If unspecified, no scopes are added, unless Cloud Logging or
9808
9816
  Cloud Monitoring are enabled, in which case their required
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-container
3
- Version: 2.60.0
3
+ Version: 2.61.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