DiskConfig.fromJson constructor

DiskConfig.fromJson(
  1. Map json_
)

Implementation

DiskConfig.fromJson(core.Map json_)
    : this(
        bootDiskSizeGb: json_.containsKey('bootDiskSizeGb')
            ? json_['bootDiskSizeGb'] as core.int
            : null,
        bootDiskType: json_.containsKey('bootDiskType')
            ? json_['bootDiskType'] as core.String
            : null,
        localSsdInterface: json_.containsKey('localSsdInterface')
            ? json_['localSsdInterface'] as core.String
            : null,
        numLocalSsds: json_.containsKey('numLocalSsds')
            ? json_['numLocalSsds'] as core.int
            : null,
      );