google-apis-container_v1 0.117.0 → 0.118.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0fdf181fe40d137b05267d0b893ff1e9e4b0b08ad8f60bb197e5c4086478cf6
4
- data.tar.gz: 7131e4b7e3e96230398f77403a00fd53be7f081bea5963ce5357c8b3020a13d6
3
+ metadata.gz: 92f4f9f803a43a069f3e5bd1beb81fdde6d664cd42f5d4237f1bbc60b14a263f
4
+ data.tar.gz: 45a2a60e8e415f5bd4964ca39c9c0949dfd96f6932dbc2505879721b6d28cec0
5
5
  SHA512:
6
- metadata.gz: 05f404ebba6e230ff62a5483eadc4f8d56f24863d37a32b14ff496568e60afe48b8e3965d50eb365a53522846894d5dbb0e7700a66ca257936c8a46c623db3bd
7
- data.tar.gz: 30962d6584313f3383748d5bc791fb1dffb3716600400e2f0f7eac85f4399d108e6b550f2ebb4531405ff9f163a326d1123c5a167b29dbfff3255be921fe942e
6
+ metadata.gz: 0fa4313d83413e968ab5c3494e0dd280021aafa6cfd72ea02c587a393027790e941adaff1dc59504a888a8441adc67793b02e07ffeea8d7c0ac0f38e3d3c96ad
7
+ data.tar.gz: a3747ff988b75b9f644e892bf9e93e773d3a7abb8c6c9bc042bf902213b1a30b4208511a21a400b66642b5d4d731591d99e996ced1d68f0dc80deacc2a75bac8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.118.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260630
6
+
3
7
  ### v0.117.0 (2026-07-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20260616
@@ -1356,6 +1356,13 @@ module Google
1356
1356
  # @return [String]
1357
1357
  attr_accessor :create_time
1358
1358
 
1359
+ # Output only. The current emulated version of the master endpoint. The version
1360
+ # is in minor version format, e.g. 1.30. No value or empty string means the
1361
+ # cluster has no emulated version.
1362
+ # Corresponds to the JSON property `currentEmulatedVersion`
1363
+ # @return [String]
1364
+ attr_accessor :current_emulated_version
1365
+
1359
1366
  # Output only. The current software version of the master endpoint.
1360
1367
  # Corresponds to the JSON property `currentMasterVersion`
1361
1368
  # @return [String]
@@ -1706,6 +1713,11 @@ module Google
1706
1713
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
1707
1714
  attr_accessor :resource_usage_export_config
1708
1715
 
1716
+ # RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
1717
+ # Corresponds to the JSON property `rollbackSafeUpgrade`
1718
+ # @return [Google::Apis::ContainerV1::RollbackSafeUpgrade]
1719
+ attr_accessor :rollback_safe_upgrade
1720
+
1709
1721
  # Output only. Reserved for future use.
1710
1722
  # Corresponds to the JSON property `satisfiesPzi`
1711
1723
  # @return [Boolean]
@@ -1828,6 +1840,7 @@ module Google
1828
1840
  @control_plane_endpoints_config = args[:control_plane_endpoints_config] if args.key?(:control_plane_endpoints_config)
1829
1841
  @cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
1830
1842
  @create_time = args[:create_time] if args.key?(:create_time)
1843
+ @current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
1831
1844
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
1832
1845
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
1833
1846
  @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
@@ -1881,6 +1894,7 @@ module Google
1881
1894
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1882
1895
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
1883
1896
  @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
1897
+ @rollback_safe_upgrade = args[:rollback_safe_upgrade] if args.key?(:rollback_safe_upgrade)
1884
1898
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1885
1899
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1886
1900
  @schedule_upgrade_config = args[:schedule_upgrade_config] if args.key?(:schedule_upgrade_config)
@@ -2148,6 +2162,11 @@ module Google
2148
2162
  # @return [Google::Apis::ContainerV1::DnsConfig]
2149
2163
  attr_accessor :desired_dns_config
2150
2164
 
2165
+ # Optional. The desired emulated version for the cluster.
2166
+ # Corresponds to the JSON property `desiredEmulatedVersion`
2167
+ # @return [String]
2168
+ attr_accessor :desired_emulated_version
2169
+
2151
2170
  # Enable/Disable Cilium Clusterwide Network Policy for the cluster.
2152
2171
  # Corresponds to the JSON property `desiredEnableCiliumClusterwideNetworkPolicy`
2153
2172
  # @return [Boolean]
@@ -2450,6 +2469,11 @@ module Google
2450
2469
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
2451
2470
  attr_accessor :desired_resource_usage_export_config
2452
2471
 
2472
+ # RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
2473
+ # Corresponds to the JSON property `desiredRollbackSafeUpgrade`
2474
+ # @return [Google::Apis::ContainerV1::RollbackSafeUpgrade]
2475
+ attr_accessor :desired_rollback_safe_upgrade
2476
+
2453
2477
  # SecretManagerConfig is config for secret manager enablement.
2454
2478
  # Corresponds to the JSON property `desiredSecretManagerConfig`
2455
2479
  # @return [Google::Apis::ContainerV1::SecretManagerConfig]
@@ -2557,6 +2581,7 @@ module Google
2557
2581
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
2558
2582
  @desired_disable_l4_lb_firewall_reconciliation = args[:desired_disable_l4_lb_firewall_reconciliation] if args.key?(:desired_disable_l4_lb_firewall_reconciliation)
2559
2583
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
2584
+ @desired_emulated_version = args[:desired_emulated_version] if args.key?(:desired_emulated_version)
2560
2585
  @desired_enable_cilium_clusterwide_network_policy = args[:desired_enable_cilium_clusterwide_network_policy] if args.key?(:desired_enable_cilium_clusterwide_network_policy)
