google-cloud-container-v1beta1 0.46.0 → 0.47.0

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.
@@ -33,6 +33,7 @@ module Google
33
33
  # net.core.busy_read
34
34
  # net.core.netdev_max_backlog
35
35
  # net.core.rmem_max
36
+ # net.core.rmem_default
36
37
  # net.core.wmem_default
37
38
  # net.core.wmem_max
38
39
  # net.core.optmem_max
@@ -40,6 +41,16 @@ module Google
40
41
  # net.ipv4.tcp_rmem
41
42
  # net.ipv4.tcp_wmem
42
43
  # net.ipv4.tcp_tw_reuse
44
+ # net.netfilter.nf_conntrack_max
45
+ # net.netfilter.nf_conntrack_buckets
46
+ # net.netfilter.nf_conntrack_tcp_timeout_close_wait
47
+ # net.netfilter.nf_conntrack_tcp_timeout_time_wait
48
+ # net.netfilter.nf_conntrack_tcp_timeout_established
49
+ # net.netfilter.nf_conntrack_acct
50
+ # kernel.shmmni
51
+ # kernel.shmmax
52
+ # kernel.shmall
53
+ # vm.max_map_count
43
54
  # @!attribute [rw] cgroup_mode
44
55
  # @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CgroupMode]
45
56
  # cgroup_mode specifies the cgroup mode to be used on the node.
@@ -89,10 +100,10 @@ module Google
89
100
 
90
101
  # Parameters that can be configured on Windows nodes.
91
102
  # Windows Node Config that define the parameters that will be used to
92
- # configure the Windows node pool settings
103
+ # configure the Windows node pool settings.
93
104
  # @!attribute [rw] os_version
94
105
  # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig::OSVersion]
95
- # OSVersion specifies the Windows node config to be used on the node
106
+ # OSVersion specifies the Windows node config to be used on the node.
96
107
  class WindowsNodeConfig
97
108
  include ::Google::Protobuf::MessageExts
98
109
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -102,10 +113,10 @@ module Google
102
113
  # When OSVersion is not specified
103
114
  OS_VERSION_UNSPECIFIED = 0
104
115
 
105
- # LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
116
+ # LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image.
106
117
  OS_VERSION_LTSC2019 = 1
107
118
 
108
- # LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
119
+ # LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image.
109
120
  OS_VERSION_LTSC2022 = 2
110
121
  end
111
122
  end
@@ -122,6 +133,16 @@ module Google
122
133
  # * "static": allows pods with certain resource characteristics to be granted
123
134
  # increased CPU affinity and exclusivity on the node.
124
135
  # The default value is 'none' if unspecified.
136
+ # @!attribute [rw] topology_manager
137
+ # @return [::Google::Cloud::Container::V1beta1::TopologyManager]
138
+ # Optional. Controls Topology Manager configuration on the node.
139
+ # For more information, see:
140
+ # https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
141
+ # @!attribute [rw] memory_manager
142
+ # @return [::Google::Cloud::Container::V1beta1::MemoryManager]
143
+ # Optional. Controls NUMA-aware Memory Manager configuration on the
144
+ # node. For more information, see:
145
+ # https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/
125
146
  # @!attribute [rw] cpu_cfs_quota
126
147
  # @return [::Google::Protobuf::BoolValue]
127
148
  # Enable CPU CFS quota enforcement for containers that specify CPU limits.
@@ -153,11 +174,152 @@ module Google
153
174
  # @!attribute [rw] insecure_kubelet_readonly_port_enabled
154
175
  # @return [::Boolean]
155
176
  # Enable or disable Kubelet read only port.
177
+ # @!attribute [rw] image_gc_low_threshold_percent
178
+ # @return [::Integer]
179
+ # Optional. Defines the percent of disk usage before which image garbage
180
+ # collection is never run. Lowest disk usage to garbage collect to. The
181
+ # percent is calculated as this field value out of 100.
182
+ #
183
+ # The value must be between 10 and 85, inclusive and smaller than
184
+ # image_gc_high_threshold_percent.
185
+ #
186
+ # The default value is 80 if unspecified.
187
+ # @!attribute [rw] image_gc_high_threshold_percent
188
+ # @return [::Integer]
189
+ # Optional. Defines the percent of disk usage after which image garbage
190
+ # collection is always run. The percent is calculated as this field value out
191
+ # of 100.
192
+ #
193
+ # The value must be between 10 and 85, inclusive and greater than
194
+ # image_gc_low_threshold_percent.
195
+ #
196
+ # The default value is 85 if unspecified.
197
+ # @!attribute [rw] image_minimum_gc_age
198
+ # @return [::String]
199
+ # Optional. Defines the minimum age for an unused image before it is garbage
200
+ # collected.
201
+ #
202
+ # The string must be a sequence of decimal numbers, each with optional
203
+ # fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time
204
+ # units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
205
+ #
206
+ # The value must be a positive duration less than or equal to 2 minutes.
207
+ #
208
+ # The default value is "2m0s" if unspecified.
209
+ # @!attribute [rw] image_maximum_gc_age
210
+ # @return [::String]
211
+ # Optional. Defines the maximum age an image can be unused before it is
212
+ # garbage collected. The string must be a sequence of decimal numbers, each
213
+ # with optional fraction and a unit suffix, such as "300s", "1.5h", and
214
+ # "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
215
+ #
216
+ # The value must be a positive duration greater than image_minimum_gc_age
217
+ # or "0s".
218
+ #
219
+ # The default value is "0s" if unspecified, which disables this field,
220
+ # meaning images won't be garbage collected based on being unused for too
221
+ # long.
222
+ # @!attribute [rw] container_log_max_size
223
+ # @return [::String]
224
+ # Optional. Defines the maximum size of the container log file before it is
225
+ # rotated. See
226
+ # https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation
227
+ #
228
+ # Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are
229
+ # Ki, Mi, Gi.
230
+ # The value must be between 10Mi and 500Mi, inclusive.
231
+ #
232
+ # Note that the total container log size (container_log_max_size *
233
+ # container_log_max_files) cannot exceed 1% of the total
234
+ # storage of the node, to avoid disk pressure caused by log files.
235
+ #
236
+ # The default value is 10Mi if unspecified.
237
+ # @!attribute [rw] container_log_max_files
238
+ # @return [::Integer]
239
+ # Optional. Defines the maximum number of container log files that can be
240
+ # present for a container. See
241
+ # https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation
242
+ #
243
+ # The value must be an integer between 2 and 10, inclusive.
244
+ # The default value is 5 if unspecified.
245
+ # @!attribute [rw] allowed_unsafe_sysctls
246
+ # @return [::Array<::String>]
247
+ # Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl
248
+ # patterns (ending in `*`).
249
+ #
250
+ # The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`,
251
+ # `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty
252
+ # means they cannot be set on Pods.
253
+ #
254
+ # To allow certain sysctls or sysctl patterns to be set on Pods, list them
255
+ # separated by commas.
256
+ # For example: `kernel.msg*,net.ipv4.route.min_pmtu`.
257
+ #
258
+ # See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/
259
+ # for more details.
156
260
  class NodeKubeletConfig
157
261
  include ::Google::Protobuf::MessageExts
158
262
  extend ::Google::Protobuf::MessageExts::ClassMethods
159
263
  end
160
264
 
265
+ # TopologyManager defines the configuration options for Topology Manager
266
+ # feature. See
267
+ # https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
268
+ # @!attribute [rw] policy
269
+ # @return [::String]
270
+ # Configures the strategy for resource alignment.
271
+ # Allowed values are:
272
+ #
273
+ # * none: the default policy, and does not perform any topology alignment.
274
+ # * restricted: the topology manager stores the preferred NUMA node affinity
275
+ # for the container, and will reject the pod if the affinity if not
276
+ # preferred.
277
+ # * best-effort: the topology manager stores the preferred NUMA node affinity
278
+ # for the container. If the affinity is not preferred, the topology manager
279
+ # will admit the pod to the node anyway.
280
+ # * single-numa-node: the topology manager determines if the single NUMA node
281
+ # affinity is possible. If it is, Topology Manager will store this and the
282
+ # Hint Providers can then use this information when making the resource
283
+ # allocation decision. If, however, this is not possible then the
284
+ # Topology Manager will reject the pod from the node. This will result in a
285
+ # pod in a Terminated state with a pod admission failure.
286
+ #
287
+ # The default policy value is 'none' if unspecified.
288
+ # Details about each strategy can be found
289
+ # [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).
290
+ # @!attribute [rw] scope
291
+ # @return [::String]
292
+ # The Topology Manager aligns resources in following scopes:
293
+ #
294
+ # * container
295
+ # * pod
296
+ #
297
+ # The default scope is 'container' if unspecified.
298
+ # See
299
+ # https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes
300
+ class TopologyManager
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
305
+ # The option enables the Kubernetes NUMA-aware Memory Manager feature.
306
+ # Detailed description about the feature can be found
307
+ # [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).
308
+ # @!attribute [rw] policy
309
+ # @return [::String]
310
+ # Controls the memory management policy on the Node.
311
+ # See
312
+ # https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies
313
+ #
314
+ # The following values are allowed.
315
+ # * "none"
316
+ # * "static"
317
+ # The default value is 'none' if unspecified.
318
+ class MemoryManager
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
+ end
322
+
161
323
  # Parameters that describe the nodes in a cluster.
162
324
  #
163
325
  # GKE Autopilot clusters do not
@@ -175,7 +337,6 @@ module Google
175
337
  # @return [::Integer]
176
338
  # Size of the disk attached to each node, specified in GB.
177
339
  # The smallest allowed disk size is 10GB.
178
- #
179
340
  # If unspecified, the default disk size is 100GB.
180
341
  # @!attribute [rw] oauth_scopes
181
342
  # @return [::Array<::String>]
@@ -390,9 +551,29 @@ module Google
390
551
  # @!attribute [rw] secondary_boot_disks
391
552
  # @return [::Array<::Google::Cloud::Container::V1beta1::SecondaryBootDisk>]
392
553
  # List of secondary boot disks attached to the nodes.
554
+ # @!attribute [rw] storage_pools
555
+ # @return [::Array<::String>]
556
+ # List of Storage Pools where boot disks are provisioned.
393
557
  # @!attribute [rw] secondary_boot_disk_update_strategy
394
558
  # @return [::Google::Cloud::Container::V1beta1::SecondaryBootDiskUpdateStrategy]
395
559
  # Secondary boot disk update strategy.
560
+ # @!attribute [rw] max_run_duration
561
+ # @return [::Google::Protobuf::Duration]
562
+ # The maximum duration for the nodes to exist.
563
+ # If unspecified, the nodes can exist indefinitely.
564
+ # @!attribute [rw] local_ssd_encryption_mode
565
+ # @return [::Google::Cloud::Container::V1beta1::NodeConfig::LocalSsdEncryptionMode]
566
+ # Specifies which method should be used for encrypting the
567
+ # Local SSDs attached to the node.
568
+ # @!attribute [r] effective_cgroup_mode
569
+ # @return [::Google::Cloud::Container::V1beta1::NodeConfig::EffectiveCgroupMode]
570
+ # Output only. effective_cgroup_mode is the cgroup mode actually used by the
571
+ # node pool. It is determined by the cgroup mode specified in the
572
+ # LinuxNodeConfig or the default cgroup mode based on the cluster creation
573
+ # version.
574
+ # @!attribute [rw] flex_start
575
+ # @return [::Boolean]
576
+ # Flex Start flag for enabling Flex Start VM.
396
577
  class NodeConfig
397
578
  include ::Google::Protobuf::MessageExts
398
579
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -423,6 +604,41 @@ module Google
423
604
  include ::Google::Protobuf::MessageExts
424
605
  extend ::Google::Protobuf::MessageExts::ClassMethods
425
606
  end
607
+
608
+ # LocalSsdEncryptionMode specifies the method used for encrypting the Local
609
+ # SSDs attached to the node.
610
+ module LocalSsdEncryptionMode
611
+ # The given node will be encrypted using keys managed by Google
612
+ # infrastructure and the keys will be deleted when the node is
613
+ # deleted.
614
+ LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED = 0
615
+
616
+ # The given node will be encrypted using keys managed by Google
617
+ # infrastructure and the keys will be deleted when the node is
618
+ # deleted.
619
+ STANDARD_ENCRYPTION = 1
620
+
621
+ # The given node will opt-in for using ephemeral key for
622
+ # encryption of Local SSDs.
623
+ # The Local SSDs will not be able to recover data in case of node
624
+ # crash.
625
+ EPHEMERAL_KEY_ENCRYPTION = 2
626
+ end
627
+
628
+ # Possible effective cgroup modes for the node.
629
+ module EffectiveCgroupMode
630
+ # EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the
631
+ # node pool is unspecified, i.e. the node pool is a Windows node pool.
632
+ EFFECTIVE_CGROUP_MODE_UNSPECIFIED = 0
633
+
634
+ # CGROUP_MODE_V1 means the node pool is configured to use cgroupv1 for the
635
+ # cgroup configuration.
636
+ EFFECTIVE_CGROUP_MODE_V1 = 1
637
+
638
+ # CGROUP_MODE_V2 means the node pool is configured to use cgroupv2 for the
639
+ # cgroup configuration.
640
+ EFFECTIVE_CGROUP_MODE_V2 = 2
641
+ end
426
642
  end
427
643
 
428
644
  # Specifies options for controlling advanced machine features.
@@ -434,9 +650,28 @@ module Google
434
650
  # @!attribute [rw] enable_nested_virtualization
435
651
  # @return [::Boolean]
436
652
  # Whether or not to enable nested virtualization (defaults to false).
653
+ # @!attribute [rw] performance_monitoring_unit
654
+ # @return [::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures::PerformanceMonitoringUnit]
655
+ # Type of Performance Monitoring Unit (PMU) requested on node pool instances.
656
+ # If unset, PMU will not be available to the node.
437
657
  class AdvancedMachineFeatures
438
658
  include ::Google::Protobuf::MessageExts
439
659
  extend ::Google::Protobuf::MessageExts::ClassMethods
660
+
661
+ # Level of PMU access
662
+ module PerformanceMonitoringUnit
663
+ # PMU not enabled.
664
+ PERFORMANCE_MONITORING_UNIT_UNSPECIFIED = 0
665
+
666
+ # Architecturally defined non-LLC events.
667
+ ARCHITECTURAL = 1
668
+
669
+ # Most documented core/L2 events.
670
+ STANDARD = 2
671
+
672
+ # Most documented core/L2 and LLC events.
673
+ ENHANCED = 3
674
+ end
440
675
  end
