toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accessMode != null) 'accessMode': accessMode!,
  if (architecture != null) 'architecture': architecture!,
  if (description != null) 'description': description!,
  if (enableConfidentialCompute != null)
    'enableConfidentialCompute': enableConfidentialCompute!,
  if (guestOsFeature != null) 'guestOsFeature': guestOsFeature!,
  if (labels != null) 'labels': labels!,
  if (licenses != null) 'licenses': licenses!,
  if (physicalBlockSizeBytes != null)
    'physicalBlockSizeBytes': physicalBlockSizeBytes!,
  if (provisionedIops != null) 'provisionedIops': provisionedIops!,
  if (provisionedThroughput != null)
    'provisionedThroughput': provisionedThroughput!,
  if (region != null) 'region': region!,
  if (replicaZones != null) 'replicaZones': replicaZones!,
  if (sizeGb != null) 'sizeGb': sizeGb!,
  if (sourceDisk != null) 'sourceDisk': sourceDisk!,
  if (storagePool != null) 'storagePool': storagePool!,
  if (type != null) 'type': type!,
  if (zone != null) 'zone': zone!,
};