toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (acceleratorConfig != null) 'acceleratorConfig': acceleratorConfig!,
  if (bootImage != null) 'bootImage': bootImage!,
  if (containerImages != null) 'containerImages': containerImages!,
  if (dataDisk != null) 'dataDisk': dataDisk!,
  if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
  if (guestAttributes != null) 'guestAttributes': guestAttributes!,
  if (internalIpOnly != null) 'internalIpOnly': internalIpOnly!,
  if (labels != null) 'labels': labels!,
  if (machineType != null) 'machineType': machineType!,
  if (metadata != null) 'metadata': metadata!,
  if (network != null) 'network': network!,
  if (nicType != null) 'nicType': nicType!,
  if (reservedIpRange != null) 'reservedIpRange': reservedIpRange!,
  if (shieldedInstanceConfig != null)
    'shieldedInstanceConfig': shieldedInstanceConfig!,
  if (subnet != null) 'subnet': subnet!,
  if (tags != null) 'tags': tags!,
  if (zone != null) 'zone': zone!,
};