2561
2586
  @desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
2562
2587
  @desired_enable_multi_networking = args[:desired_enable_multi_networking] if args.key?(:desired_enable_multi_networking)
@@ -2604,6 +2629,7 @@ module Google
2604
2629
  @desired_rbac_binding_config = args[:desired_rbac_binding_config] if args.key?(:desired_rbac_binding_config)
2605
2630
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
2606
2631
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
2632
+ @desired_rollback_safe_upgrade = args[:desired_rollback_safe_upgrade] if args.key?(:desired_rollback_safe_upgrade)
2607
2633
  @desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
2608
2634
  @desired_secret_sync_config = args[:desired_secret_sync_config] if args.key?(:desired_secret_sync_config)
2609
2635
  @desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
@@ -2655,6 +2681,12 @@ module Google
2655
2681
  # @return [Array<String>]
2656
2682
  attr_accessor :paused_reason
2657
2683
 
2684
+ # RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a
2685
+ # cluster.
2686
+ # Corresponds to the JSON property `rollbackSafeUpgradeStatus`
2687
+ # @return [Google::Apis::ContainerV1::RollbackSafeUpgradeStatus]
2688
+ attr_accessor :rollback_safe_upgrade_status
2689
+
2658
2690
  # The list of past auto upgrades.
2659
2691
  # Corresponds to the JSON property `upgradeDetails`
2660
2692
  # @return [Array<Google::Apis::ContainerV1::UpgradeDetails>]
@@ -2672,10 +2704,31 @@ module Google
2672
2704
  @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
2673
2705
  @patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
2674
2706
  @paused_reason = args[:paused_reason] if args.key?(:paused_reason)
2707
+ @rollback_safe_upgrade_status = args[:rollback_safe_upgrade_status] if args.key?(:rollback_safe_upgrade_status)
2675
2708
  @upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
2676
2709
  end
2677
2710
  end
2678
2711
 
2712
+ # CompleteControlPlaneUpgradeRequest sets the name of target cluster to complete
2713
+ # upgrade.
2714
+ class CompleteControlPlaneUpgradeRequest
2715
+ include Google::Apis::Core::Hashable
2716
+
2717
+ # Optional. API request version that initiates this operation.
2718
+ # Corresponds to the JSON property `version`
2719
+ # @return [String]
2720
+ attr_accessor :version
2721
+
2722
+ def initialize(**args)
2723
+ update!(**args)
2724
+ end
2725
+
2726
+ # Update properties of this object
2727
+ def update!(**args)
2728
+ @version = args[:version] if args.key?(:version)
2729
+ end
2730
+ end
2731
+
2679
2732
  # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
2680
2733
  class CompleteIpRotationRequest
2681
2734
  include Google::Apis::Core::Hashable
@@ -3448,6 +3501,34 @@ module Google
3448
3501
  end
3449
3502
  end
3450
3503
 
3504
+ # DiskIoScheduler contains the configuration for the disk IO scheduler.
3505
+ class DiskIoScheduler
3506
+ include Google::Apis::Core::Hashable
3507
+
3508
+ # Optional. Configures the IO scheduler for the attached disks. Supported values
3509
+ # are `mq-deadline`, `bfq`, `kyber`, `none`.
3510
+ # Corresponds to the JSON property `nodeAttachedDiskIoScheduler`
3511
+ # @return [String]
3512
+ attr_accessor :node_attached_disk_io_scheduler
3513
+
3514
+ # Optional. Configures the IO scheduler for the boot disk or ephemeral lssd that
3515
+ # runs node system workloads. Supported values are `mq-deadline`, `bfq`, `kyber`,
3516
+ # `none`.
3517
+ # Corresponds to the JSON property `nodeSystemIoScheduler`
3518
+ # @return [String]
3519
+ attr_accessor :node_system_io_scheduler
3520
+
3521
+ def initialize(**args)
3522
+ update!(**args)
3523
+ end
3524
+
3525
+ # Update properties of this object
3526
+ def update!(**args)
3527
+ @node_attached_disk_io_scheduler = args[:node_attached_disk_io_scheduler] if args.key?(:node_attached_disk_io_scheduler)
3528
+ @node_system_io_scheduler = args[:node_system_io_scheduler] if args.key?(:node_system_io_scheduler)
3529
+ end
3530
+ end
3531
+
3451
3532
  # DisruptionBudget defines the upgrade disruption budget for the cluster control
3452
3533
  # plane.
3453
3534
  class DisruptionBudget
@@ -4979,6 +5060,31 @@ module Google
4979
5060
  end
4980
5061
  end
4981
5062
 
5063
+ # Contains expiry information about the kubelet certificate.
5064
+ class KubeletCertInfo
5065
+ include Google::Apis::Core::Hashable
5066
+
5067
+ # Output only.
5068
+ # Corresponds to the JSON property `nonTpmBootstrapCertExpireTime`
5069
+ # @return [String]
5070
+ attr_accessor :non_tpm_bootstrap_cert_expire_time
5071
+
5072
+ # Output only.
5073
+ # Corresponds to the JSON property `tpmBootstrapCertExpireTime`
5074
+ # @return [String]
5075
+ attr_accessor :tpm_bootstrap_cert_expire_time
5076
+
5077
+ def initialize(**args)
5078
+ update!(**args)
5079
+ end
5080
+
5081
+ # Update properties of this object
5082
+ def update!(**args)
5083
+ @non_tpm_bootstrap_cert_expire_time = args[:non_tpm_bootstrap_cert_expire_time] if args.key?(:non_tpm_bootstrap_cert_expire_time)
5084
+ @tpm_bootstrap_cert_expire_time = args[:tpm_bootstrap_cert_expire_time] if args.key?(:tpm_bootstrap_cert_expire_time)
5085
+ end
5086
+ end
5087
+
4982
5088
  # Configuration for the Kubernetes Dashboard.