441
676
 
442
677
  # Parameters for node pool-level network config.
@@ -485,7 +720,7 @@ module Google
485
720
  # @return [::Boolean]
486
721
  # Whether nodes have internal IP addresses only.
487
722
  # If enable_private_nodes is not specified, then the value is derived from
488
- # [cluster.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
723
+ # [Cluster.NetworkConfig.default_enable_private_nodes][]
489
724
  # @!attribute [rw] network_performance_config
490
725
  # @return [::Google::Cloud::Container::V1beta1::NodeNetworkConfig::NetworkPerformanceConfig]
491
726
  # Network bandwidth tier configuration.
@@ -689,6 +924,9 @@ module Google
689
924
  # ssds), 0 will be provisioned. See
690
925
  # https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
691
926
  # for more info.
927
+ # @!attribute [rw] data_cache_count
928
+ # @return [::Integer]
929
+ # Number of local SSDs to use for GKE Data Cache.
692
930
  class EphemeralStorageLocalSsdConfig
693
931
  include ::Google::Protobuf::MessageExts
694
932
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -806,7 +1044,7 @@ module Google
806
1044
  # @return [::Array<::String>]
807
1045
  # List of fully qualified domain names (FQDN).
808
1046
  # Specifying port is supported.
809
- # Wilcards are NOT supported.
1047
+ # Wildcards are NOT supported.
810
1048
  # Examples:
811
1049
  # - my.customdomain.com
812
1050
  # - 10.0.1.2:5000
@@ -1019,7 +1257,8 @@ module Google
1019
1257
  # @!attribute [r] client_certificate
1020
1258
  # @return [::String]
1021
1259
  # Output only. Base64-encoded public certificate used by clients to
1022
- # authenticate to the cluster endpoint.
1260
+ # authenticate to the cluster endpoint. Issued only if
1261
+ # client_certificate_config is set.
1023
1262
  # @!attribute [r] client_key
1024
1263
  # @return [::String]
1025
1264
  # Output only. Base64-encoded private key used by clients to authenticate
@@ -1099,9 +1338,15 @@ module Google
1099
1338
  # @!attribute [rw] stateful_ha_config
1100
1339
  # @return [::Google::Cloud::Container::V1beta1::StatefulHAConfig]
1101
1340
  # Optional. Configuration for the StatefulHA add-on.
1341
+ # @!attribute [rw] parallelstore_csi_driver_config
1342
+ # @return [::Google::Cloud::Container::V1beta1::ParallelstoreCsiDriverConfig]
1343
+ # Configuration for the Cloud Storage Parallelstore CSI driver.
1102
1344
  # @!attribute [rw] ray_operator_config
1103
1345
  # @return [::Google::Cloud::Container::V1beta1::RayOperatorConfig]
1104
1346
  # Optional. Configuration for Ray Operator addon.
1347
+ # @!attribute [rw] high_scale_checkpointing_config
1348
+ # @return [::Google::Cloud::Container::V1beta1::HighScaleCheckpointingConfig]
1349
+ # Configuration for the High Scale Checkpointing add-on.
1105
1350
  class AddonsConfig
1106
1351
  include ::Google::Protobuf::MessageExts
1107
1352
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1225,6 +1470,26 @@ module Google
1225
1470
  extend ::Google::Protobuf::MessageExts::ClassMethods
1226
1471
  end
1227
1472
 
1473
+ # Configuration for the Cloud Storage Parallelstore CSI driver.
1474
+ # @!attribute [rw] enabled
1475
+ # @return [::Boolean]
1476
+ # Whether the Cloud Storage Parallelstore CSI driver is enabled for this
1477
+ # cluster.
1478
+ class ParallelstoreCsiDriverConfig
1479
+ include ::Google::Protobuf::MessageExts
1480
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1481
+ end
1482
+
1483
+ # Configuration for the High Scale Checkpointing.
1484
+ # @!attribute [rw] enabled
1485
+ # @return [::Boolean]
1486
+ # Whether the High Scale Checkpointing is enabled for this
1487
+ # cluster.
1488
+ class HighScaleCheckpointingConfig
1489
+ include ::Google::Protobuf::MessageExts
1490
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1491
+ end
1492
+
1228
1493
  # Configuration options for the Ray Operator add-on.
1229
1494
  # @!attribute [rw] enabled
1230
1495
  # @return [::Boolean]
@@ -1251,13 +1516,23 @@ module Google
1251
1516
 
1252
1517
  # Configuration options for private clusters.
1253
1518
  # @!attribute [rw] enable_private_nodes
1519
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1254
1520
  # @return [::Boolean]
1255
1521
  # Whether nodes have internal IP addresses only. If enabled, all nodes are
1256
1522
  # given only RFC 1918 private addresses and communicate with the master via
1257
1523
  # private networking.
1524
+ #
1525
+ # Deprecated: Use
1526
+ # {::Google::Cloud::Container::V1beta1::NetworkConfig#default_enable_private_nodes NetworkConfig.default_enable_private_nodes}
1527
+ # instead.
1258
1528
  # @!attribute [rw] enable_private_endpoint
1529
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1259
1530
  # @return [::Boolean]
1260
1531
  # Whether the master's internal IP address is used as the cluster endpoint.
1532
+ # Use
1533
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig#enable_public_endpoint ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint}
1534
+ # instead. Note that the value of enable_public_endpoint is reversed: if
1535
+ # enable_private_endpoint is false, then enable_public_endpoint will be true.
1261
1536
  # @!attribute [rw] master_ipv4_cidr_block
1262
1537
  # @return [::String]
1263
1538
  # The IP range in CIDR notation to use for the hosted master network. This
@@ -1265,21 +1540,41 @@ module Google
1265
1540
  # set of masters, as well as the ILB VIP. This range must not overlap with
1266
1541
  # any other ranges in use within the cluster's network.
1267
1542
  # @!attribute [r] private_endpoint
1543
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1268
1544
  # @return [::String]
1269
1545
  # Output only. The internal IP address of this cluster's master endpoint.
1546
+ #
1547
+ # Deprecated: Use
1548
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig#private_endpoint ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint}
1549
+ # instead.
1270
1550
  # @!attribute [r] public_endpoint
1551
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1271
1552
  # @return [::String]
1272
1553
  # Output only. The external IP address of this cluster's master endpoint.
1554
+ #
1555
+ # Deprecated: Use
1556
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig#public_endpoint ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint}
1557
+ # instead.
1273
1558
  # @!attribute [r] peering_name
1274
1559
  # @return [::String]
1275
1560
  # Output only. The peering name in the customer VPC used by this cluster.
1276
1561
  # @!attribute [rw] master_global_access_config
1562
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1277
1563
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterMasterGlobalAccessConfig]
1278
1564
  # Controls master global access settings.
1565
+ #
1566
+ # Deprecated: Use
1567
+ # [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
1568
+ # instead.
1279
1569
  # @!attribute [rw] private_endpoint_subnetwork
1570
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1280
1571
  # @return [::String]
1281
1572
  # Subnet to provision the master's private endpoint during cluster creation.
1282
1573
  # Specified in projects/*/regions/*/subnetworks/* format.
1574
+ #
1575
+ # Deprecated: Use
1576
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig#private_endpoint_subnetwork ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork}
1577
+ # instead.
1283
1578
  class PrivateClusterConfig
1284
1579
  include ::Google::Protobuf::MessageExts
1285
1580
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1345,7 +1640,10 @@ module Google
1345
1640
  # Kubernetes master through HTTPS.
1346
1641
  # @!attribute [rw] gcp_public_cidrs_access_enabled
1347
1642
  # @return [::Boolean]
1348
- # Whether master is accessbile via Google Compute Engine Public IP addresses.
1643
+ # Whether master is accessible via Google Compute Engine Public IP addresses.
1644
+ # @!attribute [rw] private_endpoint_enforcement_enabled
1645
+ # @return [::Boolean]
1646
+ # Whether master authorized networks is enforced on private endpoint or not.
1349
1647
  class MasterAuthorizedNetworksConfig
1350
1648
  include ::Google::Protobuf::MessageExts
1351
1649
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1521,6 +1819,7 @@ module Google
1521
1819
  # 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
1522
1820
  # fully-specified.
1523
1821
  # @!attribute [rw] tpu_ipv4_cidr_block
1822
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1524
1823
  # @return [::String]
1525
1824
  # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1526
1825
  # range will be automatically chosen with the default size.
@@ -1776,7 +2075,7 @@ module Google
1776
2075
  # The monitoring service the cluster should use to write metrics.
1777
2076
  # Currently available options:
1778
2077
  #
1779
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
2078
+ # * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
1780
2079
  # service with a Kubernetes-native resource model
1781
2080
  # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
1782
2081
  # longer available as of GKE 1.15).
@@ -1832,6 +2131,11 @@ module Google
1832
2131
  # The cluster has no SLA for uptime and master/node upgrades are disabled.
1833
2132
  # Alpha enabled clusters are automatically deleted thirty days after
1834
2133
  # creation.
2134
+ # @!attribute [rw] alpha_cluster_feature_gates
2135
+ # @return [::Array<::String>]
2136
+ # The list of user specified Kubernetes feature gates.
2137
+ # Each string represents the activation status of a feature gate (e.g.
2138
+ # "featureX=true" or "featureX=false")
1835
2139
  # @!attribute [rw] enable_k8s_beta_apis
1836
2140
  # @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
1837
2141
  # Kubernetes open source beta apis enabled on the cluster. Only beta apis.
@@ -1852,8 +2156,13 @@ module Google
1852
2156
  # @return [::Google::Cloud::Container::V1beta1::IPAllocationPolicy]
1853
2157
  # Configuration for cluster IP allocation.
1854
2158
  # @!attribute [rw] master_authorized_networks_config
2159
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1855
2160
  # @return [::Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig]
1856
2161
  # The configuration options for master authorized networks feature.
2162
+ #
2163
+ # Deprecated: Use
2164
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig#authorized_networks_config ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config}
2165
+ # instead.
1857
2166
  # @!attribute [rw] maintenance_policy
1858
2167
  # @return [::Google::Cloud::Container::V1beta1::MaintenancePolicy]
1859
2168
  # Configure the maintenance policy for this cluster.
@@ -1936,8 +2245,11 @@ module Google
1936
2245
  # @return [::Google::Cloud::Container::V1beta1::ClusterTelemetry]
1937
2246
  # Telemetry integration for the cluster.
1938
2247
  # @!attribute [rw] tpu_config
2248
+ # @deprecated This field is deprecated and may be removed in the next major version update.
1939
2249
  # @return [::Google::Cloud::Container::V1beta1::TpuConfig]
1940
2250
  # Configuration for Cloud TPU support;
2251
+ # This field is deprecated due to the deprecation of 2VM TPU. The end of life
2252
+ # date for 2VM TPU is 2025-04-25.
1941
2253
  # @!attribute [rw] notification_config
1942
2254
  # @return [::Google::Cloud::Container::V1beta1::NotificationConfig]
1943
2255
  # Notification configuration of the cluster.
@@ -2038,14 +2350,20 @@ module Google
2038
2350
  # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2039
2351
  # in which the cluster resides.
2040
2352
  # @!attribute [rw] enable_tpu
2353
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2041
2354
  # @return [::Boolean]
2042
2355
  # Enable the ability to use Cloud TPUs in this cluster.
2043
2356
  # This field is deprecated, use tpu_config.enabled instead.
2357
+ # This field is deprecated due to the deprecation of 2VM TPU. The end of life
2358
+ # date for 2VM TPU is 2025-04-25.
2044
2359
  # @!attribute [r] tpu_ipv4_cidr_block
2360
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2045
2361
  # @return [::String]
2046
2362
  # Output only. The IP address range of the Cloud TPUs in this cluster, in
2047
2363
  # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
2048
2364
  # notation (e.g. `1.2.3.4/29`).
2365
+ # This field is deprecated due to the deprecation of 2VM TPU. The end of life
2366
+ # date for 2VM TPU is 2025-04-25.
2049
2367
  # @!attribute [rw] database_encryption
2050
2368
  # @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption]
2051
2369
  # Configuration of etcd encryption.
@@ -2080,6 +2398,9 @@ module Google
2080
2398
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
2081
2399
  # Deprecated: Use SecurityPostureConfig instead.
2082
2400
  # Enable/Disable Protect API features for the cluster.
2401
+ # @!attribute [rw] pod_autoscaling
2402
+ # @return [::Google::Cloud::Container::V1beta1::PodAutoscaling]
2403
+ # The config for pod autoscaling.
2083
2404
  # @!attribute [rw] etag
2084
2405
  # @return [::String]
2085
2406
  # This checksum is computed by the server based on the value of cluster
@@ -2091,6 +2412,9 @@ module Google
2091
2412
  # @!attribute [rw] security_posture_config
2092
2413
  # @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig]
2093
2414
  # Enable/Disable Security Posture API features for the cluster.
2415
+ # @!attribute [rw] control_plane_endpoints_config
2416
+ # @return [::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig]
2417
+ # Configuration for all cluster's control plane endpoints.
2094
2418
  # @!attribute [rw] enterprise_config
2095
2419
  # @return [::Google::Cloud::Container::V1beta1::EnterpriseConfig]
2096
2420
  # GKE Enterprise Configuration.
@@ -2106,6 +2430,17 @@ module Google
2106
2430
  # @!attribute [r] satisfies_pzi
2107
2431
  # @return [::Boolean]
2108
2432
  # Output only. Reserved for future use.
2433
+ # @!attribute [rw] user_managed_keys_config
2434
+ # @return [::Google::Cloud::Container::V1beta1::UserManagedKeysConfig]
2435
+ # The Custom keys configuration for the cluster.
2436
+ # @!attribute [rw] rbac_binding_config
2437
+ # @return [::Google::Cloud::Container::V1beta1::RBACBindingConfig]
2438
+ # RBACBindingConfig allows user to restrict ClusterRoleBindings an
2439
+ # RoleBindings that can be created.
2440
+ # @!attribute [rw] anonymous_authentication_config
2441
+ # @return [::Google::Cloud::Container::V1beta1::AnonymousAuthenticationConfig]
2442
+ # Configuration for limiting anonymous access to all endpoints except the
2443
+ # health checks.
2109
2444
  class Cluster
