toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalPodRangesConfig != null)
        'additionalPodRangesConfig': additionalPodRangesConfig!,
      if (desiredAddonsConfig != null)
        'desiredAddonsConfig': desiredAddonsConfig!,
      if (desiredAuthenticatorGroupsConfig != null)
        'desiredAuthenticatorGroupsConfig': desiredAuthenticatorGroupsConfig!,
      if (desiredAutopilotWorkloadPolicyConfig != null)
        'desiredAutopilotWorkloadPolicyConfig':
            desiredAutopilotWorkloadPolicyConfig!,
      if (desiredBinaryAuthorization != null)
        'desiredBinaryAuthorization': desiredBinaryAuthorization!,
      if (desiredClusterAutoscaling != null)
        'desiredClusterAutoscaling': desiredClusterAutoscaling!,
      if (desiredCostManagementConfig != null)
        'desiredCostManagementConfig': desiredCostManagementConfig!,
      if (desiredDatabaseEncryption != null)
        'desiredDatabaseEncryption': desiredDatabaseEncryption!,
      if (desiredDatapathProvider != null)
        'desiredDatapathProvider': desiredDatapathProvider!,
      if (desiredDefaultSnatStatus != null)
        'desiredDefaultSnatStatus': desiredDefaultSnatStatus!,
      if (desiredDnsConfig != null) 'desiredDnsConfig': desiredDnsConfig!,
      if (desiredEnableCiliumClusterwideNetworkPolicy != null)
        'desiredEnableCiliumClusterwideNetworkPolicy':
            desiredEnableCiliumClusterwideNetworkPolicy!,
      if (desiredEnableFqdnNetworkPolicy != null)
        'desiredEnableFqdnNetworkPolicy': desiredEnableFqdnNetworkPolicy!,
      if (desiredEnablePrivateEndpoint != null)
        'desiredEnablePrivateEndpoint': desiredEnablePrivateEndpoint!,
      if (desiredFleet != null) 'desiredFleet': desiredFleet!,
      if (desiredGatewayApiConfig != null)
        'desiredGatewayApiConfig': desiredGatewayApiConfig!,
      if (desiredGcfsConfig != null) 'desiredGcfsConfig': desiredGcfsConfig!,
      if (desiredIdentityServiceConfig != null)
        'desiredIdentityServiceConfig': desiredIdentityServiceConfig!,
      if (desiredImageType != null) 'desiredImageType': desiredImageType!,
      if (desiredInTransitEncryptionConfig != null)
        'desiredInTransitEncryptionConfig': desiredInTransitEncryptionConfig!,
      if (desiredIntraNodeVisibilityConfig != null)
        'desiredIntraNodeVisibilityConfig': desiredIntraNodeVisibilityConfig!,
      if (desiredK8sBetaApis != null)
        'desiredK8sBetaApis': desiredK8sBetaApis!,
      if (desiredL4ilbSubsettingConfig != null)
        'desiredL4ilbSubsettingConfig': desiredL4ilbSubsettingConfig!,
      if (desiredLocations != null) 'desiredLocations': desiredLocations!,
      if (desiredLoggingConfig != null)
        'desiredLoggingConfig': desiredLoggingConfig!,
      if (desiredLoggingService != null)
        'desiredLoggingService': desiredLoggingService!,
      if (desiredMasterAuthorizedNetworksConfig != null)
        'desiredMasterAuthorizedNetworksConfig':
            desiredMasterAuthorizedNetworksConfig!,
      if (desiredMasterVersion != null)
        'desiredMasterVersion': desiredMasterVersion!,
      if (desiredMeshCertificates != null)
        'desiredMeshCertificates': desiredMeshCertificates!,
      if (desiredMonitoringConfig != null)
        'desiredMonitoringConfig': desiredMonitoringConfig!,
      if (desiredMonitoringService != null)
        'desiredMonitoringService': desiredMonitoringService!,
      if (desiredNetworkPerformanceConfig != null)
        'desiredNetworkPerformanceConfig': desiredNetworkPerformanceConfig!,
      if (desiredNodePoolAutoConfigNetworkTags != null)
        'desiredNodePoolAutoConfigNetworkTags':
            desiredNodePoolAutoConfigNetworkTags!,
      if (desiredNodePoolAutoConfigResourceManagerTags != null)
        'desiredNodePoolAutoConfigResourceManagerTags':
            desiredNodePoolAutoConfigResourceManagerTags!,
      if (desiredNodePoolAutoscaling != null)
        'desiredNodePoolAutoscaling': desiredNodePoolAutoscaling!,
      if (desiredNodePoolId != null) 'desiredNodePoolId': desiredNodePoolId!,
      if (desiredNodePoolLoggingConfig != null)
        'desiredNodePoolLoggingConfig': desiredNodePoolLoggingConfig!,
      if (desiredNodeVersion != null)
        'desiredNodeVersion': desiredNodeVersion!,
      if (desiredNotificationConfig != null)
        'desiredNotificationConfig': desiredNotificationConfig!,
      if (desiredParentProductConfig != null)
        'desiredParentProductConfig': desiredParentProductConfig!,
      if (desiredPrivateClusterConfig != null)
        'desiredPrivateClusterConfig': desiredPrivateClusterConfig!,
      if (desiredPrivateIpv6GoogleAccess != null)
        'desiredPrivateIpv6GoogleAccess': desiredPrivateIpv6GoogleAccess!,
      if (desiredReleaseChannel != null)
        'desiredReleaseChannel': desiredReleaseChannel!,
      if (desiredResourceUsageExportConfig != null)
        'desiredResourceUsageExportConfig': desiredResourceUsageExportConfig!,
      if (desiredSecurityPostureConfig != null)
        'desiredSecurityPostureConfig': desiredSecurityPostureConfig!,
      if (desiredServiceExternalIpsConfig != null)
        'desiredServiceExternalIpsConfig': desiredServiceExternalIpsConfig!,
      if (desiredShieldedNodes != null)
        'desiredShieldedNodes': desiredShieldedNodes!,
      if (desiredStackType != null) 'desiredStackType': desiredStackType!,
      if (desiredVerticalPodAutoscaling != null)
        'desiredVerticalPodAutoscaling': desiredVerticalPodAutoscaling!,
      if (desiredWorkloadIdentityConfig != null)
        'desiredWorkloadIdentityConfig': desiredWorkloadIdentityConfig!,
      if (enableK8sBetaApis != null) 'enableK8sBetaApis': enableK8sBetaApis!,
      if (etag != null) 'etag': etag!,
      if (removedAdditionalPodRangesConfig != null)
        'removedAdditionalPodRangesConfig': removedAdditionalPodRangesConfig!,
    };