4983
5089
  class KubernetesDashboard
4984
5090
  include Google::Apis::Core::Hashable
@@ -5042,6 +5148,11 @@ module Google
5042
5148
  # @return [Google::Apis::ContainerV1::CustomNodeInit]
5043
5149
  attr_accessor :custom_node_init
5044
5150
 
5151
+ # DiskIoScheduler contains the configuration for the disk IO scheduler.
5152
+ # Corresponds to the JSON property `diskIoScheduler`
5153
+ # @return [Google::Apis::ContainerV1::DiskIoScheduler]
5154
+ attr_accessor :disk_io_scheduler
5155
+
5045
5156
  # Hugepages amount in both 2m and 1g size
5046
5157
  # Corresponds to the JSON property `hugepages`
5047
5158
  # @return [Google::Apis::ContainerV1::HugepagesConfig]
@@ -5052,6 +5163,12 @@ module Google
5052
5163
  # @return [Google::Apis::ContainerV1::NodeKernelModuleLoading]
5053
5164
  attr_accessor :node_kernel_module_loading
5054
5165
 
5166
+ # Configuration settings for VFIO (Virtual Function I/O) on a node. VFIO allows
5167
+ # safe, unprivileged, userspace drivers to access I/O devices.
5168
+ # Corresponds to the JSON property `nodeVfioConfig`
5169
+ # @return [Google::Apis::ContainerV1::NodeVfioConfig]
5170
+ attr_accessor :node_vfio_config
5171
+
5055
5172
  # Configuration for swap memory on a node pool.
5056
5173
  # Corresponds to the JSON property `swapConfig`
5057
5174
  # @return [Google::Apis::ContainerV1::SwapConfig]
@@ -5070,14 +5187,14 @@ module Google
5070
5187
  # netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.
5071
5188
  # nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.
5072
5189
  # keys.maxkeys kernel.keys.maxbytes kernel.shmmni kernel.shmmax kernel.shmall
5073
- # kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic
5074
- # kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.
5075
- # sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.
5076
- # max_user_watches fs.nr_open vm.dirty_background_ratio vm.
5077
- # dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes
5078
- # vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.
5079
- # overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor
5080
- # vm.min_free_kbytes
5190
+ # kernel.core_pattern kernel.perf_event_paranoid kernel.sched_rt_runtime_us
5191
+ # kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.
5192
+ # dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.
5193
+ # max_user_instances fs.inotify.max_user_watches fs.nr_open vm.
5194
+ # dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.
5195
+ # dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.
5196
+ # overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.
5197
+ # watermark_scale_factor vm.min_free_kbytes
5081
5198
  # Corresponds to the JSON property `sysctls`
5082
5199
  # @return [Hash<String,String>]
5083
5200
  attr_accessor :sysctls
@@ -5108,8 +5225,10 @@ module Google
5108
5225
  @accurate_time_config = args[:accurate_time_config] if args.key?(:accurate_time_config)
5109
5226
  @cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
5110
5227
  @custom_node_init = args[:custom_node_init] if args.key?(:custom_node_init)
5228
+ @disk_io_scheduler = args[:disk_io_scheduler] if args.key?(:disk_io_scheduler)
5111
5229
  @hugepages = args[:hugepages] if args.key?(:hugepages)
5112
5230
  @node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
5231
+ @node_vfio_config = args[:node_vfio_config] if args.key?(:node_vfio_config)
5113
5232
  @swap_config = args[:swap_config] if args.key?(:swap_config)
5114
5233
  @sysctls = args[:sysctls] if args.key?(:sysctls)
5115
5234
  @transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
@@ -6763,8 +6882,12 @@ module Google
6763
6882
  attr_accessor :single_process_oom_kill
6764
6883
  alias_method :single_process_oom_kill?, :single_process_oom_kill
6765
6884
 
6766
- # TopologyManager defines the configuration options for Topology Manager feature.
6767
- # See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
6885
+ # TopologyManager defines the configuration options for the [`kubelet` Topology
6886
+ # Manager component](https://kubernetes.io/docs/tasks/administer-cluster/
6887
+ # topology-manager/). For more information about the supported machine types and
6888
+ # versions for the Topology Manager in GKE, see [Customizing node system
6889
+ # configuration](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/
6890
+ # node-system-config#kubelet-resource-managers).
6768
6891
  # Corresponds to the JSON property `topologyManager`
6769
6892
  # @return [Google::Apis::ContainerV1::TopologyManager]
6770
6893
  attr_accessor :topology_manager
@@ -7046,6 +7169,11 @@ module Google
7046
7169
  # @return [Array<String>]
7047
7170
  attr_accessor :instance_group_urls
7048
7171
 
7172
+ # Contains expiry information about the kubelet certificate.
7173
+ # Corresponds to the JSON property `kubeletCertInfo`
7174
+ # @return [Google::Apis::ContainerV1::KubeletCertInfo]
7175
+ attr_accessor :kubelet_cert_info
7176
+
7049
7177
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
7050
7178
  # docs/zones#available) in which the NodePool's nodes should be located. If this
7051
7179
  # value is unspecified during node pool creation, the [Cluster.Locations](https:/
