toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalExperiments != null)
        'additionalExperiments': additionalExperiments!,
      if (additionalUserLabels != null)
        'additionalUserLabels': additionalUserLabels!,
      if (autoscalingAlgorithm != null)
        'autoscalingAlgorithm': autoscalingAlgorithm!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (dumpHeapOnOom != null) 'dumpHeapOnOom': dumpHeapOnOom!,
      if (enableStreamingEngine != null)
        'enableStreamingEngine': enableStreamingEngine!,
      if (flexrsGoal != null) 'flexrsGoal': flexrsGoal!,
      if (ipConfiguration != null) 'ipConfiguration': ipConfiguration!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (launcherMachineType != null)
        'launcherMachineType': launcherMachineType!,
      if (machineType != null) 'machineType': machineType!,
      if (maxWorkers != null) 'maxWorkers': maxWorkers!,
      if (network != null) 'network': network!,
      if (numWorkers != null) 'numWorkers': numWorkers!,
      if (saveHeapDumpsToGcsPath != null)
        'saveHeapDumpsToGcsPath': saveHeapDumpsToGcsPath!,
      if (sdkContainerImage != null) 'sdkContainerImage': sdkContainerImage!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (stagingLocation != null) 'stagingLocation': stagingLocation!,
      if (subnetwork != null) 'subnetwork': subnetwork!,
      if (tempLocation != null) 'tempLocation': tempLocation!,
      if (workerRegion != null) 'workerRegion': workerRegion!,
      if (workerZone != null) 'workerZone': workerZone!,
      if (zone != null) 'zone': zone!,
    };