toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accelerators != null) 'accelerators': accelerators!,
      if (bootDiskKmsKey != null) 'bootDiskKmsKey': bootDiskKmsKey!,
      if (localSsdCount != null) 'localSsdCount': localSsdCount!,
      if (machineType != null) 'machineType': machineType!,
      if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!,
      if (preemptible != null) 'preemptible': preemptible!,
      if (spot != null) 'spot': spot!,
    };