public final class ClusterUpdate
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Container Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ClusterUpdate() |
| Modifier and Type | Method and Description |
|---|---|
ClusterUpdate |
clone() |
AddonsConfig |
getDesiredAddonsConfig()
Configurations for the various addons available to run in the cluster.
|
java.lang.String |
getDesiredImageType()
The desired image type for the node pool.
|
java.util.List<java.lang.String> |
getDesiredLocations()
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which
the cluster's nodes should be located.
|
java.lang.String |
getDesiredMasterVersion()
The Kubernetes version to change the master to.
|
java.lang.String |
getDesiredMonitoringService()
The monitoring service the cluster should use to write metrics.
|
NodePoolAutoscaling |
getDesiredNodePoolAutoscaling()
Autoscaler configuration for the node pool specified in desired_node_pool_id.
|
java.lang.String |
getDesiredNodePoolId()
The node pool to be upgraded.
|
java.lang.String |
getDesiredNodeVersion()
The Kubernetes version to change the nodes to (typically an upgrade).
|
ClusterUpdate |
set(java.lang.String fieldName,
java.lang.Object value) |
ClusterUpdate |
setDesiredAddonsConfig(AddonsConfig desiredAddonsConfig)
Configurations for the various addons available to run in the cluster.
|
ClusterUpdate |
setDesiredImageType(java.lang.String desiredImageType)
The desired image type for the node pool.
|
ClusterUpdate |
setDesiredLocations(java.util.List<java.lang.String> desiredLocations)
The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which
the cluster's nodes should be located.
|
ClusterUpdate |
setDesiredMasterVersion(java.lang.String desiredMasterVersion)
The Kubernetes version to change the master to.
|
ClusterUpdate |
setDesiredMonitoringService(java.lang.String desiredMonitoringService)
The monitoring service the cluster should use to write metrics.
|
ClusterUpdate |
setDesiredNodePoolAutoscaling(NodePoolAutoscaling desiredNodePoolAutoscaling)
Autoscaler configuration for the node pool specified in desired_node_pool_id.
|
ClusterUpdate |
setDesiredNodePoolId(java.lang.String desiredNodePoolId)
The node pool to be upgraded.
|
ClusterUpdate |
setDesiredNodeVersion(java.lang.String desiredNodeVersion)
The Kubernetes version to change the nodes to (typically an upgrade).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic AddonsConfig getDesiredAddonsConfig()
null for nonepublic ClusterUpdate setDesiredAddonsConfig(AddonsConfig desiredAddonsConfig)
desiredAddonsConfig - desiredAddonsConfig or null for nonepublic java.lang.String getDesiredImageType()
null for nonepublic ClusterUpdate setDesiredImageType(java.lang.String desiredImageType)
desiredImageType - desiredImageType or null for nonepublic java.util.List<java.lang.String> getDesiredLocations()
null for nonepublic ClusterUpdate setDesiredLocations(java.util.List<java.lang.String> desiredLocations)
desiredLocations - desiredLocations or null for nonepublic java.lang.String getDesiredMasterVersion()
null for nonepublic ClusterUpdate setDesiredMasterVersion(java.lang.String desiredMasterVersion)
desiredMasterVersion - desiredMasterVersion or null for nonepublic java.lang.String getDesiredMonitoringService()
null for nonepublic ClusterUpdate setDesiredMonitoringService(java.lang.String desiredMonitoringService)
desiredMonitoringService - desiredMonitoringService or null for nonepublic NodePoolAutoscaling getDesiredNodePoolAutoscaling()
null for nonepublic ClusterUpdate setDesiredNodePoolAutoscaling(NodePoolAutoscaling desiredNodePoolAutoscaling)
desiredNodePoolAutoscaling - desiredNodePoolAutoscaling or null for nonepublic java.lang.String getDesiredNodePoolId()
null for nonepublic ClusterUpdate setDesiredNodePoolId(java.lang.String desiredNodePoolId)
desiredNodePoolId - desiredNodePoolId or null for nonepublic java.lang.String getDesiredNodeVersion()
null for nonepublic ClusterUpdate setDesiredNodeVersion(java.lang.String desiredNodeVersion)
desiredNodeVersion - desiredNodeVersion or null for nonepublic ClusterUpdate set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ClusterUpdate clone()
clone in class com.google.api.client.json.GenericJson