2110
2445
  include ::Google::Protobuf::MessageExts
2111
2446
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2149,6 +2484,73 @@ module Google
2149
2484
  end
2150
2485
  end
2151
2486
 
2487
+ # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
2488
+ # that can be created.
2489
+ # @!attribute [rw] enable_insecure_binding_system_unauthenticated
2490
+ # @return [::Boolean]
2491
+ # Setting this to true will allow any ClusterRoleBinding and RoleBinding
2492
+ # with subjets system:anonymous or system:unauthenticated.
2493
+ # @!attribute [rw] enable_insecure_binding_system_authenticated
2494
+ # @return [::Boolean]
2495
+ # Setting this to true will allow any ClusterRoleBinding and RoleBinding
2496
+ # with subjects system:authenticated.
2497
+ class RBACBindingConfig
2498
+ include ::Google::Protobuf::MessageExts
2499
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2500
+ end
2501
+
2502
+ # UserManagedKeysConfig holds the resource address to Keys which are used
2503
+ # for signing certs and token that are used for communication within cluster.
2504
+ # @!attribute [rw] cluster_ca
2505
+ # @return [::String]
2506
+ # The Certificate Authority Service caPool to use for the cluster CA in this
2507
+ # cluster.
2508
+ # @!attribute [rw] etcd_api_ca
2509
+ # @return [::String]
2510
+ # Resource path of the Certificate Authority Service caPool to use for the
2511
+ # etcd API CA in this cluster.
2512
+ # @!attribute [rw] etcd_peer_ca
2513
+ # @return [::String]
2514
+ # Resource path of the Certificate Authority Service caPool to use for the
2515
+ # etcd peer CA in this cluster.
2516
+ # @!attribute [rw] service_account_signing_keys
2517
+ # @return [::Array<::String>]
2518
+ # The Cloud KMS cryptoKeyVersions to use for signing service account JWTs
2519
+ # issued by this cluster.
2520
+ #
2521
+ # Format:
2522
+ # `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
2523
+ # @!attribute [rw] service_account_verification_keys
2524
+ # @return [::Array<::String>]
2525
+ # The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
2526
+ # issued by this cluster.
2527
+ #
2528
+ # Format:
2529
+ # `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`
2530
+ # @!attribute [rw] aggregation_ca
2531
+ # @return [::String]
2532
+ # The Certificate Authority Service caPool to use for the aggregation CA in
2533
+ # this cluster.
2534
+ # @!attribute [rw] control_plane_disk_encryption_key
2535
+ # @return [::String]
2536
+ # The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control
2537
+ # plane nodes.
2538
+ # @!attribute [rw] gkeops_etcd_backup_encryption_key
2539
+ # @return [::String]
2540
+ # Resource path of the Cloud KMS cryptoKey to use for encryption of internal
2541
+ # etcd backups.
2542
+ class UserManagedKeysConfig
2543
+ include ::Google::Protobuf::MessageExts
2544
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2545
+ end
2546
+
2547
+ # AnonymousAuthenticationConfig defines the settings needed to limit endpoints
2548
+ # that allow anonymous authentication.
2549
+ class AnonymousAuthenticationConfig
2550
+ include ::Google::Protobuf::MessageExts
2551
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2552
+ end
2553
+
2152
2554
  # CompliancePostureConfig defines the settings needed to enable/disable
2153
2555
  # features for the Compliance Posture.
2154
2556
  # @!attribute [rw] mode
@@ -2343,6 +2745,9 @@ module Google
2343
2745
  # NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
2344
2746
  #
2345
2747
  # Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
2748
+ # @!attribute [r] linux_node_config
2749
+ # @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig]
2750
+ # Output only. Configuration options for Linux nodes.
2346
2751
  class NodePoolAutoConfig
2347
2752
  include ::Google::Protobuf::MessageExts
2348
2753
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2369,7 +2774,7 @@ module Google
2369
2774
  # The monitoring service the cluster should use to write metrics.
2370
2775
  # Currently available options:
2371
2776
  #
2372
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
2777
+ # * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
2373
2778
  # service with a Kubernetes-native resource model
2374
2779
  # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
2375
2780
  # longer available as of GKE 1.15).
@@ -2407,8 +2812,13 @@ module Google
2407
2812
  # Warning: changing cluster locations will update the locations of all node
2408
2813
  # pools and will result in nodes being added and/or removed.
2409
2814
  # @!attribute [rw] desired_master_authorized_networks_config
2815
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2410
2816
  # @return [::Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig]
2411
2817
  # The desired configuration options for master authorized networks feature.
2818
+ #
2819
+ # Deprecated: Use
2820
+ # desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config
2821
+ # instead.
2412
2822
  # @!attribute [rw] desired_pod_security_policy_config
2413
2823
  # @return [::Google::Cloud::Container::V1beta1::PodSecurityPolicyConfig]
2414
2824
  # The desired configuration options for the PodSecurityPolicy feature.
@@ -2438,6 +2848,7 @@ module Google
2438
2848
  # @return [::Google::Cloud::Container::V1beta1::VerticalPodAutoscaling]
2439
2849
  # Cluster-level Vertical Pod Autoscaling configuration.
2440
2850
  # @!attribute [rw] desired_private_cluster_config
2851
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2441
2852
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterConfig]
2442
2853
  # The desired private cluster configuration. master_global_access_config is
2443
2854
  # the only field that can be changed via this field.
@@ -2445,6 +2856,10 @@ module Google
2445
2856
  # {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_enable_private_endpoint ClusterUpdate.desired_enable_private_endpoint}
2446
2857
  # for modifying other fields within
2447
2858
  # {::Google::Cloud::Container::V1beta1::PrivateClusterConfig PrivateClusterConfig}.
2859
+ #
2860
+ # Deprecated: Use
2861
+ # desired_control_plane_endpoints_config.ip_endpoints_config.global_access
2862
+ # instead.
2448
2863
  # @!attribute [rw] desired_intra_node_visibility_config
2449
2864
  # @return [::Google::Cloud::Container::V1beta1::IntraNodeVisibilityConfig]
2450
2865
  # The desired config of Intra-node visibility.
@@ -2464,8 +2879,11 @@ module Google
2464
2879
  # {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_private_cluster_config desired_private_cluster_config}
2465
2880
  # instead.
2466
2881
  # @!attribute [rw] desired_tpu_config
2882
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2467
2883
  # @return [::Google::Cloud::Container::V1beta1::TpuConfig]
2468
2884
  # The desired Cloud TPU configuration.
2885
+ # This field is deprecated due to the deprecation of 2VM TPU. The end of life
2886
+ # date for 2VM TPU is 2025-04-25.
2469
2887
  # @!attribute [rw] desired_l4ilb_subsetting_config
2470
2888
  # @return [::Google::Cloud::Container::V1beta1::ILBSubsettingConfig]
2471
2889
  # The desired L4 Internal Load Balancer Subsetting configuration.
@@ -2541,8 +2959,24 @@ module Google
2541
2959
  # @return [::Google::Cloud::Container::V1beta1::IdentityServiceConfig]
2542
2960
  # The desired Identity Service component configuration.
2543
2961
  # @!attribute [rw] desired_enable_private_endpoint
2962
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2544
2963
  # @return [::Boolean]
2545
2964
  # Enable/Disable private endpoint for the cluster's master.
2965
+ #
2966
+ # Deprecated: Use
2967
+ # desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint
2968
+ # instead. Note that the value of enable_public_endpoint is reversed: if
2969
+ # enable_private_endpoint is false, then enable_public_endpoint will be true.
2970
+ # @!attribute [rw] desired_default_enable_private_nodes
2971
+ # @return [::Boolean]
2972
+ # Override the default setting of whether future created
2973
+ # nodes have private IP addresses only, namely
2974
+ # {::Google::Cloud::Container::V1beta1::NetworkConfig#default_enable_private_nodes NetworkConfig.default_enable_private_nodes}
2975
+ # @!attribute [rw] desired_control_plane_endpoints_config
2976
+ # @return [::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig]
2977
+ # [Control plane
2978
+ # endpoints][google.container.v1beta1.Cluster.control_plane_endpoints_config]
2979
+ # configuration.
2546
2980
  # @!attribute [rw] desired_node_pool_auto_config_network_tags
2547
2981
  # @return [::Google::Cloud::Container::V1beta1::NetworkTags]
2548
2982
  # The desired network tags that apply to all auto-provisioned node pools
@@ -2552,6 +2986,9 @@ module Google
2552
2986
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
2553
2987
  # Deprecated: Use DesiredSecurityPostureConfig instead.
2554
2988
  # Enable/Disable Protect API features for the cluster.
2989
+ # @!attribute [rw] desired_pod_autoscaling
2990
+ # @return [::Google::Cloud::Container::V1beta1::PodAutoscaling]
2991
+ # The desired config for pod autoscaling.
2555
2992
  # @!attribute [rw] desired_gateway_api_config
2556
2993
  # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
2557
2994
  # The desired config of Gateway API on this cluster.
@@ -2594,7 +3031,7 @@ module Google
2594
3031
  # Enable/Disable FQDN Network Policy for the cluster.
2595
3032
  # @!attribute [rw] desired_autopilot_workload_policy_config
2596
3033
  # @return [::Google::Cloud::Container::V1beta1::WorkloadPolicyConfig]
2597
- # The desired workload policy configuration for the autopilot cluster.
3034
+ # WorkloadPolicyConfig is the configuration related to GCW workload policy
2598
3035
  # @!attribute [rw] desired_k8s_beta_apis
2599
3036
  # @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
2600
3037
  # Beta APIs enabled for cluster.
@@ -2622,6 +3059,9 @@ module Google
2622
3059
  # @!attribute [rw] desired_secret_manager_config
2623
3060
  # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
2624
3061
  # Enable/Disable Secret Manager Config.
3062
+ # @!attribute [rw] desired_compliance_posture_config
3063
+ # @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig]
3064
+ # Enable/Disable Compliance Posture features for the cluster.
2625
3065
  # @!attribute [rw] desired_node_kubelet_config
2626
3066
  # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2627
3067
  # The desired node kubelet config for the cluster.
@@ -2629,6 +3069,29 @@ module Google
2629
3069
  # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2630
3070
  # The desired node kubelet config for all auto-provisioned node pools
2631
3071
  # in autopilot clusters and node auto-provisioning enabled clusters.
3072
+ # @!attribute [rw] user_managed_keys_config
3073
+ # @return [::Google::Cloud::Container::V1beta1::UserManagedKeysConfig]
3074
+ # The Custom keys configuration for the cluster.
3075
+ # @!attribute [rw] desired_rbac_binding_config
3076
+ # @return [::Google::Cloud::Container::V1beta1::RBACBindingConfig]
3077
+ # RBACBindingConfig allows user to restrict ClusterRoleBindings an
3078
+ # RoleBindings that can be created.
3079
+ # @!attribute [rw] desired_enterprise_config
3080
+ # @return [::Google::Cloud::Container::V1beta1::DesiredEnterpriseConfig]
3081
+ # The desired enterprise configuration for the cluster.
3082
+ # @!attribute [rw] desired_disable_l4_lb_firewall_reconciliation
3083
+ # @return [::Boolean]
3084
+ # Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
3085
+ # @!attribute [rw] desired_node_pool_auto_config_linux_node_config
3086
+ # @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig]
3087
+ # The desired Linux node config for all auto-provisioned node pools
3088
+ # in autopilot clusters and node auto-provisioning enabled clusters.
3089
+ #
3090
+ # Currently only `cgroup_mode` can be set here.
3091
+ # @!attribute [rw] desired_anonymous_authentication_config
3092
+ # @return [::Google::Cloud::Container::V1beta1::AnonymousAuthenticationConfig]
3093
+ # Configuration for limiting anonymous access to all endpoints except the
3094
+ # health checks.
2632
3095
  class ClusterUpdate
2633
3096
  include ::Google::Protobuf::MessageExts
2634
3097
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2659,6 +3122,15 @@ module Google
2659
3122
  extend ::Google::Protobuf::MessageExts::ClassMethods
2660
3123
  end
2661
3124
 
3125
+ # DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
3126
+ # @!attribute [rw] desired_tier
3127
+ # @return [::Google::Cloud::Container::V1beta1::EnterpriseConfig::ClusterTier]
3128
+ # desired_tier specifies the desired tier of the cluster.
3129
+ class DesiredEnterpriseConfig
3130
+ include ::Google::Protobuf::MessageExts
3131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3132
+ end
3133
+
2662
3134
  # This operation resource represents operations that may have happened or are
2663
3135
  # happening on the cluster. All fields are output only.
2664
3136
  # @!attribute [r] name
@@ -2938,13 +3410,13 @@ module Google
2938
3410
  # @!attribute [rw] project_id
2939
3411
  # @deprecated This field is deprecated and may be removed in the next major version update.
2940
3412
  # @return [::String]
2941
- # Required. Deprecated. The Google Developers Console [project ID or project
3413
+ # Deprecated. The Google Developers Console [project ID or project
2942
3414
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2943
3415
  # This field has been deprecated and replaced by the parent field.
2944
3416
  # @!attribute [rw] zone
2945
3417
  # @deprecated This field is deprecated and may be removed in the next major version update.
2946
3418
  # @return [::String]
2947
- # Required. Deprecated. The name of the Google Compute Engine
3419
+ # Deprecated. The name of the Google Compute Engine
2948
3420
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2949
3421
  # cluster resides. This field has been deprecated and replaced by the parent
2950
3422
  # field.
@@ -2965,20 +3437,20 @@ module Google
2965
3437
  # @!attribute [rw] project_id
2966
3438
  # @deprecated This field is deprecated and may be removed in the next major version update.
2967
3439
  # @return [::String]
2968
- # Required. Deprecated. The Google Developers Console [project ID or project
3440
+ # Deprecated. The Google Developers Console [project ID or project
2969
3441
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2970
3442
  # This field has been deprecated and replaced by the name field.
2971
3443
  # @!attribute [rw] zone
2972
3444
  # @deprecated This field is deprecated and may be removed in the next major version update.
2973
3445
  # @return [::String]
2974
- # Required. Deprecated. The name of the Google Compute Engine
3446
+ # Deprecated. The name of the Google Compute Engine
2975
3447
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2976
3448
  # cluster resides. This field has been deprecated and replaced by the name
2977
3449
  # field.
2978
3450
  # @!attribute [rw] cluster_id