@@ -7181,6 +7309,7 @@ module Google
7181
7309
  @etag = args[:etag] if args.key?(:etag)
7182
7310
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
7183
7311
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
7312
+ @kubelet_cert_info = args[:kubelet_cert_info] if args.key?(:kubelet_cert_info)
7184
7313
  @locations = args[:locations] if args.key?(:locations)
7185
7314
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
7186
7315
  @management = args[:management] if args.key?(:management)
@@ -7501,6 +7630,33 @@ module Google
7501
7630
  end
7502
7631
  end
7503
7632
 
7633
+ # Configuration settings for VFIO (Virtual Function I/O) on a node. VFIO allows
7634
+ # safe, unprivileged, userspace drivers to access I/O devices.
7635
+ class NodeVfioConfig
7636
+ include Google::Apis::Core::Hashable
7637
+
7638
+ # Optional. Specifies the maximum number of DMA entries (pages) that can be
7639
+ # mapped by the VFIO IOMMU type 1 driver for a container. This limit affects the
7640
+ # total amount of host memory that can be pinned for direct device access, which
7641
+ # is often critical for high-performance devices like TPUs and GPUs. This
7642
+ # setting corresponds to the kernel parameter at: `/sys/module/vfio_iommu_type1/
7643
+ # parameters/dma_entry_limit`. The default value in the kernel is `65535`.
7644
+ # Higher values may be needed for workloads mapping large memory regions.
7645
+ # Supported values are integers between `65535` and `4194304`.
7646
+ # Corresponds to the JSON property `dmaEntryLimit`
7647
+ # @return [Fixnum]
7648
+ attr_accessor :dma_entry_limit
7649
+
7650
+ def initialize(**args)
7651
+ update!(**args)
7652
+ end
7653
+
7654
+ # Update properties of this object
7655
+ def update!(**args)
7656
+ @dma_entry_limit = args[:dma_entry_limit] if args.key?(:dma_entry_limit)
7657
+ end
7658
+ end
7659
+
7504
7660
  # NotificationConfig is the configuration of notifications.
7505
7661
  class NotificationConfig
7506
7662
  include Google::Apis::Core::Hashable
@@ -8634,6 +8790,59 @@ module Google
8634
8790
  end
8635
8791
  end
8636
8792
 
8793
+ # RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
8794
+ class RollbackSafeUpgrade
8795
+ include Google::Apis::Core::Hashable
8796
+
8797
+ # Optional. A user-defined period for the cluster remains in the rollbackable
8798
+ # state. ex: `seconds: 21600`.
8799
+ # Corresponds to the JSON property `controlPlaneSoakDuration`
8800
+ # @return [String]
8801
+ attr_accessor :control_plane_soak_duration
8802
+
8803
+ def initialize(**args)
8804
+ update!(**args)
8805
+ end
8806
+
8807
+ # Update properties of this object
8808
+ def update!(**args)
8809
+ @control_plane_soak_duration = args[:control_plane_soak_duration] if args.key?(:control_plane_soak_duration)
8810
+ end
8811
+ end
8812
+
8813
+ # RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a
8814
+ # cluster.
8815
+ class RollbackSafeUpgradeStatus
8816
+ include Google::Apis::Core::Hashable
8817
+
8818
+ # Output only. The rollback-safe mode expiration time.
8819
+ # Corresponds to the JSON property `controlPlaneUpgradeRollbackEndTime`
8820
+ # @return [String]
8821
+ attr_accessor :control_plane_upgrade_rollback_end_time
8822
+
8823
+ # Output only. The mode of the rollback-safe upgrade.
8824
+ # Corresponds to the JSON property `mode`
8825
+ # @return [String]
8826
+ attr_accessor :mode
8827
+
8828
+ # Output only. The GKE version that the cluster previously used before step-one
8829
+ # upgrade.
8830
+ # Corresponds to the JSON property `previousVersion`
8831
+ # @return [String]
8832
+ attr_accessor :previous_version
8833
+
8834
+ def initialize(**args)
8835
+ update!(**args)
8836
+ end
8837
+
8838
+ # Update properties of this object
8839
+ def update!(**args)
8840
+ @control_plane_upgrade_rollback_end_time = args[:control_plane_upgrade_rollback_end_time] if args.key?(:control_plane_upgrade_rollback_end_time)
8841
+ @mode = args[:mode] if args.key?(:mode)
8842
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
8843
+ end
8844
+ end
8845
+
8637
8846
  # RotationConfig is config for secret manager auto rotation.
8638
8847
  class RotationConfig
8639
8848
  include Google::Apis::Core::Hashable
@@ -10092,8 +10301,12 @@ module Google
10092
10301
  end
10093
10302
  end
10094
10303
 
10095
- # TopologyManager defines the configuration options for Topology Manager feature.
10096
- # See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
10304
+ # TopologyManager defines the configuration options for the [`kubelet` Topology
10305
+ # Manager component](https://kubernetes.io/docs/tasks/administer-cluster/
10306
+ # topology-manager/). For more information about the supported machine types and
10307
+ # versions for the Topology Manager in GKE, see [Customizing node system
10308
+ # configuration](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/
10309
+ # node-system-config#kubelet-resource-managers).
10097
10310
  class TopologyManager
10098
10311
  include Google::Apis::Core::Hashable
10099
10312
 
@@ -10656,6 +10869,11 @@ module Google
10656
10869
  # @return [String]
10657
10870
  attr_accessor :end_time
10658
10871
 
10872
+ # Output only. The emulated version before the upgrade.
10873
+ # Corresponds to the JSON property `initialEmulatedVersion`
10874
+ # @return [String]
10875
+ attr_accessor :initial_emulated_version
10876
+
10659
10877
  # The version before the upgrade.
