Skip to content

Commit d652877

Browse files
feat: [google-cloud-container] add API to enable Provisioning Request API on existing nodepools (#12357)
BEGIN_COMMIT_OVERRIDE feat: add API to enable Provisioning Request API on existing nodepools feat: Promoted enable_confidential_storage to GA (behind allowlist) END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. --- feat: Promoted enable_confidential_storage to GA (behind allowlist) PiperOrigin-RevId: 609154511 Source-Link: googleapis/googleapis@f9d24c3 Source-Link: googleapis/googleapis-gen@73e45b4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiNzNlNDViNDliMjg1YTNhYjY4MzM1MTRiNDc0MDMxZGU4YWZhYTI1NSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b3cf708 commit d652877

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py

+14
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,8 @@ class NodeConfig(proto.Message):
715715
resource_manager_tags (google.cloud.container_v1.types.ResourceManagerTags):
716716
A map of resource manager tag keys and values
717717
to be attached to the nodes.
718+
enable_confidential_storage (bool):
719+
Optional. Reserved for future use.
718720
"""
719721

720722
machine_type: str = proto.Field(
@@ -880,6 +882,10 @@ class NodeConfig(proto.Message):
880882
number=45,
881883
message="ResourceManagerTags",
882884
)
885+
enable_confidential_storage: bool = proto.Field(
886+
proto.BOOL,
887+
number=46,
888+
)
883889

884890

885891
class AdvancedMachineFeatures(proto.Message):
@@ -4415,6 +4421,9 @@ class UpdateNodePoolRequest(proto.Message):
44154421
Engine firewalls using Network Firewall
44164422
Policies. Existing tags will be replaced with
44174423
new values.
4424+
queued_provisioning (google.cloud.container_v1.types.NodePool.QueuedProvisioning):
4425+
Specifies the configuration of queued
4426+
provisioning.
44184427
"""
44194428

44204429
project_id: str = proto.Field(
@@ -4545,6 +4554,11 @@ class UpdateNodePoolRequest(proto.Message):
45454554
number=39,
45464555
message="ResourceManagerTags",
45474556
)
4557+
queued_provisioning: "NodePool.QueuedProvisioning" = proto.Field(
4558+
proto.MESSAGE,
4559+
number=42,
4560+
message="NodePool.QueuedProvisioning",
4561+
)
45484562

45494563

45504564
class SetNodePoolAutoscalingRequest(proto.Message):

packages/google-cloud-container/scripts/fixup_container_v1_keywords.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class containerCallTransformer(cst.CSTTransformer):
7272
'start_ip_rotation': ('project_id', 'zone', 'cluster_id', 'name', 'rotate_credentials', ),
7373
'update_cluster': ('update', 'project_id', 'zone', 'cluster_id', 'name', ),
7474
'update_master': ('master_version', 'project_id', 'zone', 'cluster_id', 'name', ),
75-
'update_node_pool': ('node_version', 'image_type', 'project_id', 'zone', 'cluster_id', 'node_pool_id', 'name', 'locations', 'workload_metadata_config', 'upgrade_settings', 'tags', 'taints', 'labels', 'linux_node_config', 'kubelet_config', 'node_network_config', 'gcfs_config', 'confidential_nodes', 'gvnic', 'etag', 'fast_socket', 'logging_config', 'resource_labels', 'windows_node_config', 'machine_type', 'disk_type', 'disk_size_gb', 'resource_manager_tags', ),
75+
'update_node_pool': ('node_version', 'image_type', 'project_id', 'zone', 'cluster_id', 'node_pool_id', 'name', 'locations', 'workload_metadata_config', 'upgrade_settings', 'tags', 'taints', 'labels', 'linux_node_config', 'kubelet_config', 'node_network_config', 'gcfs_config', 'confidential_nodes', 'gvnic', 'etag', 'fast_socket', 'logging_config', 'resource_labels', 'windows_node_config', 'machine_type', 'disk_type', 'disk_size_gb', 'resource_manager_tags', 'queued_provisioning', ),
7676
}
7777

7878
def leave_Call(self, original: cst.Call, updated: cst.Call) -> cst.CSTNode:

0 commit comments

Comments
 (0)