class Google::Apis::ContainerV1::ClusterUpdate
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
Attributes
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. Corresponds to the JSON property `desiredAddonsConfig` @return [Google::Apis::ContainerV1::AddonsConfig]
The Kubernetes version to change the master to. The only valid value is the latest supported version. Use “-” to have the server automatically select the latest version. Corresponds to the JSON property `desiredMasterVersion` @return [String]
The monitoring service the cluster should use to write metrics. Currently available options: * “monitoring.googleapis.com” - the Google Cloud Monitoring service * “none” - no metrics will be exported from the cluster Corresponds to the JSON property `desiredMonitoringService` @return [String]
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server. Corresponds to the JSON property `desiredNodeVersion` @return [String]
Public Class Methods
# File generated/google/apis/container_v1/classes.rb, line 556 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/container_v1/classes.rb, line 561 def update!(**args) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) end