10660
10878
  # Corresponds to the JSON property `initialVersion`
10661
10879
  # @return [String]
@@ -10676,6 +10894,11 @@ module Google
10676
10894
  # @return [String]
10677
10895
  attr_accessor :state
10678
10896
 
10897
+ # Output only. The emulated version after the upgrade.
10898
+ # Corresponds to the JSON property `targetEmulatedVersion`
10899
+ # @return [String]
10900
+ attr_accessor :target_emulated_version
10901
+
10679
10902
  # The version after the upgrade.
10680
10903
  # Corresponds to the JSON property `targetVersion`
10681
10904
  # @return [String]
@@ -10688,10 +10911,12 @@ module Google
10688
10911
  # Update properties of this object
10689
10912
  def update!(**args)
10690
10913
  @end_time = args[:end_time] if args.key?(:end_time)
10914
+ @initial_emulated_version = args[:initial_emulated_version] if args.key?(:initial_emulated_version)
10691
10915
  @initial_version = args[:initial_version] if args.key?(:initial_version)
10692
10916
  @start_time = args[:start_time] if args.key?(:start_time)
10693
10917
  @start_type = args[:start_type] if args.key?(:start_type)
10694
10918
  @state = args[:state] if args.key?(:state)
10919
+ @target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
10695
10920
  @target_version = args[:target_version] if args.key?(:target_version)
10696
10921
  end
10697
10922
  end
@@ -10701,6 +10926,11 @@ module Google
10701
10926
  class UpgradeEvent
10702
10927
  include Google::Apis::Core::Hashable
10703
10928
 
10929
+ # Output only. The current emulated version before the upgrade.
10930
+ # Corresponds to the JSON property `currentEmulatedVersion`
10931
+ # @return [String]
10932
+ attr_accessor :current_emulated_version
10933
+
10704
10934
  # The current version before the upgrade.
10705
10935
  # Corresponds to the JSON property `currentVersion`
10706
10936
  # @return [String]
@@ -10727,6 +10957,11 @@ module Google
10727
10957
  # @return [String]
10728
10958
  attr_accessor :resource_type
10729
10959
 
10960
+ # Output only. The target emulated version for the upgrade.
10961
+ # Corresponds to the JSON property `targetEmulatedVersion`
10962
+ # @return [String]
10963
+ attr_accessor :target_emulated_version
10964
+
10730
10965
  # The target version for the upgrade.
10731
10966
  # Corresponds to the JSON property `targetVersion`
10732
10967
  # @return [String]
@@ -10738,11 +10973,13 @@ module Google
10738
10973
 
10739
10974
  # Update properties of this object
10740
10975
  def update!(**args)
10976
+ @current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
10741
10977
  @current_version = args[:current_version] if args.key?(:current_version)
10742
10978
  @operation = args[:operation] if args.key?(:operation)
10743
10979
  @operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
10744
10980
  @resource = args[:resource] if args.key?(:resource)
10745
10981
  @resource_type = args[:resource_type] if args.key?(:resource_type)
10982
+ @target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
10746
10983
  @target_version = args[:target_version] if args.key?(:target_version)
10747
10984
  end
10748
10985
  end
@@ -10752,6 +10989,11 @@ module Google
10752
10989
  class UpgradeInfoEvent
10753
10990
  include Google::Apis::Core::Hashable
10754
10991
 
10992
+ # Output only. The current emulated version before the upgrade.
10993
+ # Corresponds to the JSON property `currentEmulatedVersion`
10994
+ # @return [String]
10995
+ attr_accessor :current_emulated_version
10996
+
10755
10997
  # The current version before the upgrade.
10756
10998
  # Corresponds to the JSON property `currentVersion`
10757
10999
  # @return [String]
@@ -10814,6 +11056,11 @@ module Google
10814
11056
  # @return [String]
10815
11057
  attr_accessor :state
10816
11058
 
11059
+ # Output only. The target emulated version for the upgrade.
11060
+ # Corresponds to the JSON property `targetEmulatedVersion`
11061
+ # @return [String]
11062
+ attr_accessor :target_emulated_version
11063
+
10817
11064
  # The target version for the upgrade.
10818
11065
  # Corresponds to the JSON property `targetVersion`
10819
11066
  # @return [String]
@@ -10825,6 +11072,7 @@ module Google
10825
11072
 
10826
11073
  # Update properties of this object
10827
11074
  def update!(**args)
11075
+ @current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
10828
11076
  @current_version = args[:current_version] if args.key?(:current_version)
10829
11077
  @description = args[:description] if args.key?(:description)
10830
11078
  @disruption_event = args[:disruption_event] if args.key?(:disruption_event)
@@ -10837,6 +11085,7 @@ module Google
10837
11085
  @standard_support_end_time = args[:standard_support_end_time] if args.key?(:standard_support_end_time)
10838
11086
  @start_time = args[:start_time] if args.key?(:start_time)
10839
11087
  @state = args[:state] if args.key?(:state)
11088
+ @target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
10840
11089
  @target_version = args[:target_version] if args.key?(:target_version)
10841
11090
  end
10842
11091
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.117.0"
19
+ GEM_VERSION = "0.118.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260616"
25
+ REVISION = "20260630"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class CompleteControlPlaneUpgradeRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class CompleteIpRotationRequest
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -436,6 +442,12 @@ module Google
436
442
  include Google::Apis::Core::JsonObjectSupport
437
443
  end
438
444
 
445
+ class DiskIoScheduler
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
439
451
  class DisruptionBudget
