GceRegionalPersistentDisk.fromJson constructor

GceRegionalPersistentDisk.fromJson(
  1. Map json_
)

Implementation

GceRegionalPersistentDisk.fromJson(core.Map json_)
    : this(
        diskType: json_.containsKey('diskType')
            ? json_['diskType'] as core.String
            : null,
        fsType: json_.containsKey('fsType')
            ? json_['fsType'] as core.String
            : null,
        reclaimPolicy: json_.containsKey('reclaimPolicy')
            ? json_['reclaimPolicy'] as core.String
            : null,
        sizeGb:
            json_.containsKey('sizeGb') ? json_['sizeGb'] as core.int : null,
        sourceSnapshot: json_.containsKey('sourceSnapshot')
            ? json_['sourceSnapshot'] as core.String
            : null,
      );