toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accelerators != null) 'accelerators': accelerators!,
      if (bootDisk != null) 'bootDisk': bootDisk!,
      if (disks != null) 'disks': disks!,
      if (machineType != null) 'machineType': machineType!,
      if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!,
      if (provisioningModel != null) 'provisioningModel': provisioningModel!,
      if (reservation != null) 'reservation': reservation!,
    };