440
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
453
 
@@ -688,6 +700,12 @@ module Google
688
700
  include Google::Apis::Core::JsonObjectSupport
689
701
  end
690
702
 
703
+ class KubeletCertInfo
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
691
709
  class KubernetesDashboard
692
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
711
 
@@ -1000,6 +1018,12 @@ module Google
1000
1018
  include Google::Apis::Core::JsonObjectSupport
1001
1019
  end
1002
1020
 
1021
+ class NodeVfioConfig
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1003
1027
  class NotificationConfig
1004
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1029
 
@@ -1204,6 +1228,18 @@ module Google
1204
1228
  include Google::Apis::Core::JsonObjectSupport
1205
1229
  end
1206
1230
 
1231
+ class RollbackSafeUpgrade
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1237
+ class RollbackSafeUpgradeStatus
1238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1239
+
1240
+ include Google::Apis::Core::JsonObjectSupport
1241
+ end
1242
+
1207
1243
  class RotationConfig
1208
1244
  class Representation < Google::Apis::Core::JsonRepresentation; end
1209
1245
 
@@ -1939,6 +1975,7 @@ module Google
1939
1975
  property :cost_management_config, as: 'costManagementConfig', class: Google::Apis::ContainerV1::CostManagementConfig, decorator: Google::Apis::ContainerV1::CostManagementConfig::Representation
1940
1976
 
1941
1977
  property :create_time, as: 'createTime'
1978
+ property :current_emulated_version, as: 'currentEmulatedVersion'
1942
1979
  property :current_master_version, as: 'currentMasterVersion'
1943
1980
  property :current_node_count, as: 'currentNodeCount'
1944
1981
  property :current_node_version, as: 'currentNodeVersion'
@@ -2023,6 +2060,8 @@ module Google
2023
2060
  hash :resource_labels, as: 'resourceLabels'
2024
2061
  property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
2025
2062
 
2063
+ property :rollback_safe_upgrade, as: 'rollbackSafeUpgrade', class: Google::Apis::ContainerV1::RollbackSafeUpgrade, decorator: Google::Apis::ContainerV1::RollbackSafeUpgrade::Representation
2064
+
2026
2065
  property :satisfies_pzi, as: 'satisfiesPzi'
2027
2066
  property :satisfies_pzs, as: 'satisfiesPzs'
2028
2067
  property :schedule_upgrade_config, as: 'scheduleUpgradeConfig', class: Google::Apis::ContainerV1::ScheduleUpgradeConfig, decorator: Google::Apis::ContainerV1::ScheduleUpgradeConfig::Representation
@@ -2126,6 +2165,7 @@ module Google
2126
2165
  property :desired_disable_l4_lb_firewall_reconciliation, as: 'desiredDisableL4LbFirewallReconciliation'
2127
2166
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
2128
2167
 
2168
+ property :desired_emulated_version, as: 'desiredEmulatedVersion'
2129
2169
  property :desired_enable_cilium_clusterwide_network_policy, as: 'desiredEnableCiliumClusterwideNetworkPolicy'
2130
2170
  property :desired_enable_fqdn_network_policy, as: 'desiredEnableFqdnNetworkPolicy'
2131
2171
  property :desired_enable_multi_networking, as: 'desiredEnableMultiNetworking'
@@ -2205,6 +2245,8 @@ module Google
2205
2245
 
2206
2246
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
2207
2247
 
2248
+ property :desired_rollback_safe_upgrade, as: 'desiredRollbackSafeUpgrade', class: Google::Apis::ContainerV1::RollbackSafeUpgrade, decorator: Google::Apis::ContainerV1::RollbackSafeUpgrade::Representation
2249
+
2208
2250
  property :desired_secret_manager_config, as: 'desiredSecretManagerConfig', class: Google::Apis::ContainerV1::SecretManagerConfig, decorator: Google::Apis::ContainerV1::SecretManagerConfig::Representation
2209
2251
 
2210
2252
  property :desired_secret_sync_config, as: 'desiredSecretSyncConfig', class: Google::Apis::ContainerV1::SecretSyncConfig, decorator: Google::Apis::ContainerV1::SecretSyncConfig::Representation
@@ -2243,11 +2285,20 @@ module Google
2243
2285
  property :minor_target_version, as: 'minorTargetVersion'
2244
2286
  property :patch_target_version, as: 'patchTargetVersion'
2245
2287
  collection :paused_reason, as: 'pausedReason'
2288
+ property :rollback_safe_upgrade_status, as: 'rollbackSafeUpgradeStatus', class: Google::Apis::ContainerV1::RollbackSafeUpgradeStatus, decorator: Google::Apis::ContainerV1::RollbackSafeUpgradeStatus::Representation
2289
+
2246
2290
  collection :upgrade_details, as: 'upgradeDetails', class: Google::Apis::ContainerV1::UpgradeDetails, decorator: Google::Apis::ContainerV1::UpgradeDetails::Representation
2247
2291
 
2248
2292
  end
2249
2293
  end
2250
2294
 
2295
+ class CompleteControlPlaneUpgradeRequest
2296
+ # @private
2297
+ class Representation < Google::Apis::Core::JsonRepresentation
2298
+ property :version, as: 'version'
2299
+ end
2300
+ end
2301
+
2251
2302
  class CompleteIpRotationRequest
2252
2303
  # @private
2253
2304
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2483,6 +2534,14 @@ module Google
2483
2534
  end
2484
2535
  end
2485
2536
 
