ClusterUpdate.fromJson constructor
ClusterUpdate.fromJson(
- Map json_
Implementation
ClusterUpdate.fromJson(core.Map json_)
: this(
additionalPodRangesConfig:
json_.containsKey('additionalPodRangesConfig')
? AdditionalPodRangesConfig.fromJson(
json_['additionalPodRangesConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredAddonsConfig: json_.containsKey('desiredAddonsConfig')
? AddonsConfig.fromJson(json_['desiredAddonsConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredAuthenticatorGroupsConfig:
json_.containsKey('desiredAuthenticatorGroupsConfig')
? AuthenticatorGroupsConfig.fromJson(
json_['desiredAuthenticatorGroupsConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredAutopilotWorkloadPolicyConfig:
json_.containsKey('desiredAutopilotWorkloadPolicyConfig')
? WorkloadPolicyConfig.fromJson(
json_['desiredAutopilotWorkloadPolicyConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredBinaryAuthorization: json_
.containsKey('desiredBinaryAuthorization')
? BinaryAuthorization.fromJson(json_['desiredBinaryAuthorization']
as core.Map<core.String, core.dynamic>)
: null,
desiredClusterAutoscaling: json_
.containsKey('desiredClusterAutoscaling')
? ClusterAutoscaling.fromJson(json_['desiredClusterAutoscaling']
as core.Map<core.String, core.dynamic>)
: null,
desiredCostManagementConfig:
json_.containsKey('desiredCostManagementConfig')
? CostManagementConfig.fromJson(
json_['desiredCostManagementConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredDatabaseEncryption: json_
.containsKey('desiredDatabaseEncryption')
? DatabaseEncryption.fromJson(json_['desiredDatabaseEncryption']
as core.Map<core.String, core.dynamic>)
: null,
desiredDatapathProvider: json_.containsKey('desiredDatapathProvider')
? json_['desiredDatapathProvider'] as core.String
: null,
desiredDefaultSnatStatus:
json_.containsKey('desiredDefaultSnatStatus')
? DefaultSnatStatus.fromJson(json_['desiredDefaultSnatStatus']
as core.Map<core.String, core.dynamic>)
: null,
desiredDnsConfig: json_.containsKey('desiredDnsConfig')
? DNSConfig.fromJson(json_['desiredDnsConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredEnableCiliumClusterwideNetworkPolicy:
json_.containsKey('desiredEnableCiliumClusterwideNetworkPolicy')
? json_['desiredEnableCiliumClusterwideNetworkPolicy']
as core.bool
: null,
desiredEnableFqdnNetworkPolicy:
json_.containsKey('desiredEnableFqdnNetworkPolicy')
? json_['desiredEnableFqdnNetworkPolicy'] as core.bool
: null,
desiredEnablePrivateEndpoint:
json_.containsKey('desiredEnablePrivateEndpoint')
? json_['desiredEnablePrivateEndpoint'] as core.bool
: null,
desiredFleet: json_.containsKey('desiredFleet')
? Fleet.fromJson(
json_['desiredFleet'] as core.Map<core.String, core.dynamic>)
: null,
desiredGatewayApiConfig: json_.containsKey('desiredGatewayApiConfig')
? GatewayAPIConfig.fromJson(json_['desiredGatewayApiConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredGcfsConfig: json_.containsKey('desiredGcfsConfig')
? GcfsConfig.fromJson(json_['desiredGcfsConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredIdentityServiceConfig:
json_.containsKey('desiredIdentityServiceConfig')
? IdentityServiceConfig.fromJson(
json_['desiredIdentityServiceConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredImageType: json_.containsKey('desiredImageType')
? json_['desiredImageType'] as core.String
: null,
desiredInTransitEncryptionConfig:
json_.containsKey('desiredInTransitEncryptionConfig')
? json_['desiredInTransitEncryptionConfig'] as core.String
: null,
desiredIntraNodeVisibilityConfig:
json_.containsKey('desiredIntraNodeVisibilityConfig')
? IntraNodeVisibilityConfig.fromJson(
json_['desiredIntraNodeVisibilityConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredK8sBetaApis: json_.containsKey('desiredK8sBetaApis')
? K8sBetaAPIConfig.fromJson(json_['desiredK8sBetaApis']
as core.Map<core.String, core.dynamic>)
: null,
desiredL4ilbSubsettingConfig:
json_.containsKey('desiredL4ilbSubsettingConfig')
? ILBSubsettingConfig.fromJson(
json_['desiredL4ilbSubsettingConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredLocations: json_.containsKey('desiredLocations')
? (json_['desiredLocations'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
desiredLoggingConfig: json_.containsKey('desiredLoggingConfig')
? LoggingConfig.fromJson(json_['desiredLoggingConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredLoggingService: json_.containsKey('desiredLoggingService')
? json_['desiredLoggingService'] as core.String
: null,
desiredMasterAuthorizedNetworksConfig:
json_.containsKey('desiredMasterAuthorizedNetworksConfig')
? MasterAuthorizedNetworksConfig.fromJson(
json_['desiredMasterAuthorizedNetworksConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredMasterVersion: json_.containsKey('desiredMasterVersion')
? json_['desiredMasterVersion'] as core.String
: null,
desiredMeshCertificates: json_.containsKey('desiredMeshCertificates')
? MeshCertificates.fromJson(json_['desiredMeshCertificates']
as core.Map<core.String, core.dynamic>)
: null,
desiredMonitoringConfig: json_.containsKey('desiredMonitoringConfig')
? MonitoringConfig.fromJson(json_['desiredMonitoringConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredMonitoringService:
json_.containsKey('desiredMonitoringService')
? json_['desiredMonitoringService'] as core.String
: null,
desiredNetworkPerformanceConfig:
json_.containsKey('desiredNetworkPerformanceConfig')
? ClusterNetworkPerformanceConfig.fromJson(
json_['desiredNetworkPerformanceConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredNodePoolAutoConfigNetworkTags:
json_.containsKey('desiredNodePoolAutoConfigNetworkTags')
? NetworkTags.fromJson(
json_['desiredNodePoolAutoConfigNetworkTags']
as core.Map<core.String, core.dynamic>)
: null,
desiredNodePoolAutoConfigResourceManagerTags:
json_.containsKey('desiredNodePoolAutoConfigResourceManagerTags')
? ResourceManagerTags.fromJson(
json_['desiredNodePoolAutoConfigResourceManagerTags']
as core.Map<core.String, core.dynamic>)
: null,
desiredNodePoolAutoscaling: json_
.containsKey('desiredNodePoolAutoscaling')
? NodePoolAutoscaling.fromJson(json_['desiredNodePoolAutoscaling']
as core.Map<core.String, core.dynamic>)
: null,
desiredNodePoolId: json_.containsKey('desiredNodePoolId')
? json_['desiredNodePoolId'] as core.String
: null,
desiredNodePoolLoggingConfig:
json_.containsKey('desiredNodePoolLoggingConfig')
? NodePoolLoggingConfig.fromJson(
json_['desiredNodePoolLoggingConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredNodeVersion: json_.containsKey('desiredNodeVersion')
? json_['desiredNodeVersion'] as core.String
: null,
desiredNotificationConfig: json_
.containsKey('desiredNotificationConfig')
? NotificationConfig.fromJson(json_['desiredNotificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredParentProductConfig: json_
.containsKey('desiredParentProductConfig')
? ParentProductConfig.fromJson(json_['desiredParentProductConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredPrivateClusterConfig:
json_.containsKey('desiredPrivateClusterConfig')
? PrivateClusterConfig.fromJson(
json_['desiredPrivateClusterConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredPrivateIpv6GoogleAccess:
json_.containsKey('desiredPrivateIpv6GoogleAccess')
? json_['desiredPrivateIpv6GoogleAccess'] as core.String
: null,
desiredReleaseChannel: json_.containsKey('desiredReleaseChannel')
? ReleaseChannel.fromJson(json_['desiredReleaseChannel']
as core.Map<core.String, core.dynamic>)
: null,
desiredResourceUsageExportConfig:
json_.containsKey('desiredResourceUsageExportConfig')
? ResourceUsageExportConfig.fromJson(
json_['desiredResourceUsageExportConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredSecurityPostureConfig:
json_.containsKey('desiredSecurityPostureConfig')
? SecurityPostureConfig.fromJson(
json_['desiredSecurityPostureConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredServiceExternalIpsConfig:
json_.containsKey('desiredServiceExternalIpsConfig')
? ServiceExternalIPsConfig.fromJson(
json_['desiredServiceExternalIpsConfig']
as core.Map<core.String, core.dynamic>)
: null,
desiredShieldedNodes: json_.containsKey('desiredShieldedNodes')
? ShieldedNodes.fromJson(json_['desiredShieldedNodes']
as core.Map<core.String, core.dynamic>)
: null,
desiredStackType: json_.containsKey('desiredStackType')
? json_['desiredStackType'] as core.String
: null,
desiredVerticalPodAutoscaling:
json_.containsKey('desiredVerticalPodAutoscaling')
? VerticalPodAutoscaling.fromJson(
json_['desiredVerticalPodAutoscaling']
as core.Map<core.String, core.dynamic>)
: null,
desiredWorkloadIdentityConfig:
json_.containsKey('desiredWorkloadIdentityConfig')
? WorkloadIdentityConfig.fromJson(
json_['desiredWorkloadIdentityConfig']
as core.Map<core.String, core.dynamic>)
: null,
enableK8sBetaApis: json_.containsKey('enableK8sBetaApis')
? K8sBetaAPIConfig.fromJson(json_['enableK8sBetaApis']
as core.Map<core.String, core.dynamic>)
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
removedAdditionalPodRangesConfig:
json_.containsKey('removedAdditionalPodRangesConfig')
? AdditionalPodRangesConfig.fromJson(
json_['removedAdditionalPodRangesConfig']
as core.Map<core.String, core.dynamic>)
: null,
);