Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit d56f699

Browse files
feat: support for NodeAutoprovisioning ImageType (#107)
PiperOrigin-RevId: 378163331 Source-Link: googleapis/googleapis@e610c3b Source-Link: https://github.com/googleapis/googleapis-gen/commit/49f69683660cbd5081c0b0d58b61fbfb9161c0e0
1 parent 6da6c5a commit d56f699

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

google/cloud/container_v1/types/cluster_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,6 +2993,8 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
29932993
For more information about protecting resources with Cloud
29942994
KMS Keys please see:
29952995
https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2996+
image_type (str):
2997+
The image type to use for NAP created node.
29962998
"""
29972999

29983000
oauth_scopes = proto.RepeatedField(proto.STRING, number=1,)
@@ -3008,6 +3010,7 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
30083010
proto.MESSAGE, number=8, message="ShieldedInstanceConfig",
30093011
)
30103012
boot_disk_kms_key = proto.Field(proto.STRING, number=9,)
3013+
image_type = proto.Field(proto.STRING, number=10,)
30113014

30123015

30133016
class ResourceLimit(proto.Message):

google/cloud/container_v1beta1/types/cluster_service.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3359,6 +3359,9 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
33593359
For more information about protecting resources with Cloud
33603360
KMS Keys please see:
33613361
https://cloud.google.com/compute/docs/disks/customer-managed-encryption
3362+
image_type (str):
3363+
The image type to use for node created by
3364+
NodeAutoprovisioning.
33623365
"""
33633366

33643367
oauth_scopes = proto.RepeatedField(proto.STRING, number=1,)
@@ -3374,6 +3377,7 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
33743377
proto.MESSAGE, number=8, message="ShieldedInstanceConfig",
33753378
)
33763379
boot_disk_kms_key = proto.Field(proto.STRING, number=9,)
3380+
image_type = proto.Field(proto.STRING, number=10,)
33773381

33783382

33793383
class ResourceLimit(proto.Message):

0 commit comments

Comments
 (0)