2537
+ class DiskIoScheduler
2538
+ # @private
2539
+ class Representation < Google::Apis::Core::JsonRepresentation
2540
+ property :node_attached_disk_io_scheduler, as: 'nodeAttachedDiskIoScheduler'
2541
+ property :node_system_io_scheduler, as: 'nodeSystemIoScheduler'
2542
+ end
2543
+ end
2544
+
2486
2545
  class DisruptionBudget
2487
2546
  # @private
2488
2547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2875,6 +2934,14 @@ module Google
2875
2934
  end
2876
2935
  end
2877
2936
 
2937
+ class KubeletCertInfo
2938
+ # @private
2939
+ class Representation < Google::Apis::Core::JsonRepresentation
2940
+ property :non_tpm_bootstrap_cert_expire_time, as: 'nonTpmBootstrapCertExpireTime'
2941
+ property :tpm_bootstrap_cert_expire_time, as: 'tpmBootstrapCertExpireTime'
2942
+ end
2943
+ end
2944
+
2878
2945
  class KubernetesDashboard
2879
2946
  # @private
2880
2947
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2897,10 +2964,14 @@ module Google
2897
2964
  property :cgroup_mode, as: 'cgroupMode'
2898
2965
  property :custom_node_init, as: 'customNodeInit', class: Google::Apis::ContainerV1::CustomNodeInit, decorator: Google::Apis::ContainerV1::CustomNodeInit::Representation
2899
2966
 
2967
+ property :disk_io_scheduler, as: 'diskIoScheduler', class: Google::Apis::ContainerV1::DiskIoScheduler, decorator: Google::Apis::ContainerV1::DiskIoScheduler::Representation
2968
+
2900
2969
  property :hugepages, as: 'hugepages', class: Google::Apis::ContainerV1::HugepagesConfig, decorator: Google::Apis::ContainerV1::HugepagesConfig::Representation
2901
2970
 
2902
2971
  property :node_kernel_module_loading, as: 'nodeKernelModuleLoading', class: Google::Apis::ContainerV1::NodeKernelModuleLoading, decorator: Google::Apis::ContainerV1::NodeKernelModuleLoading::Representation
2903
2972
 
2973
+ property :node_vfio_config, as: 'nodeVfioConfig', class: Google::Apis::ContainerV1::NodeVfioConfig, decorator: Google::Apis::ContainerV1::NodeVfioConfig::Representation
2974
+
2904
2975
  property :swap_config, as: 'swapConfig', class: Google::Apis::ContainerV1::SwapConfig, decorator: Google::Apis::ContainerV1::SwapConfig::Representation
2905
2976
 
2906
2977
  hash :sysctls, as: 'sysctls'
@@ -3397,6 +3468,8 @@ module Google
3397
3468
  property :etag, as: 'etag'
3398
3469
  property :initial_node_count, as: 'initialNodeCount'
3399
3470
  collection :instance_group_urls, as: 'instanceGroupUrls'
3471
+ property :kubelet_cert_info, as: 'kubeletCertInfo', class: Google::Apis::ContainerV1::KubeletCertInfo, decorator: Google::Apis::ContainerV1::KubeletCertInfo::Representation
3472
+
3400
3473
  collection :locations, as: 'locations'
3401
3474
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::NodePoolMaintenancePolicy, decorator: Google::Apis::ContainerV1::NodePoolMaintenancePolicy::Representation
3402
3475
 
@@ -3516,6 +3589,13 @@ module Google
3516
3589
  end
3517
3590
  end
3518
3591
 
3592
+ class NodeVfioConfig
3593
+ # @private
3594
+ class Representation < Google::Apis::Core::JsonRepresentation
3595
+ property :dma_entry_limit, as: 'dmaEntryLimit'
3596
+ end
3597
+ end
3598
+
3519
3599
  class NotificationConfig
3520
3600
  # @private
3521
3601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3829,6 +3909,22 @@ module Google
3829
3909
  end
3830
3910
  end
3831
3911
 
3912
+ class RollbackSafeUpgrade
3913
+ # @private
3914
+ class Representation < Google::Apis::Core::JsonRepresentation
3915
+ property :control_plane_soak_duration, as: 'controlPlaneSoakDuration'
3916
+ end
3917
+ end
3918
+
3919
+ class RollbackSafeUpgradeStatus
3920
+ # @private
3921
+ class Representation < Google::Apis::Core::JsonRepresentation
3922
+ property :control_plane_upgrade_rollback_end_time, as: 'controlPlaneUpgradeRollbackEndTime'
3923
+ property :mode, as: 'mode'
3924
+ property :previous_version, as: 'previousVersion'
3925
+ end
3926
+ end
3927
+
3832
3928
  class RotationConfig
3833
3929
  # @private
3834
3930
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4328,10 +4424,12 @@ module Google
4328
4424
  # @private
4329
4425
  class Representation < Google::Apis::Core::JsonRepresentation
4330
4426
  property :end_time, as: 'endTime'
4427
+ property :initial_emulated_version, as: 'initialEmulatedVersion'
4331
4428
  property :initial_version, as: 'initialVersion'
4332
4429
  property :start_time, as: 'startTime'
4333
4430
  property :start_type, as: 'startType'
4334
4431
  property :state, as: 'state'
4432
+ property :target_emulated_version, as: 'targetEmulatedVersion'
4335
4433
  property :target_version, as: 'targetVersion'
4336
4434
  end
4337
4435
  end
@@ -4339,11 +4437,13 @@ module Google
4339
4437
  class UpgradeEvent
4340
4438
  # @private
4341
4439
  class Representation < Google::Apis::Core::JsonRepresentation
4440
+ property :current_emulated_version, as: 'currentEmulatedVersion'
4342
4441
  property :current_version, as: 'currentVersion'
