toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoscalingConfig != null) 'autoscalingConfig': autoscalingConfig!,
      if (auxiliaryNodeGroups != null)
        'auxiliaryNodeGroups': auxiliaryNodeGroups!,
      if (configBucket != null) 'configBucket': configBucket!,
      if (dataprocMetricConfig != null)
        'dataprocMetricConfig': dataprocMetricConfig!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (endpointConfig != null) 'endpointConfig': endpointConfig!,
      if (gceClusterConfig != null) 'gceClusterConfig': gceClusterConfig!,
      if (gkeClusterConfig != null) 'gkeClusterConfig': gkeClusterConfig!,
      if (initializationActions != null)
        'initializationActions': initializationActions!,
      if (lifecycleConfig != null) 'lifecycleConfig': lifecycleConfig!,
      if (masterConfig != null) 'masterConfig': masterConfig!,
      if (metastoreConfig != null) 'metastoreConfig': metastoreConfig!,
      if (secondaryWorkerConfig != null)
        'secondaryWorkerConfig': secondaryWorkerConfig!,
      if (securityConfig != null) 'securityConfig': securityConfig!,
      if (softwareConfig != null) 'softwareConfig': softwareConfig!,
      if (tempBucket != null) 'tempBucket': tempBucket!,
      if (workerConfig != null) 'workerConfig': workerConfig!,
    };