ComputeResource.fromJson constructor

ComputeResource.fromJson(
  1. Map json_
)

Implementation

ComputeResource.fromJson(core.Map json_)
    : this(
        bootDiskMib: json_.containsKey('bootDiskMib')
            ? json_['bootDiskMib'] as core.String
            : null,
        cpuMilli: json_.containsKey('cpuMilli')
            ? json_['cpuMilli'] as core.String
            : null,
        memoryMib: json_.containsKey('memoryMib')
            ? json_['memoryMib'] as core.String
            : null,
      );