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 Kubernetes 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.
|
BinaryAuthorization |
getDesiredBinaryAuthorization()
The desired configuration options for the Binary Authorization feature.
|
ClusterAutoscaling |
getDesiredClusterAutoscaling()
Cluster-level autoscaling configuration.
|
DatabaseEncryption |
getDesiredDatabaseEncryption()
Configuration of etcd encryption.
|
java.lang.String |
getDesiredImageType()
The desired image type for the node pool.
|
IntraNodeVisibilityConfig |
getDesiredIntraNodeVisibilityConfig()
The desired config of Intra-node visibility.
|
java.util.List<java.lang.String> |
getDesiredLocations()
The desired list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
cluster's nodes should be located.
|
java.lang.String |
getDesiredLoggingService()
The logging service the cluster should use to write metrics.
|
MasterAuthorizedNetworksConfig |
getDesiredMasterAuthorizedNetworksConfig()
The desired configuration options for master authorized networks feature.
|
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).
|
PodSecurityPolicyConfig |
getDesiredPodSecurityPolicyConfig()
The desired configuration options for the PodSecurityPolicy feature.
|
ResourceUsageExportConfig |
getDesiredResourceUsageExportConfig()
The desired configuration for exporting resource usage.
|
VerticalPodAutoscaling |
getDesiredVerticalPodAutoscaling()
Cluster-level Vertical Pod Autoscaling configuration.
|
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 |
setDesiredBinaryAuthorization(BinaryAuthorization desiredBinaryAuthorization)
The desired configuration options for the Binary Authorization feature.
|
ClusterUpdate |
setDesiredClusterAutoscaling(ClusterAutoscaling desiredClusterAutoscaling)
Cluster-level autoscaling configuration.
|
ClusterUpdate |
setDesiredDatabaseEncryption(DatabaseEncryption desiredDatabaseEncryption)
Configuration of etcd encryption.
|
ClusterUpdate |
setDesiredImageType(java.lang.String desiredImageType)
The desired image type for the node pool.
|
ClusterUpdate |
setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig)
The desired config of Intra-node visibility.
|
ClusterUpdate |
setDesiredLocations(java.util.List<java.lang.String> desiredLocations)
The desired list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
cluster's nodes should be located.
|
ClusterUpdate |
setDesiredLoggingService(java.lang.String desiredLoggingService)
The logging service the cluster should use to write metrics.
|
ClusterUpdate |
setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig)
The desired configuration options for master authorized networks feature.
|
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).
|
ClusterUpdate |
setDesiredPodSecurityPolicyConfig(PodSecurityPolicyConfig desiredPodSecurityPolicyConfig)
The desired configuration options for the PodSecurityPolicy feature.
|
ClusterUpdate |
setDesiredResourceUsageExportConfig(ResourceUsageExportConfig desiredResourceUsageExportConfig)
The desired configuration for exporting resource usage.
|
ClusterUpdate |
setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling desiredVerticalPodAutoscaling)
Cluster-level Vertical Pod Autoscaling configuration.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic AddonsConfig getDesiredAddonsConfig()
null for nonepublic ClusterUpdate setDesiredAddonsConfig(AddonsConfig desiredAddonsConfig)
desiredAddonsConfig - desiredAddonsConfig or null for nonepublic BinaryAuthorization getDesiredBinaryAuthorization()
null for nonepublic ClusterUpdate setDesiredBinaryAuthorization(BinaryAuthorization desiredBinaryAuthorization)
desiredBinaryAuthorization - desiredBinaryAuthorization or null for nonepublic ClusterAutoscaling getDesiredClusterAutoscaling()
null for nonepublic ClusterUpdate setDesiredClusterAutoscaling(ClusterAutoscaling desiredClusterAutoscaling)
desiredClusterAutoscaling - desiredClusterAutoscaling or null for nonepublic DatabaseEncryption getDesiredDatabaseEncryption()
null for nonepublic ClusterUpdate setDesiredDatabaseEncryption(DatabaseEncryption desiredDatabaseEncryption)
desiredDatabaseEncryption - desiredDatabaseEncryption or null for nonepublic java.lang.String getDesiredImageType()
null for nonepublic ClusterUpdate setDesiredImageType(java.lang.String desiredImageType)
desiredImageType - desiredImageType or null for nonepublic IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig()
null for nonepublic ClusterUpdate setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig)
desiredIntraNodeVisibilityConfig - desiredIntraNodeVisibilityConfig 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 getDesiredLoggingService()
null for nonepublic ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingService)
desiredLoggingService - desiredLoggingService or null for nonepublic MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig()
null for nonepublic ClusterUpdate setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig)
desiredMasterAuthorizedNetworksConfig - desiredMasterAuthorizedNetworksConfig 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 PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig()
null for nonepublic ClusterUpdate setDesiredPodSecurityPolicyConfig(PodSecurityPolicyConfig desiredPodSecurityPolicyConfig)
desiredPodSecurityPolicyConfig - desiredPodSecurityPolicyConfig or null for nonepublic ResourceUsageExportConfig getDesiredResourceUsageExportConfig()
null for nonepublic ClusterUpdate setDesiredResourceUsageExportConfig(ResourceUsageExportConfig desiredResourceUsageExportConfig)
desiredResourceUsageExportConfig - desiredResourceUsageExportConfig or null for nonepublic VerticalPodAutoscaling getDesiredVerticalPodAutoscaling()
null for nonepublic ClusterUpdate setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling desiredVerticalPodAutoscaling)
desiredVerticalPodAutoscaling - desiredVerticalPodAutoscaling 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