189
189
"Fleet" ,
190
190
"LocalNvmeSsdBlockConfig" ,
191
191
"EphemeralStorageLocalSsdConfig" ,
192
+ "ResourceManagerTags" ,
192
193
},
193
194
)
194
195
@@ -690,6 +691,9 @@ class NodeConfig(proto.Message):
690
691
sole_tenant_config (google.cloud.container_v1.types.SoleTenantConfig):
691
692
Parameters for node pools to be backed by
692
693
shared sole tenant node groups.
694
+ resource_manager_tags (google.cloud.container_v1.types.ResourceManagerTags):
695
+ A map of resource manager tag keys and values
696
+ to be attached to the nodes.
693
697
"""
694
698
695
699
machine_type : str = proto .Field (
@@ -850,6 +854,11 @@ class NodeConfig(proto.Message):
850
854
number = 42 ,
851
855
message = "SoleTenantConfig" ,
852
856
)
857
+ resource_manager_tags : "ResourceManagerTags" = proto .Field (
858
+ proto .MESSAGE ,
859
+ number = 45 ,
860
+ message = "ResourceManagerTags" ,
861
+ )
853
862
854
863
855
864
class AdvancedMachineFeatures (proto .Message ):
@@ -3105,13 +3114,23 @@ class NodePoolAutoConfig(proto.Message):
3105
3114
specified by the client during cluster creation.
3106
3115
Each tag within the list must comply with
3107
3116
RFC1035.
3117
+ resource_manager_tags (google.cloud.container_v1.types.ResourceManagerTags):
3118
+ Resource manager tag keys and values to be
3119
+ attached to the nodes for managing Compute
3120
+ Engine firewalls using Network Firewall
3121
+ Policies.
3108
3122
"""
3109
3123
3110
3124
network_tags : "NetworkTags" = proto .Field (
3111
3125
proto .MESSAGE ,
3112
3126
number = 1 ,
3113
3127
message = "NetworkTags" ,
3114
3128
)
3129
+ resource_manager_tags : "ResourceManagerTags" = proto .Field (
3130
+ proto .MESSAGE ,
3131
+ number = 2 ,
3132
+ message = "ResourceManagerTags" ,
3133
+ )
3115
3134
3116
3135
3117
3136
class NodePoolDefaults (proto .Message ):
@@ -3371,6 +3390,11 @@ class ClusterUpdate(proto.Message):
3371
3390
the autopilot cluster.
3372
3391
desired_k8s_beta_apis (google.cloud.container_v1.types.K8sBetaAPIConfig):
3373
3392
Desired Beta APIs to be enabled for cluster.
3393
+ desired_node_pool_auto_config_resource_manager_tags (google.cloud.container_v1.types.ResourceManagerTags):
3394
+ The desired resource manager tags that apply
3395
+ to all auto-provisioned node pools in autopilot
3396
+ clusters and node auto-provisioning enabled
3397
+ clusters.
3374
3398
"""
3375
3399
3376
3400
desired_node_version : str = proto .Field (
@@ -3612,6 +3636,13 @@ class ClusterUpdate(proto.Message):
3612
3636
number = 131 ,
3613
3637
message = "K8sBetaAPIConfig" ,
3614
3638
)
3639
+ desired_node_pool_auto_config_resource_manager_tags : "ResourceManagerTags" = (
3640
+ proto .Field (
3641
+ proto .MESSAGE ,
3642
+ number = 136 ,
3643
+ message = "ResourceManagerTags" ,
3644
+ )
3645
+ )
3615
3646
3616
3647
3617
3648
class AdditionalPodRangesConfig (proto .Message ):
@@ -3866,6 +3897,11 @@ class Type(proto.Enum):
3866
3897
resources and is not typically an indication of issues. For
3867
3898
more details, see `documentation on
3868
3899
resizes <https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs>`__.
3900
+ FLEET_FEATURE_UPGRADE (19):
3901
+ Fleet features of GKE Enterprise are being
3902
+ upgraded. The cluster should be assumed to be
3903
+ blocked for other upgrades until the operation
3904
+ finishes.
3869
3905
"""
3870
3906
TYPE_UNSPECIFIED = 0
3871
3907
CREATE_CLUSTER = 1
@@ -3885,6 +3921,7 @@ class Type(proto.Enum):
3885
3921
SET_NETWORK_POLICY = 15
3886
3922
SET_MAINTENANCE_POLICY = 16
3887
3923
RESIZE_CLUSTER = 18
3924
+ FLEET_FEATURE_UPGRADE = 19
3888
3925
3889
3926
name : str = proto .Field (
3890
3927
proto .STRING ,
@@ -4307,6 +4344,12 @@ class UpdateNodePoolRequest(proto.Message):
4307
4344
allowed disk size is 10GB. Initiates an upgrade
4308
4345
operation that migrates the nodes in the node
4309
4346
pool to the specified disk size.
4347
+ resource_manager_tags (google.cloud.container_v1.types.ResourceManagerTags):
4348
+ Desired resource manager tag keys and values
4349
+ to be attached to the nodes for managing Compute
4350
+ Engine firewalls using Network Firewall
4351
+ Policies. Existing tags will be replaced with
4352
+ new values.
4310
4353
"""
4311
4354
4312
4355
project_id : str = proto .Field (
@@ -4432,6 +4475,11 @@ class UpdateNodePoolRequest(proto.Message):
4432
4475
proto .INT64 ,
4433
4476
number = 38 ,
4434
4477
)
4478
+ resource_manager_tags : "ResourceManagerTags" = proto .Field (
4479
+ proto .MESSAGE ,
4480
+ number = 39 ,
4481
+ message = "ResourceManagerTags" ,
4482
+ )
4435
4483
4436
4484
4437
4485
class SetNodePoolAutoscalingRequest (proto .Message ):
@@ -9031,20 +9079,30 @@ class Fleet(proto.Message):
9031
9079
9032
9080
class LocalNvmeSsdBlockConfig (proto .Message ):
9033
9081
r"""LocalNvmeSsdBlockConfig contains configuration for using
9034
- raw-block local NVMe SSD.
9082
+ raw-block local NVMe SSDs
9035
9083
9036
9084
Attributes:
9037
9085
local_ssd_count (int):
9038
- The number of raw-block local NVMe SSD disks
9039
- to be attached to the node. Each local SSD is
9040
- 375 GB in size. If zero, it means no raw-block
9041
- local NVMe SSD disks to be attached to the node.
9042
- The limit for this value is dependent upon the
9043
- maximum number of disks available on a machine
9044
- per zone. See:
9045
-
9046
- https://cloud.google.com/compute/docs/disks/local-ssd
9047
- for more information.
9086
+ Number of local NVMe SSDs to use. The limit for this value
9087
+ is dependent upon the maximum number of disk available on a
9088
+ machine per zone. See:
9089
+ https://cloud.google.com/compute/docs/disks/local-ssd for
9090
+ more information.
9091
+
9092
+ A zero (or unset) value has different meanings depending on
9093
+ machine type being used:
9094
+
9095
+ 1. For pre-Gen3 machines, which support flexible numbers of
9096
+ local ssds, zero (or unset) means to disable using local
9097
+ SSDs as ephemeral storage.
9098
+ 2. For Gen3 machines which dictate a specific number of
9099
+ local ssds, zero (or unset) means to use the default
9100
+ number of local ssds that goes with that machine type.
9101
+ For example, for a c3-standard-8-lssd machine, 2 local
9102
+ ssds would be provisioned. For c3-standard-8 (which
9103
+ doesn't support local ssds), 0 will be provisioned. See
9104
+ https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
9105
+ for more info.
9048
9106
"""
9049
9107
9050
9108
local_ssd_count : int = proto .Field (
@@ -9055,20 +9113,31 @@ class LocalNvmeSsdBlockConfig(proto.Message):
9055
9113
9056
9114
class EphemeralStorageLocalSsdConfig (proto .Message ):
9057
9115
r"""EphemeralStorageLocalSsdConfig contains configuration for the
9058
- node ephemeral storage using Local SSD .
9116
+ node ephemeral storage using Local SSDs .
9059
9117
9060
9118
Attributes:
9061
9119
local_ssd_count (int):
9062
- Number of local SSDs to use to back ephemeral
9063
- storage. Uses NVMe interfaces. Each local SSD is
9064
- 375 GB in size. If zero, it means to disable
9065
- using local SSDs as ephemeral storage. The limit
9066
- for this value is dependent upon the maximum
9067
- number of disks available on a machine per zone.
9068
- See:
9069
-
9070
- https://cloud.google.com/compute/docs/disks/local-ssd
9071
- for more information.
9120
+ Number of local SSDs to use to back ephemeral storage. Uses
9121
+ NVMe interfaces.
9122
+
9123
+ A zero (or unset) value has different meanings depending on
9124
+ machine type being used:
9125
+
9126
+ 1. For pre-Gen3 machines, which support flexible numbers of
9127
+ local ssds, zero (or unset) means to disable using local
9128
+ SSDs as ephemeral storage. The limit for this value is
9129
+ dependent upon the maximum number of disk available on a
9130
+ machine per zone. See:
9131
+ https://cloud.google.com/compute/docs/disks/local-ssd for
9132
+ more information.
9133
+ 2. For Gen3 machines which dictate a specific number of
9134
+ local ssds, zero (or unset) means to use the default
9135
+ number of local ssds that goes with that machine type.
9136
+ For example, for a c3-standard-8-lssd machine, 2 local
9137
+ ssds would be provisioned. For c3-standard-8 (which
9138
+ doesn't support local ssds), 0 will be provisioned. See
9139
+ https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
9140
+ for more info.
9072
9141
"""
9073
9142
9074
9143
local_ssd_count : int = proto .Field (
@@ -9077,4 +9146,29 @@ class EphemeralStorageLocalSsdConfig(proto.Message):
9077
9146
)
9078
9147
9079
9148
9149
+ class ResourceManagerTags (proto .Message ):
9150
+ r"""A map of resource manager tag keys and values to be attached
9151
+ to the nodes for managing Compute Engine firewalls using Network
9152
+ Firewall Policies. Tags must be according to specifications in
9153
+ https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications.
9154
+ A maximum of 5 tag key-value pairs can be specified. Existing
9155
+ tags will be replaced with new values.
9156
+
9157
+ Attributes:
9158
+ tags (MutableMapping[str, str]):
9159
+ TagKeyValue must be in one of the following formats
9160
+ ([KEY]=[VALUE])
9161
+
9162
+ 1. ``tagKeys/{tag_key_id}=tagValues/{tag_value_id}``
9163
+ 2. ``{org_id}/{tag_key_name}={tag_value_name}``
9164
+ 3. ``{project_id}/{tag_key_name}={tag_value_name}``
9165
+ """
9166
+
9167
+ tags : MutableMapping [str , str ] = proto .MapField (
9168
+ proto .STRING ,
9169
+ proto .STRING ,
9170
+ number = 1 ,
9171
+ )
9172
+
9173
+
9080
9174
__all__ = tuple (sorted (__protobuf__ .manifest ))
0 commit comments