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 (bypassTempDirValidation != null)
        'bypassTempDirValidation': bypassTempDirValidation!,
      if (enableStreamingEngine != null)
        'enableStreamingEngine': enableStreamingEngine!,
      if (ipConfiguration != null) 'ipConfiguration': ipConfiguration!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (machineType != null) 'machineType': machineType!,
      if (maxWorkers != null) 'maxWorkers': maxWorkers!,
      if (network != null) 'network': network!,
      if (numWorkers != null) 'numWorkers': numWorkers!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      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!,
    };