2979
3451
  # @deprecated This field is deprecated and may be removed in the next major version update.
2980
3452
  # @return [::String]
2981
- # Required. Deprecated. The name of the cluster to retrieve.
3453
+ # Deprecated. The name of the cluster to retrieve.
2982
3454
  # This field has been deprecated and replaced by the name field.
2983
3455
  # @!attribute [rw] name
2984
3456
  # @return [::String]
@@ -2993,20 +3465,20 @@ module Google
2993
3465
  # @!attribute [rw] project_id
2994
3466
  # @deprecated This field is deprecated and may be removed in the next major version update.
2995
3467
  # @return [::String]
2996
- # Required. Deprecated. The Google Developers Console [project ID or project
3468
+ # Deprecated. The Google Developers Console [project ID or project
2997
3469
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2998
3470
  # This field has been deprecated and replaced by the name field.
2999
3471
  # @!attribute [rw] zone
3000
3472
  # @deprecated This field is deprecated and may be removed in the next major version update.
3001
3473
  # @return [::String]
3002
- # Required. Deprecated. The name of the Google Compute Engine
3474
+ # Deprecated. The name of the Google Compute Engine
3003
3475
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3004
3476
  # cluster resides. This field has been deprecated and replaced by the name
3005
3477
  # field.
3006
3478
  # @!attribute [rw] cluster_id
3007
3479
  # @deprecated This field is deprecated and may be removed in the next major version update.
3008
3480
  # @return [::String]
3009
- # Required. Deprecated. The name of the cluster to upgrade.
3481
+ # Deprecated. The name of the cluster to upgrade.
3010
3482
  # This field has been deprecated and replaced by the name field.
3011
3483
  # @!attribute [rw] update
3012
3484
  # @return [::Google::Cloud::Container::V1beta1::ClusterUpdate]
@@ -3024,25 +3496,25 @@ module Google
3024
3496
  # @!attribute [rw] project_id
3025
3497
  # @deprecated This field is deprecated and may be removed in the next major version update.
3026
3498
  # @return [::String]
3027
- # Required. Deprecated. The Google Developers Console [project ID or project
3499
+ # Deprecated. The Google Developers Console [project ID or project
3028
3500
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3029
3501
  # This field has been deprecated and replaced by the name field.
3030
3502
  # @!attribute [rw] zone
3031
3503
  # @deprecated This field is deprecated and may be removed in the next major version update.
3032
3504
  # @return [::String]
3033
- # Required. Deprecated. The name of the Google Compute Engine
3505
+ # Deprecated. The name of the Google Compute Engine
3034
3506
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3035
3507
  # cluster resides. This field has been deprecated and replaced by the name
3036
3508
  # field.
3037
3509
  # @!attribute [rw] cluster_id
3038
3510
  # @deprecated This field is deprecated and may be removed in the next major version update.
3039
3511
  # @return [::String]
3040
- # Required. Deprecated. The name of the cluster to upgrade.
3512
+ # Deprecated. The name of the cluster to upgrade.
3041
3513
  # This field has been deprecated and replaced by the name field.
3042
3514
  # @!attribute [rw] node_pool_id
3043
3515
  # @deprecated This field is deprecated and may be removed in the next major version update.
3044
3516
  # @return [::String]
3045
- # Required. Deprecated. The name of the node pool to upgrade.
3517
+ # Deprecated. The name of the node pool to upgrade.
3046
3518
  # This field has been deprecated and replaced by the name field.
3047
3519
  # @!attribute [rw] node_version
3048
3520
  # @return [::String]
@@ -3165,6 +3637,17 @@ module Google
3165
3637
  # @!attribute [rw] queued_provisioning
3166
3638
  # @return [::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning]
3167
3639
  # Specifies the configuration of queued provisioning.
3640
+ # @!attribute [rw] storage_pools
3641
+ # @return [::Array<::String>]
3642
+ # List of Storage Pools where boot disks are provisioned.
3643
+ # Existing Storage Pools will be replaced with storage-pools.
3644
+ # @!attribute [rw] max_run_duration
3645
+ # @return [::Google::Protobuf::Duration]
3646
+ # The maximum duration for the nodes to exist.
3647
+ # If unspecified, the nodes can exist indefinitely.
3648
+ # @!attribute [rw] flex_start
3649
+ # @return [::Boolean]
3650
+ # Flex Start flag for enabling Flex Start VM.
3168
3651
  class UpdateNodePoolRequest
3169
3652
  include ::Google::Protobuf::MessageExts
3170
3653
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3174,25 +3657,25 @@ module Google
3174
3657
  # @!attribute [rw] project_id
3175
3658
  # @deprecated This field is deprecated and may be removed in the next major version update.
3176
3659
  # @return [::String]
3177
- # Required. Deprecated. The Google Developers Console [project ID or project
3660
+ # Deprecated. The Google Developers Console [project ID or project
3178
3661
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3179
3662
  # This field has been deprecated and replaced by the name field.
3180
3663
  # @!attribute [rw] zone
3181
3664
  # @deprecated This field is deprecated and may be removed in the next major version update.
3182
3665
  # @return [::String]
3183
- # Required. Deprecated. The name of the Google Compute Engine
3666
+ # Deprecated. The name of the Google Compute Engine
3184
3667
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3185
3668
  # cluster resides. This field has been deprecated and replaced by the name
3186
3669
  # field.
3187
3670
  # @!attribute [rw] cluster_id
3188
3671
  # @deprecated This field is deprecated and may be removed in the next major version update.
3189
3672
  # @return [::String]
3190
- # Required. Deprecated. The name of the cluster to upgrade.
3673
+ # Deprecated. The name of the cluster to upgrade.
3191
3674
  # This field has been deprecated and replaced by the name field.
3192
3675
  # @!attribute [rw] node_pool_id
3193
3676
  # @deprecated This field is deprecated and may be removed in the next major version update.
3194
3677
  # @return [::String]
3195
- # Required. Deprecated. The name of the node pool to upgrade.
3678
+ # Deprecated. The name of the node pool to upgrade.
3196
3679
  # This field has been deprecated and replaced by the name field.
3197
3680
  # @!attribute [rw] autoscaling
3198
3681
  # @return [::Google::Cloud::Container::V1beta1::NodePoolAutoscaling]
@@ -3211,20 +3694,20 @@ module Google
3211
3694
  # @!attribute [rw] project_id
3212
3695
  # @deprecated This field is deprecated and may be removed in the next major version update.
3213
3696
  # @return [::String]
3214
- # Required. Deprecated. The Google Developers Console [project ID or project
3697
+ # Deprecated. The Google Developers Console [project ID or project
3215
3698
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3216
3699
  # This field has been deprecated and replaced by the name field.
3217
3700
  # @!attribute [rw] zone
3218
3701
  # @deprecated This field is deprecated and may be removed in the next major version update.
3219
3702
  # @return [::String]
3220
- # Required. Deprecated. The name of the Google Compute Engine
3703
+ # Deprecated. The name of the Google Compute Engine
3221
3704
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3222
3705
  # cluster resides. This field has been deprecated and replaced by the name
3223
3706
  # field.
3224
3707
  # @!attribute [rw] cluster_id
3225
3708
  # @deprecated This field is deprecated and may be removed in the next major version update.
3226
3709
  # @return [::String]
3227
- # Required. Deprecated. The name of the cluster to upgrade.
3710
+ # Deprecated. The name of the cluster to upgrade.
3228
3711
  # This field has been deprecated and replaced by the name field.
3229
3712
  # @!attribute [rw] logging_service
3230
3713
  # @return [::String]
@@ -3252,27 +3735,27 @@ module Google
3252
3735
  # @!attribute [rw] project_id
3253
3736
  # @deprecated This field is deprecated and may be removed in the next major version update.
3254
3737
  # @return [::String]
3255
- # Required. Deprecated. The Google Developers Console [project ID or project
3738
+ # Deprecated. The Google Developers Console [project ID or project
3256
3739
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3257
3740
  # This field has been deprecated and replaced by the name field.
3258
3741
  # @!attribute [rw] zone
3259
3742
  # @deprecated This field is deprecated and may be removed in the next major version update.
3260
3743
  # @return [::String]
3261
- # Required. Deprecated. The name of the Google Compute Engine
3744
+ # Deprecated. The name of the Google Compute Engine
3262
3745
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3263
3746
  # cluster resides. This field has been deprecated and replaced by the name
3264
3747
  # field.
3265
3748
  # @!attribute [rw] cluster_id
3266
3749
  # @deprecated This field is deprecated and may be removed in the next major version update.
3267
3750
  # @return [::String]
3268
- # Required. Deprecated. The name of the cluster to upgrade.
3751
+ # Deprecated. The name of the cluster to upgrade.
3269
3752
  # This field has been deprecated and replaced by the name field.
3270
3753
  # @!attribute [rw] monitoring_service
3271
3754
  # @return [::String]
3272
3755
  # Required. The monitoring service the cluster should use to write metrics.
3273
3756
  # Currently available options:
3274
3757
  #
3275
- # * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
3758
+ # * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
3276
3759
  # service with a Kubernetes-native resource model
3277
3760
  # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3278
3761
  # longer available as of GKE 1.15).
@@ -3293,20 +3776,20 @@ module Google
3293
3776
  # @!attribute [rw] project_id
3294
3777
  # @deprecated This field is deprecated and may be removed in the next major version update.
3295
3778
  # @return [::String]
3296
- # Required. Deprecated. The Google Developers Console [project ID or project
3779
+ # Deprecated. The Google Developers Console [project ID or project
3297
3780
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3298
3781
  # This field has been deprecated and replaced by the name field.
3299
3782
  # @!attribute [rw] zone
3300
3783
  # @deprecated This field is deprecated and may be removed in the next major version update.
3301
3784
  # @return [::String]
3302
- # Required. Deprecated. The name of the Google Compute Engine
3785
+ # Deprecated. The name of the Google Compute Engine
3303
3786
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3304
3787
  # cluster resides. This field has been deprecated and replaced by the name
3305
3788
  # field.
3306
3789
  # @!attribute [rw] cluster_id
3307
3790
  # @deprecated This field is deprecated and may be removed in the next major version update.
3308
3791
  # @return [::String]
3309
- # Required. Deprecated. The name of the cluster to upgrade.
3792
+ # Deprecated. The name of the cluster to upgrade.
3310
3793
  # This field has been deprecated and replaced by the name field.
3311
3794
  # @!attribute [rw] addons_config
3312
3795
  # @return [::Google::Cloud::Container::V1beta1::AddonsConfig]
@@ -3325,20 +3808,20 @@ module Google
3325
3808
  # @!attribute [rw] project_id
3326
3809
  # @deprecated This field is deprecated and may be removed in the next major version update.
3327
3810
  # @return [::String]
3328
- # Required. Deprecated. The Google Developers Console [project ID or project
3811
+ # Deprecated. The Google Developers Console [project ID or project
3329
3812
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3330
3813
  # This field has been deprecated and replaced by the name field.
3331
3814
  # @!attribute [rw] zone
3332
3815
  # @deprecated This field is deprecated and may be removed in the next major version update.
3333
3816
  # @return [::String]
3334
- # Required. Deprecated. The name of the Google Compute Engine
3817
+ # Deprecated. The name of the Google Compute Engine
3335
3818
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3336
3819
  # cluster resides. This field has been deprecated and replaced by the name
3337
3820
  # field.
3338
3821
  # @!attribute [rw] cluster_id
3339
3822
  # @deprecated This field is deprecated and may be removed in the next major version update.
3340
3823
  # @return [::String]
3341
- # Required. Deprecated. The name of the cluster to upgrade.
3824
+ # Deprecated. The name of the cluster to upgrade.
3342
3825
  # This field has been deprecated and replaced by the name field.
3343
3826
  # @!attribute [rw] locations
3344
3827
  # @return [::Array<::String>]
@@ -3362,20 +3845,20 @@ module Google
3362
3845
  # @!attribute [rw] project_id
3363
3846
  # @deprecated This field is deprecated and may be removed in the next major version update.
3364
3847
  # @return [::String]
3365
- # Required. Deprecated. The Google Developers Console [project ID or project
3848
+ # Deprecated. The Google Developers Console [project ID or project
3366
3849
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3367
3850
  # This field has been deprecated and replaced by the name field.
3368
3851
  # @!attribute [rw] zone
3369
3852
  # @deprecated This field is deprecated and may be removed in the next major version update.
3370
3853
  # @return [::String]
3371
- # Required. Deprecated. The name of the Google Compute Engine
3854
+ # Deprecated. The name of the Google Compute Engine
3372
3855
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3373
3856
  # cluster resides. This field has been deprecated and replaced by the name
3374
3857
  # field.
3375
3858
  # @!attribute [rw] cluster_id
3376
3859
  # @deprecated This field is deprecated and may be removed in the next major version update.
3377
3860
  # @return [::String]
3378
- # Required. Deprecated. The name of the cluster to upgrade.
3861
+ # Deprecated. The name of the cluster to upgrade.
3379
3862
  # This field has been deprecated and replaced by the name field.
3380
3863
  # @!attribute [rw] master_version
3381
3864
  # @return [::String]
@@ -3402,20 +3885,20 @@ module Google
3402
3885
  # @!attribute [rw] project_id
3403
3886
  # @deprecated This field is deprecated and may be removed in the next major version update.
3404
3887
  # @return [::String]
3405
- # Required. Deprecated. The Google Developers Console [project ID or project
3888
+ # Deprecated. The Google Developers Console [project ID or project
3406
3889
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3407
3890
  # This field has been deprecated and replaced by the name field.
3408
3891
  # @!attribute [rw] zone
3409
3892
  # @deprecated This field is deprecated and may be removed in the next major version update.
3410
3893
  # @return [::String]
3411
- # Required. Deprecated. The name of the Google Compute Engine
3894
+ # Deprecated. The name of the Google Compute Engine
3412
3895
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3413
3896
  # cluster resides. This field has been deprecated and replaced by the name
3414
3897
  # field.
3415
3898
  # @!attribute [rw] cluster_id
3416
3899
  # @deprecated This field is deprecated and may be removed in the next major version update.
3417
3900
  # @return [::String]
3418
- # Required. Deprecated. The name of the cluster to upgrade.
3901
+ # Deprecated. The name of the cluster to upgrade.
3419
3902
  # This field has been deprecated and replaced by the name field.
3420
3903
  # @!attribute [rw] action