4343
4442
  property :operation, as: 'operation'
4344
4443
  property :operation_start_time, as: 'operationStartTime'
4345
4444
  property :resource, as: 'resource'
4346
4445
  property :resource_type, as: 'resourceType'
4446
+ property :target_emulated_version, as: 'targetEmulatedVersion'
4347
4447
  property :target_version, as: 'targetVersion'
4348
4448
  end
4349
4449
  end
@@ -4351,6 +4451,7 @@ module Google
4351
4451
  class UpgradeInfoEvent
4352
4452
  # @private
4353
4453
  class Representation < Google::Apis::Core::JsonRepresentation
4454
+ property :current_emulated_version, as: 'currentEmulatedVersion'
4354
4455
  property :current_version, as: 'currentVersion'
4355
4456
  property :description, as: 'description'
4356
4457
  property :disruption_event, as: 'disruptionEvent', class: Google::Apis::ContainerV1::DisruptionEvent, decorator: Google::Apis::ContainerV1::DisruptionEvent::Representation
@@ -4364,6 +4465,7 @@ module Google
4364
4465
  property :standard_support_end_time, as: 'standardSupportEndTime'
4365
4466
  property :start_time, as: 'startTime'
4366
4467
  property :state, as: 'state'
4468
+ property :target_emulated_version, as: 'targetEmulatedVersion'
4367
4469
  property :target_version, as: 'targetVersion'
4368
4470
  end
4369
4471
  end
@@ -172,6 +172,41 @@ module Google
172
172
  execute_or_queue_command(command, &block)
173
173
  end
174
174
 
175
+ # CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing
176
+ # the step two upgrade for a specific cluster.
177
+ # @param [String] name
178
+ # Required. The name (project, location, cluster) of the cluster to complete
179
+ # upgrade. Specified in the format `projects/*/locations/*/clusters/*`.
180
+ # @param [Google::Apis::ContainerV1::CompleteControlPlaneUpgradeRequest] complete_control_plane_upgrade_request_object
181
+ # @param [String] fields
182
+ # Selector specifying which fields to include in a partial response.
183
+ # @param [String] quota_user
184
+ # Available to use for quota purposes for server-side applications. Can be any
185
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
186
+ # @param [Google::Apis::RequestOptions] options
187
+ # Request-specific options
188
+ #
189
+ # @yield [result, err] Result & error if block supplied
190
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
191
+ # @yieldparam err [StandardError] error object if request failed
192
+ #
193
+ # @return [Google::Apis::ContainerV1::Operation]
194
+ #
195
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
198
+ def complete_project_location_cluster_control_plane_upgrade(name, complete_control_plane_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
199
+ command = make_simple_command(:post, 'v1/{+name}:completeControlPlaneUpgrade', options)
200
+ command.request_representation = Google::Apis::ContainerV1::CompleteControlPlaneUpgradeRequest::Representation
201
+ command.request_object = complete_control_plane_upgrade_request_object
202
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
203
+ command.response_class = Google::Apis::ContainerV1::Operation
204
+ command.params['name'] = name unless name.nil?
205
+ command.query['fields'] = fields unless fields.nil?
206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
207
+ execute_or_queue_command(command, &block)
208
+ end
209
+
175
210
  # Completes master IP rotation.
176
211
  # @param [String] name
177
212
  # The name (project, location, cluster name) of the cluster to complete IP
@@ -1523,6 +1558,41 @@ module Google
1523
1558
  execute_or_queue_command(command, &block)
1524
1559
  end
1525
1560
 
1561
+ # CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing
1562
+ # the step two upgrade for a specific cluster.
1563
+ # @param [String] name
1564
+ # Required. The name (project, location, cluster) of the cluster to complete
1565
+ # upgrade. Specified in the format `projects/*/locations/*/clusters/*`.
1566
+ # @param [Google::Apis::ContainerV1::CompleteControlPlaneUpgradeRequest] complete_control_plane_upgrade_request_object
1567
+ # @param [String] fields
1568
+ # Selector specifying which fields to include in a partial response.
1569
+ # @param [String] quota_user
1570
+ # Available to use for quota purposes for server-side applications. Can be any
1571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1572
+ # @param [Google::Apis::RequestOptions] options
1573
+ # Request-specific options
1574
+ #
1575
+ # @yield [result, err] Result & error if block supplied
1576
+ # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
1577
+ # @yieldparam err [StandardError] error object if request failed
1578
+ #
1579
+ # @return [Google::Apis::ContainerV1::Operation]
1580
+ #
1581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1584
+ def complete_project_zone_cluster_control_plane_upgrade(name, complete_control_plane_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1585
+ command = make_simple_command(:post, 'v1/{+name}:completeControlPlaneUpgrade', options)
1586
+ command.request_representation = Google::Apis::ContainerV1::CompleteControlPlaneUpgradeRequest::Representation
1587
+ command.request_object = complete_control_plane_upgrade_request_object
1588
+ command.response_representation = Google::Apis::ContainerV1::Operation::Representation
1589
+ command.response_class = Google::Apis::ContainerV1::Operation
1590
+ command.params['name'] = name unless name.nil?
1591
+ command.query['fields'] = fields unless fields.nil?
1592
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1593
+ execute_or_queue_command(command, &block)
1594
+ end
1595
+
1526
1596
  # Completes master IP rotation.
1527
1597
  # @param [String] project_id
1528
1598
  # Deprecated. The Google Developers Console [project ID or project number](https:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.117.0
4
+ version: 0.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.117.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.118.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
62
62
  rdoc_options: []
63
63
  require_paths: