google-cloud-container 2.29.0__tar.gz → 2.31.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 (54) hide show
  1. {google-cloud-container-2.29.0/google_cloud_container.egg-info → google-cloud-container-2.31.0}/PKG-INFO +1 -1
  2. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container/gapic_version.py +1 -1
  3. {google-cloud-container-2.29.0/google/cloud/container_v1beta1 → google-cloud-container-2.31.0/google/cloud/container_v1}/gapic_version.py +1 -1
  4. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/types/cluster_service.py +37 -0
  5. {google-cloud-container-2.29.0/google/cloud/container_v1 → google-cloud-container-2.31.0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
  6. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/types/cluster_service.py +64 -0
  7. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0/google_cloud_container.egg-info}/PKG-INFO +1 -1
  8. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/LICENSE +0 -0
  9. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/MANIFEST.in +0 -0
  10. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/README.rst +0 -0
  11. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container/__init__.py +0 -0
  12. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container/py.typed +0 -0
  13. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/__init__.py +0 -0
  14. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
  15. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/py.typed +0 -0
  16. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/__init__.py +0 -0
  17. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
  18. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +0 -0
  19. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/client.py +0 -0
  20. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
  21. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
  22. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +0 -0
  23. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +0 -0
  24. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
  25. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1/types/__init__.py +0 -0
  26. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/__init__.py +0 -0
  27. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
  28. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/py.typed +0 -0
  29. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
  30. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
  31. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +0 -0
  32. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +0 -0
  33. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
  34. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
  35. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +0 -0
  36. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +0 -0
  37. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
  38. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google/cloud/container_v1beta1/types/__init__.py +0 -0
  39. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
  40. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
  41. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/namespace_packages.txt +0 -0
  42. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
  43. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/requires.txt +0 -0
  44. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/google_cloud_container.egg-info/top_level.txt +0 -0
  45. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/setup.cfg +0 -0
  46. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/setup.py +0 -0
  47. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/__init__.py +0 -0
  48. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/system/gapic/v1/test_system_cluster_manager_v1.py +0 -0
  49. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/__init__.py +0 -0
  50. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/gapic/__init__.py +0 -0
  51. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/gapic/container_v1/__init__.py +0 -0
  52. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +0 -0
  53. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
  54. {google-cloud-container-2.29.0 → google-cloud-container-2.31.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.29.0
3
+ Version: 2.31.0
4
4
  Summary: Google Cloud Container API client library
5
5
  Home-page: https://github.com/googleapis/python-container
6
6
  Author: Google LLC
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "2.29.0" # {x-release-please-version}
16
+ __version__ = "2.31.0" # {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.29.0" # {x-release-please-version}
16
+ __version__ = "2.31.0" # {x-release-please-version}
@@ -4286,6 +4286,24 @@ class UpdateNodePoolRequest(proto.Message):
4286
4286
  windows_node_config (google.cloud.container_v1.types.WindowsNodeConfig):
4287
4287
  Parameters that can be configured on Windows
4288
4288
  nodes.
4289
+ machine_type (str):
4290
+ Optional. The desired `Google Compute Engine machine
4291
+ type <https://cloud.google.com/compute/docs/machine-types>`__
4292
+ for nodes in the node pool. Initiates an upgrade operation
4293
+ that migrates the nodes in the node pool to the specified
4294
+ machine type.
4295
+ disk_type (str):
4296
+ Optional. The desired disk type (e.g.
4297
+ 'pd-standard', 'pd-ssd' or 'pd-balanced') for
4298
+ nodes in the node pool. Initiates an upgrade
4299
+ operation that migrates the nodes in the node
4300
+ pool to the specified disk type.
4301
+ disk_size_gb (int):
4302
+ Optional. The desired disk size for nodes in
4303
+ the node pool specified in GB. The smallest
4304
+ allowed disk size is 10GB. Initiates an upgrade
4305
+ operation that migrates the nodes in the node
4306
+ pool to the specified disk size.
4289
4307
  """
4290
4308
 
4291
4309
  project_id: str = proto.Field(
@@ -4399,6 +4417,18 @@ class UpdateNodePoolRequest(proto.Message):
4399
4417
  number=34,
4400
4418
  message="WindowsNodeConfig",
4401
4419
  )
4420
+ machine_type: str = proto.Field(
4421
+ proto.STRING,
4422
+ number=36,
4423
+ )
4424
+ disk_type: str = proto.Field(
4425
+ proto.STRING,
4426
+ number=37,
4427
+ )
4428
+ disk_size_gb: int = proto.Field(
4429
+ proto.INT64,
4430
+ number=38,
4431
+ )
4402
4432
 
4403
4433
 
4404
4434
  class SetNodePoolAutoscalingRequest(proto.Message):
@@ -5787,6 +5817,9 @@ class NodePool(proto.Message):
5787
5817
  Attributes:
5788
5818
  type_ (google.cloud.container_v1.types.NodePool.PlacementPolicy.Type):
5789
5819
  The type of placement.
5820
+ tpu_topology (str):
5821
+ Optional. TPU placement topology for pod slice node pool.
5822
+ https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
5790
5823
  policy_name (str):
5791
5824
  If set, refers to the name of a custom
5792
5825
  resource policy supplied by the user. The
@@ -5815,6 +5848,10 @@ class NodePool(proto.Message):
5815
5848
  number=1,
5816
5849
  enum="NodePool.PlacementPolicy.Type",
5817
5850
  )
5851
+ tpu_topology: str = proto.Field(
5852
+ proto.STRING,
5853
+ number=2,
5854
+ )
5818
5855
  policy_name: str = proto.Field(
5819
5856
  proto.STRING,
5820
5857
  number=3,
@@ -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.29.0" # {x-release-please-version}
16
+ __version__ = "2.31.0" # {x-release-please-version}
@@ -2558,6 +2558,9 @@ class BinaryAuthorization(proto.Message):
2558
2558
  Mode of operation for binauthz policy
2559
2559
  evaluation. If unspecified, defaults to
2560
2560
  DISABLED.
2561
+ policy_bindings (MutableSequence[google.cloud.container_v1beta1.types.BinaryAuthorization.PolicyBinding]):
2562
+ Optional. Binauthz policies that apply to
2563
+ this cluster.
2561
2564
  """
2562
2565
 
2563
2566
  class EvaluationMode(proto.Enum):
@@ -2573,10 +2576,39 @@ class BinaryAuthorization(proto.Message):
2573
2576
  BinaryAuthorization using the project's
2574
2577
  singleton policy. This is equivalent to setting
2575
2578
  the enabled boolean to true.
2579
+ POLICY_BINDINGS (5):
2580
+ Use Binary Authorization with the policies specified in
2581
+ policy_bindings.
2582
+ POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE (6):
2583
+ Use Binary Authorization with the policies specified in
2584
+ policy_bindings, and also with the project's singleton
2585
+ policy in enforcement mode.
2576
2586
  """
2577
2587
  EVALUATION_MODE_UNSPECIFIED = 0
2578
2588
  DISABLED = 1
2579
2589
  PROJECT_SINGLETON_POLICY_ENFORCE = 2
2590
+ POLICY_BINDINGS = 5
2591
+ POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE = 6
2592
+
2593
+ class PolicyBinding(proto.Message):
2594
+ r"""Binauthz policy that applies to this cluster.
2595
+
2596
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2597
+
2598
+ Attributes:
2599
+ name (str):
2600
+ The relative resource name of the binauthz platform policy
2601
+ to audit. GKE platform policies have the following format:
2602
+ ``projects/{project_number}/platforms/gke/policies/{policy_id}``.
2603
+
2604
+ This field is a member of `oneof`_ ``_name``.
2605
+ """
2606
+
2607
+ name: str = proto.Field(
2608
+ proto.STRING,
2609
+ number=1,
2610
+ optional=True,
2611
+ )
2580
2612
 
2581
2613
  enabled: bool = proto.Field(
2582
2614
  proto.BOOL,
@@ -2587,6 +2619,11 @@ class BinaryAuthorization(proto.Message):
2587
2619
  number=2,
2588
2620
  enum=EvaluationMode,
2589
2621
  )
2622
+ policy_bindings: MutableSequence[PolicyBinding] = proto.RepeatedField(
2623
+ proto.MESSAGE,
2624
+ number=5,
2625
+ message=PolicyBinding,
2626
+ )
2590
2627
 
2591
2628
 
2592
2629
  class PodSecurityPolicyConfig(proto.Message):
@@ -4867,6 +4904,21 @@ class UpdateNodePoolRequest(proto.Message):
4867
4904
  windows_node_config (google.cloud.container_v1beta1.types.WindowsNodeConfig):
4868
4905
  Parameters that can be configured on Windows
4869
4906
  nodes.
4907
+ machine_type (str):
4908
+ Optional. The desired machine type for nodes
4909
+ in the node pool. Initiates an upgrade operation
4910
+ that migrates the nodes in the node pool to the
4911
+ specified machine type.
4912
+ disk_type (str):
4913
+ Optional. The desired disk type for nodes in
4914
+ the node pool. Initiates an upgrade operation
4915
+ that migrates the nodes in the node pool to the
4916
+ specified disk type.
4917
+ disk_size_gb (int):
4918
+ Optional. The desired disk size for nodes in
4919
+ the node pool. Initiates an upgrade operation
4920
+ that migrates the nodes in the node pool to the
4921
+ specified disk size.
4870
4922
  """
4871
4923
 
4872
4924
  project_id: str = proto.Field(
@@ -4980,6 +5032,18 @@ class UpdateNodePoolRequest(proto.Message):
4980
5032
  number=34,
4981
5033
  message="WindowsNodeConfig",
4982
5034
  )
5035
+ machine_type: str = proto.Field(
5036
+ proto.STRING,
5037
+ number=36,
5038
+ )
5039
+ disk_type: str = proto.Field(
5040
+ proto.STRING,
5041
+ number=37,
5042
+ )
5043
+ disk_size_gb: int = proto.Field(
5044
+ proto.INT64,
5045
+ number=38,
5046
+ )
4983
5047
 
4984
5048
 
4985
5049
  class SetNodePoolAutoscalingRequest(proto.Message):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.29.0
3
+ Version: 2.31.0
4
4
  Summary: Google Cloud Container API client library
5
5
  Home-page: https://github.com/googleapis/python-container
6
6
  Author: Google LLC