3421
3904
  # @return [::Google::Cloud::Container::V1beta1::SetMasterAuthRequest::Action]
@@ -3454,20 +3937,20 @@ module Google
3454
3937
  # @!attribute [rw] project_id
3455
3938
  # @deprecated This field is deprecated and may be removed in the next major version update.
3456
3939
  # @return [::String]
3457
- # Required. Deprecated. The Google Developers Console [project ID or project
3940
+ # Deprecated. The Google Developers Console [project ID or project
3458
3941
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3459
3942
  # This field has been deprecated and replaced by the name field.
3460
3943
  # @!attribute [rw] zone
3461
3944
  # @deprecated This field is deprecated and may be removed in the next major version update.
3462
3945
  # @return [::String]
3463
- # Required. Deprecated. The name of the Google Compute Engine
3946
+ # Deprecated. The name of the Google Compute Engine
3464
3947
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3465
3948
  # cluster resides. This field has been deprecated and replaced by the name
3466
3949
  # field.
3467
3950
  # @!attribute [rw] cluster_id
3468
3951
  # @deprecated This field is deprecated and may be removed in the next major version update.
3469
3952
  # @return [::String]
3470
- # Required. Deprecated. The name of the cluster to delete.
3953
+ # Deprecated. The name of the cluster to delete.
3471
3954
  # This field has been deprecated and replaced by the name field.
3472
3955
  # @!attribute [rw] name
3473
3956
  # @return [::String]
@@ -3482,13 +3965,13 @@ module Google
3482
3965
  # @!attribute [rw] project_id
3483
3966
  # @deprecated This field is deprecated and may be removed in the next major version update.
3484
3967
  # @return [::String]
3485
- # Required. Deprecated. The Google Developers Console [project ID or project
3968
+ # Deprecated. The Google Developers Console [project ID or project
3486
3969
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3487
3970
  # This field has been deprecated and replaced by the parent field.
3488
3971
  # @!attribute [rw] zone
3489
3972
  # @deprecated This field is deprecated and may be removed in the next major version update.
3490
3973
  # @return [::String]
3491
- # Required. Deprecated. The name of the Google Compute Engine
3974
+ # Deprecated. The name of the Google Compute Engine
3492
3975
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3493
3976
  # cluster resides, or "-" for all zones. This field has been deprecated and
3494
3977
  # replaced by the parent field.
@@ -3520,20 +4003,20 @@ module Google
3520
4003
  # @!attribute [rw] project_id
3521
4004
  # @deprecated This field is deprecated and may be removed in the next major version update.
3522
4005
  # @return [::String]
3523
- # Required. Deprecated. The Google Developers Console [project ID or project
4006
+ # Deprecated. The Google Developers Console [project ID or project
3524
4007
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3525
4008
  # This field has been deprecated and replaced by the name field.
3526
4009
  # @!attribute [rw] zone
3527
4010
  # @deprecated This field is deprecated and may be removed in the next major version update.
3528
4011
  # @return [::String]
3529
- # Required. Deprecated. The name of the Google Compute Engine
4012
+ # Deprecated. The name of the Google Compute Engine
3530
4013
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3531
4014
  # cluster resides. This field has been deprecated and replaced by the name
3532
4015
  # field.
3533
4016
  # @!attribute [rw] operation_id
3534
4017
  # @deprecated This field is deprecated and may be removed in the next major version update.
3535
4018
  # @return [::String]
3536
- # Required. Deprecated. The server-assigned `name` of the operation.
4019
+ # Deprecated. The server-assigned `name` of the operation.
3537
4020
  # This field has been deprecated and replaced by the name field.
3538
4021
  # @!attribute [rw] name
3539
4022
  # @return [::String]
@@ -3548,13 +4031,13 @@ module Google
3548
4031
  # @!attribute [rw] project_id
3549
4032
  # @deprecated This field is deprecated and may be removed in the next major version update.
3550
4033
  # @return [::String]
3551
- # Required. Deprecated. The Google Developers Console [project ID or project
4034
+ # Deprecated. The Google Developers Console [project ID or project
3552
4035
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3553
4036
  # This field has been deprecated and replaced by the parent field.
3554
4037
  # @!attribute [rw] zone
3555
4038
  # @deprecated This field is deprecated and may be removed in the next major version update.
3556
4039
  # @return [::String]
3557
- # Required. Deprecated. The name of the Google Compute Engine
4040
+ # Deprecated. The name of the Google Compute Engine
3558
4041
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
3559
4042
  # operations for, or `-` for all zones. This field has been deprecated and
3560
4043
  # replaced by the parent field.
@@ -3572,20 +4055,20 @@ module Google
3572
4055
  # @!attribute [rw] project_id
3573
4056
  # @deprecated This field is deprecated and may be removed in the next major version update.
3574
4057
  # @return [::String]
3575
- # Required. Deprecated. The Google Developers Console [project ID or project
4058
+ # Deprecated. The Google Developers Console [project ID or project
3576
4059
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3577
4060
  # This field has been deprecated and replaced by the name field.
3578
4061
  # @!attribute [rw] zone
3579
4062
  # @deprecated This field is deprecated and may be removed in the next major version update.
3580
4063
  # @return [::String]
3581
- # Required. Deprecated. The name of the Google Compute Engine
4064
+ # Deprecated. The name of the Google Compute Engine
3582
4065
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3583
4066
  # operation resides. This field has been deprecated and replaced by the name
3584
4067
  # field.
3585
4068
  # @!attribute [rw] operation_id
3586
4069
  # @deprecated This field is deprecated and may be removed in the next major version update.
3587
4070
  # @return [::String]
3588
- # Required. Deprecated. The server-assigned `name` of the operation.
4071
+ # Deprecated. The server-assigned `name` of the operation.
3589
4072
  # This field has been deprecated and replaced by the name field.
3590
4073
  # @!attribute [rw] name
3591
4074
  # @return [::String]
@@ -3613,13 +4096,13 @@ module Google
3613
4096
  # @!attribute [rw] project_id
3614
4097
  # @deprecated This field is deprecated and may be removed in the next major version update.
3615
4098
  # @return [::String]
3616
- # Required. Deprecated. The Google Developers Console [project ID or project
4099
+ # Deprecated. The Google Developers Console [project ID or project
3617
4100
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3618
4101
  # This field has been deprecated and replaced by the name field.
3619
4102
  # @!attribute [rw] zone
3620
4103
  # @deprecated This field is deprecated and may be removed in the next major version update.
3621
4104
  # @return [::String]
3622
- # Required. Deprecated. The name of the Google Compute Engine
4105
+ # Deprecated. The name of the Google Compute Engine
3623
4106
  # [zone](https://cloud.google.com/compute/docs/zones#available) to return
3624
4107
  # operations for. This field has been deprecated and replaced by the name
3625
4108
  # field.
@@ -3674,6 +4157,9 @@ module Google
3674
4157
  # @!attribute [rw] valid_versions
3675
4158
  # @return [::Array<::String>]
3676
4159
  # List of valid versions for the channel.
4160
+ # @!attribute [rw] upgrade_target_version
4161
+ # @return [::String]
4162
+ # The auto upgrade target version for clusters on the channel.
3677
4163
  class ReleaseChannelConfig
3678
4164
  include ::Google::Protobuf::MessageExts
3679
4165
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3746,20 +4232,20 @@ module Google
3746
4232
  # @!attribute [rw] project_id
3747
4233
  # @deprecated This field is deprecated and may be removed in the next major version update.
3748
4234
  # @return [::String]
3749
- # Required. Deprecated. The Google Developers Console [project ID or project
4235
+ # Deprecated. The Google Developers Console [project ID or project
3750
4236
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3751
4237
  # This field has been deprecated and replaced by the parent field.
3752
4238
  # @!attribute [rw] zone
3753
4239
  # @deprecated This field is deprecated and may be removed in the next major version update.
3754
4240
  # @return [::String]
3755
- # Required. Deprecated. The name of the Google Compute Engine
4241
+ # Deprecated. The name of the Google Compute Engine
3756
4242
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3757
4243
  # cluster resides. This field has been deprecated and replaced by the parent
3758
4244
  # field.
3759
4245
  # @!attribute [rw] cluster_id
3760
4246
  # @deprecated This field is deprecated and may be removed in the next major version update.
3761
4247
  # @return [::String]
3762
- # Required. Deprecated. The name of the cluster.
4248
+ # Deprecated. The name of the cluster.
3763
4249
  # This field has been deprecated and replaced by the parent field.
3764
4250
  # @!attribute [rw] node_pool
3765
4251
  # @return [::Google::Cloud::Container::V1beta1::NodePool]
@@ -3778,25 +4264,25 @@ module Google
3778
4264
  # @!attribute [rw] project_id
3779
4265
  # @deprecated This field is deprecated and may be removed in the next major version update.
3780
4266
  # @return [::String]
3781
- # Required. Deprecated. The Google Developers Console [project ID or project
4267
+ # Deprecated. The Google Developers Console [project ID or project
3782
4268
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3783
4269
  # This field has been deprecated and replaced by the name field.
3784
4270
  # @!attribute [rw] zone
3785
4271
  # @deprecated This field is deprecated and may be removed in the next major version update.
3786
4272
  # @return [::String]
3787
- # Required. Deprecated. The name of the Google Compute Engine
4273
+ # Deprecated. The name of the Google Compute Engine
3788
4274
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3789
4275
  # cluster resides. This field has been deprecated and replaced by the name
3790
4276
  # field.
3791
4277
  # @!attribute [rw] cluster_id
3792
4278
  # @deprecated This field is deprecated and may be removed in the next major version update.
3793
4279
  # @return [::String]
3794
- # Required. Deprecated. The name of the cluster.
4280
+ # Deprecated. The name of the cluster.
3795
4281
  # This field has been deprecated and replaced by the name field.
3796
4282
  # @!attribute [rw] node_pool_id
3797
4283
  # @deprecated This field is deprecated and may be removed in the next major version update.
3798
4284
  # @return [::String]
3799
- # Required. Deprecated. The name of the node pool to delete.
4285
+ # Deprecated. The name of the node pool to delete.
3800
4286
  # This field has been deprecated and replaced by the name field.
3801
4287
  # @!attribute [rw] name
3802
4288
  # @return [::String]
@@ -3812,20 +4298,20 @@ module Google
3812
4298
  # @!attribute [rw] project_id
3813
4299
  # @deprecated This field is deprecated and may be removed in the next major version update.
3814
4300
  # @return [::String]
3815
- # Required. Deprecated. The Google Developers Console [project ID or project
4301
+ # Deprecated. The Google Developers Console [project ID or project
3816
4302
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3817
4303
  # This field has been deprecated and replaced by the parent field.
3818
4304
  # @!attribute [rw] zone
3819
4305
  # @deprecated This field is deprecated and may be removed in the next major version update.
3820
4306
  # @return [::String]
3821
- # Required. Deprecated. The name of the Google Compute Engine
4307
+ # Deprecated. The name of the Google Compute Engine
3822
4308
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3823
4309
  # cluster resides. This field has been deprecated and replaced by the parent
3824
4310
  # field.
3825
4311
  # @!attribute [rw] cluster_id
3826
4312
  # @deprecated This field is deprecated and may be removed in the next major version update.
3827
4313
  # @return [::String]
3828
- # Required. Deprecated. The name of the cluster.
4314
+ # Deprecated. The name of the cluster.
3829
4315
  # This field has been deprecated and replaced by the parent field.
3830
4316
  # @!attribute [rw] parent
3831
4317
  # @return [::String]
@@ -3840,25 +4326,25 @@ module Google
3840
4326
  # @!attribute [rw] project_id
3841
4327
  # @deprecated This field is deprecated and may be removed in the next major version update.
3842
4328
  # @return [::String]
3843
- # Required. Deprecated. The Google Developers Console [project ID or project
4329
+ # Deprecated. The Google Developers Console [project ID or project
3844
4330
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
3845
4331
  # This field has been deprecated and replaced by the name field.
3846
4332
  # @!attribute [rw] zone
3847
4333
  # @deprecated This field is deprecated and may be removed in the next major version update.
3848
4334
  # @return [::String]
3849
- # Required. Deprecated. The name of the Google Compute Engine
4335
+ # Deprecated. The name of the Google Compute Engine
3850
4336
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3851
4337
  # cluster resides. This field has been deprecated and replaced by the name
3852
4338
  # field.
3853
4339
  # @!attribute [rw] cluster_id
3854
4340
  # @deprecated This field is deprecated and may be removed in the next major version update.
3855
4341
  # @return [::String]
3856
- # Required. Deprecated. The name of the cluster.
4342
+ # Deprecated. The name of the cluster.
3857
4343
  # This field has been deprecated and replaced by the name field.
3858
4344
  # @!attribute [rw] node_pool_id
3859
4345
  # @deprecated This field is deprecated and may be removed in the next major version update.
3860
4346
  # @return [::String]
3861
- # Required. Deprecated. The name of the node pool.
4347
+ # Deprecated. The name of the node pool.
3862
4348
  # This field has been deprecated and replaced by the name field.
3863
4349
  # @!attribute [rw] name
3864
4350
  # @return [::String]
@@ -4406,25 +4892,25 @@ module Google
4406
4892
  # @!attribute [rw] project_id
4407
4893
  # @deprecated This field is deprecated and may be removed in the next major version update.
4408
4894
  # @return [::String]
4409
- # Required. Deprecated. The Google Developers Console [project ID or project
4895
+ # Deprecated. The Google Developers Console [project ID or project
4410
4896
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4411
4897
  # This field has been deprecated and replaced by the name field.
4412
4898
  # @!attribute [rw] zone
4413
4899
  # @deprecated This field is deprecated and may be removed in the next major version update.
4414
4900
  # @return [::String]
4415
- # Required. Deprecated. The name of the Google Compute Engine
4901
+ # Deprecated. The name of the Google Compute Engine
4416
4902
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4417
4903
  # cluster resides. This field has been deprecated and replaced by the name
4418
4904
  # field.
4419
4905
  # @!attribute [rw] cluster_id
4420
4906
  # @deprecated This field is deprecated and may be removed in the next major version update.
4421
4907
  # @return [::String]
4422
- # Required. Deprecated. The name of the cluster to update.
4908
+ # Deprecated. The name of the cluster to update.
4423
4909
  # This field has been deprecated and replaced by the name field.
4424
4910
  # @!attribute [rw] node_pool_id
4425
4911
  # @deprecated This field is deprecated and may be removed in the next major version update.
4426
4912
  # @return [::String]
4427
- # Required. Deprecated. The name of the node pool to update.
4913
+ # Deprecated. The name of the node pool to update.
4428
4914
  # This field has been deprecated and replaced by the name field.
4429
4915
  # @!attribute [rw] management
4430
4916
  # @return [::Google::Cloud::Container::V1beta1::NodeManagement]
@@ -4443,25 +4929,25 @@ module Google
4443
4929
  # @!attribute [rw] project_id
4444
4930
  # @deprecated This field is deprecated and may be removed in the next major version update.
4445
4931
  # @return [::String]
4446
- # Required. Deprecated. The Google Developers Console [project ID or project
4932
+ # Deprecated. The Google Developers Console [project ID or project
4447
4933
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4448
4934
  # This field has been deprecated and replaced by the name field.
4449
4935
  # @!attribute [rw] zone
4450
4936
  # @deprecated This field is deprecated and may be removed in the next major version update.
4451
4937
  # @return [::String]
4452
- # Required. Deprecated. The name of the Google Compute Engine
4938
+ # Deprecated. The name of the Google Compute Engine
4453
4939
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4454
4940
  # cluster resides. This field has been deprecated and replaced by the name
4455
4941
  # field.
4456
4942
  # @!attribute [rw] cluster_id
4457
4943
  # @deprecated This field is deprecated and may be removed in the next major version update.
4458
4944
  # @return [::String]
4459
- # Required. Deprecated. The name of the cluster to update.
4945
+ # Deprecated. The name of the cluster to update.
4460
4946
  # This field has been deprecated and replaced by the name field.
4461
4947
  # @!attribute [rw] node_pool_id
4462
4948
  # @deprecated This field is deprecated and may be removed in the next major version update.
4463
4949
  # @return [::String]
4464
- # Required. Deprecated. The name of the node pool to update.
4950
+ # Deprecated. The name of the node pool to update.
4465
4951
  # This field has been deprecated and replaced by the name field.
4466
4952
  # @!attribute [rw] node_count
4467
4953
  # @return [::Integer]
@@ -4489,30 +4975,30 @@ module Google
4489
4975
  end
4490
4976
 
4491
4977
  # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
4492
- # NodePool upgrade. This will be an no-op if the last upgrade successfully
4493
- # completed.
4978
+ # NodePool upgrade. This will be an no-op if the last upgrade successfully
4979
+ # completed.
4494
4980
  # @!attribute [rw] project_id
4495
4981
  # @deprecated This field is deprecated and may be removed in the next major version update.
4496
4982
  # @return [::String]
4497
- # Required. Deprecated. The Google Developers Console [project ID or project
4983
+ # Deprecated. The Google Developers Console [project ID or project
4498
4984
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4499
4985
  # This field has been deprecated and replaced by the name field.
4500
4986
  # @!attribute [rw] zone
4501
4987
  # @deprecated This field is deprecated and may be removed in the next major version update.
4502
4988
  # @return [::String]
4503
- # Required. Deprecated. The name of the Google Compute Engine
4989
+ # Deprecated. The name of the Google Compute Engine
4504
4990
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4505
4991
  # cluster resides. This field has been deprecated and replaced by the name
4506
4992
  # field.
4507
4993
  # @!attribute [rw] cluster_id
4508
4994
  # @deprecated This field is deprecated and may be removed in the next major version update.
4509
4995
  # @return [::String]
4510
- # Required. Deprecated. The name of the cluster to rollback.
4996
+ # Deprecated. The name of the cluster to rollback.
4511
4997
  # This field has been deprecated and replaced by the name field.
4512
4998
  # @!attribute [rw] node_pool_id
4513
4999
  # @deprecated This field is deprecated and may be removed in the next major version update.
4514
5000
  # @return [::String]
4515
- # Required. Deprecated. The name of the node pool to rollback.
5001
+ # Deprecated. The name of the node pool to rollback.
4516
5002
  # This field has been deprecated and replaced by the name field.
4517
5003
  # @!attribute [rw] name
4518
5004
  # @return [::String]
@@ -4651,7 +5137,7 @@ module Google
4651
5137
  # available image types.
4652
5138
  # @!attribute [rw] insecure_kubelet_readonly_port_enabled
4653
5139
  # @return [::Boolean]
4654
- # Enable or disable Kubelet read only port.
5140
+ # DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
4655
5141
  class AutoprovisioningNodePoolDefaults
4656
5142
  include ::Google::Protobuf::MessageExts
4657
5143
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4680,11 +5166,11 @@ module Google
4680
5166
  # Is autoscaling enabled for this node pool.
4681
5167
  # @!attribute [rw] min_node_count
4682
5168
  # @return [::Integer]
4683
- # Minimum number of nodes for one location in the NodePool. Must be >= 1 and
4684
- # <= max_node_count.
5169
+ # Minimum number of nodes for one location in the node pool. Must be greater
5170
+ # than or equal to 0 and less than or equal to max_node_count.
4685
5171
  # @!attribute [rw] max_node_count
4686
5172
  # @return [::Integer]
4687
- # Maximum number of nodes for one location in the NodePool. Must be >=
5173
+ # Maximum number of nodes for one location in the node pool. Must be >=
4688
5174
  # min_node_count. There has to be enough quota to scale up the cluster.
4689
5175
  # @!attribute [rw] autoprovisioned
4690
5176
  # @return [::Boolean]
@@ -4694,13 +5180,13 @@ module Google
4694
5180
  # Location policy used when scaling up a nodepool.
4695
5181
  # @!attribute [rw] total_min_node_count
4696
5182
  # @return [::Integer]
4697
- # Minimum number of nodes in the node pool. Must be greater than 1 less than
4698
- # total_max_node_count.
5183
+ # Minimum number of nodes in the node pool. Must be greater than or equal
5184
+ # to 0 and less than or equal to total_max_node_count.
4699
5185
  # The total_*_node_count fields are mutually exclusive with the *_node_count
4700
5186
  # fields.
4701
5187
  # @!attribute [rw] total_max_node_count
4702
5188
  # @return [::Integer]
4703
- # Maximum number of nodes in the node pool. Must be greater than
5189
+ # Maximum number of nodes in the node pool. Must be greater than or equal to
4704
5190
  # total_min_node_count. There has to be enough quota to scale up the cluster.
4705
5191
  # The total_*_node_count fields are mutually exclusive with the *_node_count
4706
5192
  # fields.
@@ -4729,20 +5215,20 @@ module Google
4729
5215
  # @!attribute [rw] project_id
4730
5216
  # @deprecated This field is deprecated and may be removed in the next major version update.
4731
5217
  # @return [::String]
4732
- # Required. Deprecated. The Google Developers Console [project ID or project
5218
+ # Deprecated. The Google Developers Console [project ID or project
4733
5219
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4734
5220
  # This field has been deprecated and replaced by the name field.
4735
5221
  # @!attribute [rw] zone
4736
5222
  # @deprecated This field is deprecated and may be removed in the next major version update.
4737
5223
  # @return [::String]
4738
- # Required. Deprecated. The name of the Google Compute Engine
5224
+ # Deprecated. The name of the Google Compute Engine
4739
5225
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4740
5226
  # cluster resides. This field has been deprecated and replaced by the name
4741
5227
  # field.
4742
5228
  # @!attribute [rw] cluster_id
4743
5229
  # @deprecated This field is deprecated and may be removed in the next major version update.
4744
5230
  # @return [::String]
4745
- # Required. Deprecated. The name of the cluster.
5231
+ # Deprecated. The name of the cluster.
4746
5232
  # This field has been deprecated and replaced by the name field.
4747
5233
  # @!attribute [rw] resource_labels
4748
5234
  # @return [::Google::Protobuf::Map{::String => ::String}]
@@ -4778,20 +5264,20 @@ module Google
4778
5264
  # @!attribute [rw] project_id
4779
5265
  # @deprecated This field is deprecated and may be removed in the next major version update.
4780
5266
  # @return [::String]
4781
- # Required. Deprecated. The Google Developers Console [project ID or project
5267
+ # Deprecated. The Google Developers Console [project ID or project
4782
5268
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4783
5269
  # This field has been deprecated and replaced by the name field.
4784
5270
  # @!attribute [rw] zone
4785
5271
  # @deprecated This field is deprecated and may be removed in the next major version update.
4786
5272
  # @return [::String]
4787
- # Required. Deprecated. The name of the Google Compute Engine
5273
+ # Deprecated. The name of the Google Compute Engine
4788
5274
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4789
5275
  # cluster resides. This field has been deprecated and replaced by the name
4790
5276
  # field.
4791
5277
  # @!attribute [rw] cluster_id
4792
5278
  # @deprecated This field is deprecated and may be removed in the next major version update.
4793
5279
  # @return [::String]
4794
- # Required. Deprecated. The name of the cluster to update.
5280
+ # Deprecated. The name of the cluster to update.
4795
5281
  # This field has been deprecated and replaced by the name field.
4796
5282
  # @!attribute [rw] enabled
4797
5283
  # @return [::Boolean]
@@ -4810,20 +5296,20 @@ module Google
4810
5296
  # @!attribute [rw] project_id
4811
5297
  # @deprecated This field is deprecated and may be removed in the next major version update.
4812
5298
  # @return [::String]
4813
- # Required. Deprecated. The Google Developers Console [project ID or project
5299
+ # Deprecated. The Google Developers Console [project ID or project
4814
5300
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4815
5301
  # This field has been deprecated and replaced by the name field.
4816
5302
  # @!attribute [rw] zone
4817
5303
  # @deprecated This field is deprecated and may be removed in the next major version update.
4818
5304
  # @return [::String]
4819
- # Required. Deprecated. The name of the Google Compute Engine
5305
+ # Deprecated. The name of the Google Compute Engine
4820
5306
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4821
5307
  # cluster resides. This field has been deprecated and replaced by the name
4822
5308
  # field.
4823
5309
  # @!attribute [rw] cluster_id
4824
5310
  # @deprecated This field is deprecated and may be removed in the next major version update.
4825
5311
  # @return [::String]
4826
- # Required. Deprecated. The name of the cluster.
5312
+ # Deprecated. The name of the cluster.
4827
5313
  # This field has been deprecated and replaced by the name field.
4828
5314
  # @!attribute [rw] name
4829
5315
  # @return [::String]
@@ -4841,20 +5327,20 @@ module Google
4841
5327
  # @!attribute [rw] project_id
4842
5328
  # @deprecated This field is deprecated and may be removed in the next major version update.
4843
5329
  # @return [::String]
4844
- # Required. Deprecated. The Google Developers Console [project ID or project
5330
+ # Deprecated. The Google Developers Console [project ID or project
4845
5331
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
4846
5332
  # This field has been deprecated and replaced by the name field.
4847
5333
  # @!attribute [rw] zone
4848
5334
  # @deprecated This field is deprecated and may be removed in the next major version update.
4849
5335
  # @return [::String]
4850
- # Required. Deprecated. The name of the Google Compute Engine
5336
+ # Deprecated. The name of the Google Compute Engine
4851
5337
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4852
5338
  # cluster resides. This field has been deprecated and replaced by the name
4853
5339
  # field.
4854
5340
  # @!attribute [rw] cluster_id
4855
5341
  # @deprecated This field is deprecated and may be removed in the next major version update.
4856
5342
  # @return [::String]
4857
- # Required. Deprecated. The name of the cluster.
5343
+ # Deprecated. The name of the cluster.
4858
5344
  # This field has been deprecated and replaced by the name field.
4859
5345
  # @!attribute [rw] name
4860
5346
  # @return [::String]
@@ -4948,11 +5434,36 @@ module Google
4948
5434
  # @!attribute [rw] enabled
4949
5435
  # @return [::Boolean]
4950
5436
  # Enable Managed Collection.
5437
+ # @!attribute [rw] auto_monitoring_config
5438
+ # @return [::Google::Cloud::Container::V1beta1::AutoMonitoringConfig]
5439
+ # GKE Workload Auto-Monitoring Configuration.
4951
5440
  class ManagedPrometheusConfig
4952
5441
  include ::Google::Protobuf::MessageExts
4953
5442
  extend ::Google::Protobuf::MessageExts::ClassMethods
4954
5443
  end
4955
5444
 
5445
+ # AutoMonitoringConfig defines the configuration for GKE Workload
5446
+ # Auto-Monitoring.
5447
+ # @!attribute [rw] scope
5448
+ # @return [::Google::Cloud::Container::V1beta1::AutoMonitoringConfig::Scope]
5449
+ # Scope for GKE Workload Auto-Monitoring.
5450
+ class AutoMonitoringConfig
5451
+ include ::Google::Protobuf::MessageExts
5452
+ extend ::Google::Protobuf::MessageExts::ClassMethods
5453
+
5454
+ # Scope for applications monitored by Auto-Monitoring
5455
+ module Scope
5456
+ # Not set.
5457
+ SCOPE_UNSPECIFIED = 0
5458
+
5459
+ # Auto-Monitoring is enabled for all supported applications.
5460
+ ALL = 1
5461
+
5462
+ # Disable Auto-Monitoring.
5463
+ NONE = 2
5464
+ end
5465
+ end
5466
+
4956
5467
  # WorkloadMetadataConfig defines the metadata configuration to expose to
4957
5468
  # workloads on the node pool.
4958
5469
  # @!attribute [rw] node_metadata
@@ -5017,20 +5528,20 @@ module Google
5017
5528
  # @!attribute [rw] project_id
5018
5529
  # @deprecated This field is deprecated and may be removed in the next major version update.
5019
5530
  # @return [::String]
5020
- # Required. Deprecated. The Google Developers Console [project ID or project
5531
+ # Deprecated. The Google Developers Console [project ID or project
5021
5532
  # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
5022
5533
  # This field has been deprecated and replaced by the name field.
5023
5534
  # @!attribute [rw] zone
5024
5535
  # @deprecated This field is deprecated and may be removed in the next major version update.
5025
5536
  # @return [::String]
5026
- # Required. Deprecated. The name of the Google Compute Engine
5537
+ # Deprecated. The name of the Google Compute Engine
5027
5538
  # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
5028
5539
  # cluster resides. This field has been deprecated and replaced by the name
5029
5540
  # field.
5030
5541
  # @!attribute [rw] cluster_id
5031
5542
  # @deprecated This field is deprecated and may be removed in the next major version update.
5032
5543
  # @return [::String]
5033
- # Required. Deprecated. The name of the cluster.
5544
+ # Deprecated. The name of the cluster.
5034
5545
  # This field has been deprecated and replaced by the name field.
5035
5546
  # @!attribute [rw] network_policy
5036
5547
  # @return [::Google::Cloud::Container::V1beta1::NetworkPolicy]
@@ -5169,8 +5680,10 @@ module Google
5169
5680
  CLOUD_KMS_KEY_ERROR = 7
5170
5681
 
5171
5682
  # Cluster CA is expiring soon.
5172
- # More codes TBA
5173
5683
  CA_EXPIRING = 9
5684
+
5685
+ # Node service account is missing permissions.
5686
+ NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS = 10
5174
5687
  end
5175
5688
  end
5176
5689
 
@@ -5235,6 +5748,16 @@ module Google
5235
5748
  # @!attribute [rw] enable_cilium_clusterwide_network_policy
5236
5749
  # @return [::Boolean]
5237
5750
  # Whether CiliumClusterWideNetworkPolicy is enabled on this cluster.
5751
+ # @!attribute [rw] default_enable_private_nodes
5752
+ # @return [::Boolean]
5753
+ # Controls whether by default nodes have private IP addresses only.
5754
+ # It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
5755
+ # and this field at the same time.
5756
+ # To update the default setting, use
5757
+ # {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_default_enable_private_nodes ClusterUpdate.desired_default_enable_private_nodes}
5758
+ # @!attribute [rw] disable_l4_lb_firewall_reconciliation
5759
+ # @return [::Boolean]
5760
+ # Disable L4 load balancer VPC firewalls to enable firewall policies.
5238
5761
  class NetworkConfig
5239
5762
  include ::Google::Protobuf::MessageExts
5240
5763
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5791,7 +6314,7 @@ module Google
5791
6314
  extend ::Google::Protobuf::MessageExts::ClassMethods
5792
6315
  end
5793
6316
 
5794
- # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
6317
+ # GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517
5795
6318
  # @!attribute [rw] keys
5796
6319
  # @return [::Array<::Google::Cloud::Container::V1beta1::Jwk>]
5797
6320
  # The public component of the keys used by the cluster to sign token
@@ -5828,7 +6351,7 @@ module Google
5828
6351
  # The name of the resources which are subject to this issue.
5829
6352
  # @!attribute [rw] documentation_url
5830
6353
  # @return [::String]
5831
- # A URL to a public documnetation, which addresses resolving this issue.
6354
+ # A URL to a public documentation, which addresses resolving this issue.
5832
6355
  # @!attribute [rw] description
5833
6356
  # @return [::String]
5834
6357
  # The description of the issue.
@@ -5919,6 +6442,9 @@ module Google
5919
6442
  end
5920
6443
 
5921
6444
  # Configuration for Cloud TPU.
6445
+ # This message is deprecated due to the deprecation of 2VM TPU. The end of life
6446
+ # date for 2VM TPU is 2025-04-25.
6447
+ # @deprecated This message is deprecated and may be removed in the next major version update.
5922
6448
  # @!attribute [rw] enabled
5923
6449
  # @return [::Boolean]
5924
6450
  # Whether Cloud TPU integration is enabled or not.
@@ -5964,7 +6490,7 @@ module Google
5964
6490
  # Enable Autopilot
5965
6491
  # @!attribute [rw] workload_policy_config
5966
6492
  # @return [::Google::Cloud::Container::V1beta1::WorkloadPolicyConfig]
5967
- # Workload policy configuration for Autopilot.
6493
+ # WorkloadPolicyConfig is the configuration related to GCW workload policy
5968
6494
  # @!attribute [r] conversion_status
5969
6495
  # @return [::Google::Cloud::Container::V1beta1::AutopilotConversionStatus]
5970
6496
  # Output only. ConversionStatus shows conversion status.
@@ -5973,11 +6499,14 @@ module Google
5973
6499
  extend ::Google::Protobuf::MessageExts::ClassMethods
5974
6500
  end
5975
6501
 
5976
- # WorkloadPolicyConfig is the configuration of workload policy for autopilot
5977
- # clusters.
6502
+ # WorkloadPolicyConfig is the configuration related to GCW workload policy
5978
6503
  # @!attribute [rw] allow_net_admin
5979
6504
  # @return [::Boolean]
5980
6505
  # If true, workloads can use NET_ADMIN capability.
6506
+ # @!attribute [rw] autopilot_compatibility_auditing_enabled
6507
+ # @return [::Boolean]
6508
+ # If true, enables the GCW Auditor that audits workloads on
6509
+ # standard clusters.
5981
6510
  class WorkloadPolicyConfig
5982
6511
  include ::Google::Protobuf::MessageExts
5983
6512
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -6035,6 +6564,9 @@ module Google
6035
6564
 
6036
6565
  # Corresponds with SecurityBulletinEvent.
6037
6566
  SECURITY_BULLETIN_EVENT = 3
6567
+
6568
+ # Corresponds with UpgradeInfoEvent.
6569
+ UPGRADE_INFO_EVENT = 4
6038
6570
  end
6039
6571
  end
6040
6572
 
@@ -6043,9 +6575,27 @@ module Google
6043
6575
  # @!attribute [rw] enabled
6044
6576
  # @return [::Boolean]
6045
6577
  # Whether Confidential Nodes feature is enabled.
6578
+ # @!attribute [rw] confidential_instance_type
6579
+ # @return [::Google::Cloud::Container::V1beta1::ConfidentialNodes::ConfidentialInstanceType]
6580
+ # Defines the type of technology used by the confidential node.
6046
6581
  class ConfidentialNodes
6047
6582
  include ::Google::Protobuf::MessageExts
6048
6583
  extend ::Google::Protobuf::MessageExts::ClassMethods
6584
+
6585
+ # The type of technology used by the confidential node.
6586
+ module ConfidentialInstanceType
6587
+ # No type specified. Do not use this value.
6588
+ CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED = 0
6589
+
6590
+ # AMD Secure Encrypted Virtualization.
6591
+ SEV = 1
6592
+
6593
+ # AMD Secure Encrypted Virtualization - Secure Nested Paging.
6594
+ SEV_SNP = 2
6595
+
6596
+ # Intel Trust Domain eXtension.
6597
+ TDX = 3
6598
+ end
6049
6599
  end
6050
6600
 
6051
6601
  # UpgradeEvent is a notification sent to customers by the cluster server when
@@ -6074,6 +6624,86 @@ module Google
6074
6624
  extend ::Google::Protobuf::MessageExts::ClassMethods
6075
6625
  end
6076
6626
 
6627
+ # UpgradeInfoEvent is a notification sent to customers about the upgrade
6628
+ # information of a resource.
6629
+ # @!attribute [rw] resource_type
6630
+ # @return [::Google::Cloud::Container::V1beta1::UpgradeResourceType]
6631
+ # The resource type associated with the upgrade.
6632
+ # @!attribute [rw] operation
6633
+ # @return [::String]
6634
+ # The operation associated with this upgrade.
6635
+ # @!attribute [rw] start_time
6636
+ # @return [::Google::Protobuf::Timestamp]
6637
+ # The time when the operation was started.
6638
+ # @!attribute [rw] end_time
6639
+ # @return [::Google::Protobuf::Timestamp]
6640
+ # The time when the operation ended.
6641
+ # @!attribute [rw] current_version
6642
+ # @return [::String]
6643
+ # The current version before the upgrade.
6644
+ # @!attribute [rw] target_version
6645
+ # @return [::String]
6646
+ # The target version for the upgrade.
6647
+ # @!attribute [rw] resource
6648
+ # @return [::String]
6649
+ # Optional relative path to the resource. For example in node pool upgrades,
6650
+ # the relative path of the node pool.
6651
+ # @!attribute [r] state
6652
+ # @return [::Google::Cloud::Container::V1beta1::UpgradeInfoEvent::State]
6653
+ # Output only. The state of the upgrade.
6654
+ # @!attribute [rw] standard_support_end_time
6655
+ # @return [::Google::Protobuf::Timestamp]
6656
+ # The end of standard support timestamp.
6657
+ # @!attribute [rw] extended_support_end_time
6658
+ # @return [::Google::Protobuf::Timestamp]
6659
+ # The end of extended support timestamp.
6660
+ # @!attribute [rw] description
6661
+ # @return [::String]
6662
+ # A brief description of the event.
6663
+ # @!attribute [rw] event_type
6664
+ # @return [::Google::Cloud::Container::V1beta1::UpgradeInfoEvent::EventType]
6665
+ # The type of the event.
6666
+ class UpgradeInfoEvent
6667
+ include ::Google::Protobuf::MessageExts
6668
+ extend ::Google::Protobuf::MessageExts::ClassMethods
6669
+
6670
+ # The state of the upgrade.
6671
+ module State
6672
+ # STATE_UNSPECIFIED indicates the state is unspecified.
6673
+ STATE_UNSPECIFIED = 0
6674
+
6675
+ # STARTED indicates the upgrade has started.
6676
+ STARTED = 3
6677
+
6678
+ # SUCCEEDED indicates the upgrade has completed successfully.
6679
+ SUCCEEDED = 4
6680
+
6681
+ # FAILED indicates the upgrade has failed.
6682
+ FAILED = 5
6683
+
6684
+ # CANCELED indicates the upgrade has canceled.
6685
+ CANCELED = 6
6686
+ end
6687
+
6688
+ # The type of the event.
6689
+ module EventType
6690
+ # EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.
6691
+ EVENT_TYPE_UNSPECIFIED = 0
6692
+
6693
+ # END_OF_SUPPORT indicates GKE version reaches end of support, check
6694
+ # standard_support_end_time and extended_support_end_time for more details.
6695
+ END_OF_SUPPORT = 1
6696
+
6697
+ # COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will
6698
+ # update COS milestone version for new patch versions starting with
6699
+ # the one in the description.
6700
+ COS_MILESTONE_VERSION_UPDATE = 2
6701
+
6702
+ # UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.
6703
+ UPGRADE_LIFECYCLE = 3
6704
+ end
6705
+ end
6706
+
6077
6707
  # UpgradeAvailableEvent is a notification sent to customers when a new
6078
6708
  # available version is released.
6079
6709
  # @!attribute [rw] version
@@ -6138,6 +6768,9 @@ module Google
6138
6768
  # @return [::Boolean]
6139
6769
  # If this field is specified, it means there are manual steps that the user
6140
6770
  # must take to make their clusters safe.
6771
+ # @!attribute [rw] mitigated_versions
6772
+ # @return [::Array<::String>]
6773
+ # The GKE versions where this vulnerability is mitigated.
6141
6774
  class SecurityBulletinEvent
6142
6775
  include ::Google::Protobuf::MessageExts
6143
6776
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -6189,6 +6822,15 @@ module Google
6189
6822
 
6190
6823
  # kube-controller-manager
6191
6824
  CONTROLLER_MANAGER = 5
6825
+
6826
+ # kcp-sshd
6827
+ KCP_SSHD = 7
6828
+
6829
+ # kcp connection logs
6830
+ KCP_CONNECTION = 8
6831
+
6832
+ # horizontal pod autoscaler decision logs
6833
+ KCP_HPA = 9
6192
6834
  end
6193
6835
  end
6194
6836
 
@@ -6343,6 +6985,33 @@ module Google
6343
6985
 
6344
6986
  # NVIDIA Data Center GPU Manager (DCGM)
6345
6987
  DCGM = 15
6988
+
6989
+ # JobSet
6990
+ JOBSET = 16
6991
+ end
6992
+ end
6993
+
6994
+ # PodAutoscaling is used for configuration of parameters
6995
+ # for workload autoscaling.
6996
+ # @!attribute [rw] hpa_profile
6997
+ # @return [::Google::Cloud::Container::V1beta1::PodAutoscaling::HPAProfile]
6998
+ # Selected Horizontal Pod Autoscaling profile.
6999
+ class PodAutoscaling
7000
+ include ::Google::Protobuf::MessageExts
7001
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7002
+
7003
+ # Possible types of Horizontal Pod Autoscaling profile.
7004
+ module HPAProfile
7005
+ # HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.
7006
+ HPA_PROFILE_UNSPECIFIED = 0
7007
+
7008
+ # Customers explicitly opt-out of HPA profiles.
7009
+ NONE = 1
7010
+
7011
+ # PERFORMANCE is used when customers opt-in to the performance HPA profile.
7012
+ # In this profile we support a higher number of HPAs per cluster and faster
7013
+ # metrics collection for workload autoscaling.
7014
+ PERFORMANCE = 2
6346
7015
  end
6347
7016
  end
6348
7017
 
@@ -6366,6 +7035,79 @@ module Google
6366
7035
  extend ::Google::Protobuf::MessageExts::ClassMethods
6367
7036
  end
6368
7037
 
7038
+ # Configuration for all of the cluster's control plane endpoints.
7039
+ # @!attribute [rw] dns_endpoint_config
7040
+ # @return [::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::DNSEndpointConfig]
7041
+ # DNS endpoint configuration.
7042
+ # @!attribute [rw] ip_endpoints_config
7043
+ # @return [::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::IPEndpointsConfig]
7044
+ # IP endpoints configuration.
7045
+ class ControlPlaneEndpointsConfig
7046
+ include ::Google::Protobuf::MessageExts
7047
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7048
+
7049
+ # Describes the configuration of a DNS endpoint.
7050
+ # @!attribute [r] endpoint
7051
+ # @return [::String]
7052
+ # Output only. The cluster's DNS endpoint configuration.
7053
+ # A DNS format address. This is accessible from the public internet.
7054
+ # Ex: uid.us-central1.gke.goog.
7055
+ # Always present, but the behavior may change according to the value of
7056
+ # {::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig::DNSEndpointConfig#allow_external_traffic DNSEndpointConfig.allow_external_traffic}.
7057
+ # @!attribute [rw] allow_external_traffic
7058
+ # @return [::Boolean]
7059
+ # Controls whether user traffic is allowed over this endpoint. Note that
7060
+ # GCP-managed services may still use the endpoint even if this is false.
7061
+ class DNSEndpointConfig
7062
+ include ::Google::Protobuf::MessageExts
7063
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7064
+ end
7065
+
7066
+ # IP endpoints configuration.
7067
+ # @!attribute [rw] enabled
7068
+ # @return [::Boolean]
7069
+ # Controls whether to allow direct IP access.
7070
+ # @!attribute [rw] enable_public_endpoint
7071
+ # @return [::Boolean]
7072
+ # Controls whether the control plane allows access through a public IP.
7073
+ # It is invalid to specify both
7074
+ # [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same
7075
+ # time.
7076
+ # @!attribute [rw] global_access
7077
+ # @return [::Boolean]
7078
+ # Controls whether the control plane's private endpoint is accessible from
7079
+ # sources in other regions.
7080
+ # It is invalid to specify both
7081
+ # {::Google::Cloud::Container::V1beta1::PrivateClusterMasterGlobalAccessConfig#enabled PrivateClusterMasterGlobalAccessConfig.enabled}
7082
+ # and this field at the same time.
7083
+ # @!attribute [rw] authorized_networks_config
7084
+ # @return [::Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig]
7085
+ # Configuration of authorized networks. If enabled, restricts access to the
7086
+ # control plane based on source IP.
7087
+ # It is invalid to specify both
7088
+ # [Cluster.masterAuthorizedNetworksConfig][] and this field at the same
7089
+ # time.
7090
+ # @!attribute [r] public_endpoint
7091
+ # @return [::String]
7092
+ # Output only. The external IP address of this cluster's control plane.
7093
+ # Only populated if enabled.
7094
+ # @!attribute [r] private_endpoint
7095
+ # @return [::String]
7096
+ # Output only. The internal IP address of this cluster's control plane.
7097
+ # Only populated if enabled.
7098
+ # @!attribute [rw] private_endpoint_subnetwork
7099
+ # @return [::String]
7100
+ # Subnet to provision the master's private endpoint during cluster
7101
+ # creation. Specified in projects/*/regions/*/subnetworks/* format. It is
7102
+ # invalid to specify both
7103
+ # [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the
7104
+ # same time.
7105
+ class IPEndpointsConfig
7106
+ include ::Google::Protobuf::MessageExts
7107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7108
+ end
7109
+ end
7110
+
6369
7111
  # A map of resource manager tag keys and values to be attached to the nodes
6370
7112
  # for managing Compute Engine firewalls using Network Firewall Policies.
6371
7113
  # Tags must be according to specifications in
@@ -6395,7 +7137,10 @@ module Google
6395
7137
  # EnterpriseConfig is the cluster enterprise configuration.
6396
7138
  # @!attribute [r] cluster_tier
6397
7139
  # @return [::Google::Cloud::Container::V1beta1::EnterpriseConfig::ClusterTier]
6398
- # Output only. cluster_tier specifies the premium tier of the cluster.
7140
+ # Output only. cluster_tier indicates the effective tier of the cluster.
7141
+ # @!attribute [rw] desired_tier
7142
+ # @return [::Google::Cloud::Container::V1beta1::EnterpriseConfig::ClusterTier]
7143
+ # desired_tier specifies the desired tier of the cluster.
6399
7144
  class EnterpriseConfig
6400
7145
  include ::Google::Protobuf::MessageExts
6401
7146
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -6416,10 +7161,26 @@ module Google
6416
7161
  # SecretManagerConfig is config for secret manager enablement.
6417
7162
  # @!attribute [rw] enabled
6418
7163
  # @return [::Boolean]
6419
- # Whether the cluster is configured to use secret manager CSI component.
7164
+ # Enable/Disable Secret Manager Config.
7165
+ # @!attribute [rw] rotation_config
7166
+ # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig::RotationConfig]
7167
+ # Rotation config for secret manager.
6420
7168
  class SecretManagerConfig
6421
7169
  include ::Google::Protobuf::MessageExts
6422
7170
  extend ::Google::Protobuf::MessageExts::ClassMethods
7171
+
7172
+ # RotationConfig is config for secret manager auto rotation.
7173
+ # @!attribute [rw] enabled
7174
+ # @return [::Boolean]
7175
+ # Whether the rotation is enabled.
7176
+ # @!attribute [rw] rotation_interval
7177
+ # @return [::Google::Protobuf::Duration]
7178
+ # The interval between two consecutive rotations. Default rotation interval
7179
+ # is 2 minutes.
7180
+ class RotationConfig
7181
+ include ::Google::Protobuf::MessageExts
7182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7183
+ end
6423
7184
  end
6424
7185
 
6425
7186
  # SecondaryBootDisk represents a persistent disk attached to a node
@@ -6453,6 +7214,229 @@ module Google
6453
7214
  extend ::Google::Protobuf::MessageExts::ClassMethods
6454
7215
  end
6455
7216
 
7217
+ # FetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.
7218
+ # @!attribute [rw] name
7219
+ # @return [::String]
7220
+ # Required. The name (project, location, cluster) of the cluster to get.
7221
+ # Specified in the format `projects/*/locations/*/clusters/*` or
7222
+ # `projects/*/zones/*/clusters/*`.
7223
+ # @!attribute [rw] version
7224
+ # @return [::String]
7225
+ # API request version that initiates this operation.
7226
+ class FetchClusterUpgradeInfoRequest
7227
+ include ::Google::Protobuf::MessageExts
7228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7229
+ end
7230
+
7231
+ # ClusterUpgradeInfo contains the upgrade information of a cluster.
7232
+ # @!attribute [rw] minor_target_version
7233
+ # @return [::String]
7234
+ # minor_target_version indicates the target version for minor upgrade.
7235
+ # @!attribute [rw] patch_target_version
7236
+ # @return [::String]
7237
+ # patch_target_version indicates the target version for patch upgrade.
7238
+ # @!attribute [rw] auto_upgrade_status
7239
+ # @return [::Array<::Google::Cloud::Container::V1beta1::ClusterUpgradeInfo::AutoUpgradeStatus>]
7240
+ # The auto upgrade status.
7241
+ # @!attribute [rw] paused_reason
7242
+ # @return [::Array<::Google::Cloud::Container::V1beta1::ClusterUpgradeInfo::AutoUpgradePausedReason>]
7243
+ # The auto upgrade paused reason.
7244
+ # @!attribute [rw] upgrade_details
7245
+ # @return [::Array<::Google::Cloud::Container::V1beta1::UpgradeDetails>]
7246
+ # The list of past auto upgrades.
7247
+ # @!attribute [rw] end_of_standard_support_timestamp
7248
+ # @return [::String]
7249
+ # The cluster's current minor version's end of standard support timestamp.
7250
+ # @!attribute [rw] end_of_extended_support_timestamp
7251
+ # @return [::String]
7252
+ # The cluster's current minor version's end of extended support timestamp.
7253
+ class ClusterUpgradeInfo
7254
+ include ::Google::Protobuf::MessageExts
7255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7256
+
7257
+ # AutoUpgradeStatus indicates the status of auto upgrade.
7258
+ module AutoUpgradeStatus
7259
+ # UNKNOWN indicates an unknown status.
7260
+ UNKNOWN = 0
7261
+
7262
+ # ACTIVE indicates an active status.
7263
+ ACTIVE = 1
7264
+
7265
+ # MINOR_UPGRADE_PAUSED indicates the minor version upgrade is
7266
+ # paused.
7267
+ MINOR_UPGRADE_PAUSED = 4
7268
+
7269
+ # UPGRADE_PAUSED indicates the upgrade is paused.
7270
+ UPGRADE_PAUSED = 5
7271
+ end
7272
+
7273
+ # AutoUpgradePausedReason indicates the reason for auto upgrade paused
7274
+ # status.
7275
+ module AutoUpgradePausedReason
7276
+ # AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
7277
+ AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED = 0
7278
+
7279
+ # MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance
7280
+ # window.
7281
+ MAINTENANCE_WINDOW = 1
7282
+
7283
+ # MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a
7284
+ # maintenance exclusion with scope NO_UPGRADES.
7285
+ MAINTENANCE_EXCLUSION_NO_UPGRADES = 5
7286
+
7287
+ # MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a
7288
+ # maintenance exclusion with scope NO_MINOR_UPGRADES.
7289
+ MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES = 6
7290
+
7291
+ # CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster
7292
+ # disruption budget.
7293
+ CLUSTER_DISRUPTION_BUDGET = 4
7294
+
7295
+ # CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside
7296
+ # the cluster disruption budget for minor version upgrade.
7297
+ CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE = 7
7298
+
7299
+ # SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
7300
+ SYSTEM_CONFIG = 8
7301
+ end
7302
+ end
7303
+
7304
+ # UpgradeDetails contains detailed information of each individual upgrade
7305
+ # operation.
7306
+ # @!attribute [r] state
7307
+ # @return [::Google::Cloud::Container::V1beta1::UpgradeDetails::State]
7308
+ # Output only. The state of the upgrade.
7309
+ # @!attribute [rw] start_time
7310
+ # @return [::Google::Protobuf::Timestamp]
7311
+ # The start timestamp of the upgrade.
7312
+ # @!attribute [rw] end_time
7313
+ # @return [::Google::Protobuf::Timestamp]
7314
+ # The end timestamp of the upgrade.
7315
+ # @!attribute [rw] initial_version
7316
+ # @return [::String]
7317
+ # The version before the upgrade.
7318
+ # @!attribute [rw] target_version
7319
+ # @return [::String]
7320
+ # The version after the upgrade.
7321
+ # @!attribute [rw] start_type
7322
+ # @return [::Google::Cloud::Container::V1beta1::UpgradeDetails::StartType]
7323
+ # The start type of the upgrade.
7324
+ class UpgradeDetails
7325
+ include ::Google::Protobuf::MessageExts
7326
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7327
+
7328
+ # State indicates the state of the upgrade.
7329
+ module State
7330
+ # Upgrade state is unknown.
7331
+ UNKNOWN = 0
7332
+
7333
+ # Upgrade has failed with an error.
7334
+ FAILED = 1
7335
+
7336
+ # Upgrade has succeeded.
7337
+ SUCCEEDED = 2
7338
+
7339
+ # Upgrade has been canceled.
7340
+ CANCELED = 3
7341
+
7342
+ # Upgrade is running.
7343
+ RUNNING = 4
7344
+ end
7345
+
7346
+ # StartType indicates the type of starting the upgrade.
7347
+ module StartType
7348
+ # Upgrade start type is unspecified.
7349
+ START_TYPE_UNSPECIFIED = 0
7350
+
7351
+ # Upgrade started automatically.
7352
+ AUTOMATIC = 1
7353
+
7354
+ # Upgrade started manually.
7355
+ MANUAL = 2
7356
+ end
7357
+ end
7358
+
7359
+ # FetchNodePoolUpgradeInfoRequest fetches the upgrade information of a
7360
+ # nodepool.
7361
+ # @!attribute [rw] name
7362
+ # @return [::String]
7363
+ # Required. The name (project, location, cluster, nodepool) of the nodepool
7364
+ # to get. Specified in the format
7365
+ # `projects/*/locations/*/clusters/*/nodePools/*` or
7366
+ # `projects/*/zones/*/clusters/*/nodePools/*`.
7367
+ # @!attribute [rw] version
7368
+ # @return [::String]
7369
+ # API request version that initiates this operation.
7370
+ class FetchNodePoolUpgradeInfoRequest
7371
+ include ::Google::Protobuf::MessageExts
7372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7373
+ end
7374
+
7375
+ # NodePoolUpgradeInfo contains the upgrade information of a nodepool.
7376
+ # @!attribute [rw] minor_target_version
7377
+ # @return [::String]
7378
+ # minor_target_version indicates the target version for minor upgrade.
7379
+ # @!attribute [rw] patch_target_version
7380
+ # @return [::String]
7381
+ # patch_target_version indicates the target version for patch upgrade.
7382
+ # @!attribute [rw] auto_upgrade_status
7383
+ # @return [::Array<::Google::Cloud::Container::V1beta1::NodePoolUpgradeInfo::AutoUpgradeStatus>]
7384
+ # The auto upgrade status.
7385
+ # @!attribute [rw] paused_reason
7386
+ # @return [::Array<::Google::Cloud::Container::V1beta1::NodePoolUpgradeInfo::AutoUpgradePausedReason>]
7387
+ # The auto upgrade paused reason.
7388
+ # @!attribute [rw] upgrade_details
7389
+ # @return [::Array<::Google::Cloud::Container::V1beta1::UpgradeDetails>]
7390
+ # The list of past auto upgrades.
7391
+ # @!attribute [rw] end_of_standard_support_timestamp
7392
+ # @return [::String]
7393
+ # The nodepool's current minor version's end of standard support timestamp.
7394
+ # @!attribute [rw] end_of_extended_support_timestamp
7395
+ # @return [::String]
7396
+ # The nodepool's current minor version's end of extended support timestamp.
7397
+ class NodePoolUpgradeInfo
7398
+ include ::Google::Protobuf::MessageExts
7399
+ extend ::Google::Protobuf::MessageExts::ClassMethods
7400
+
7401
+ # AutoUpgradeStatus indicates the status of auto upgrade.
7402
+ module AutoUpgradeStatus
7403
+ # UNKNOWN indicates an unknown status.
7404
+ UNKNOWN = 0
7405
+
7406
+ # ACTIVE indicates an active status.
7407
+ ACTIVE = 1
7408
+
7409
+ # MINOR_UPGRADE_PAUSED indicates the minor version upgrade is
7410
+ # paused.
7411
+ MINOR_UPGRADE_PAUSED = 2
7412
+
7413
+ # UPGRADE_PAUSED indicates the upgrade is paused.
7414
+ UPGRADE_PAUSED = 3
7415
+ end
7416
+
7417
+ # AutoUpgradePausedReason indicates the reason for auto upgrade paused
7418
+ # status.
7419
+ module AutoUpgradePausedReason
7420
+ # AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
7421
+ AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED = 0
7422
+
7423
+ # MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance
7424
+ # window.
7425
+ MAINTENANCE_WINDOW = 1
7426
+
7427
+ # MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a
7428
+ # maintenance exclusion with scope NO_UPGRADES.
7429
+ MAINTENANCE_EXCLUSION_NO_UPGRADES = 2
7430
+
7431
+ # MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a
7432
+ # maintenance exclusion with scope NO_MINOR_UPGRADES.
7433
+ MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES = 3
7434
+
7435
+ # SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
7436
+ SYSTEM_CONFIG = 4
7437
+ end
7438
+ end
7439
+
6456
7440
  # PrivateIPv6GoogleAccess controls whether and how the pods can communicate
6457
7441
  # with Google Services through gRPC over IPv6.
6458
7442
  module PrivateIPv6GoogleAccess