toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (canIpForward != null) 'canIpForward': canIpForward!,
  if (description != null) 'description': description!,
  if (disk != null) 'disk': disk!,
  if (guestAccelerator != null) 'guestAccelerator': guestAccelerator!,
  if (keyRevocationActionType != null)
    'keyRevocationActionType': keyRevocationActionType!,
  if (labels != null) 'labels': labels!,
  if (machineType != null) 'machineType': machineType!,
  if (metadata != null) 'metadata': metadata!,
  if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!,
  if (networkInterface != null) 'networkInterface': networkInterface!,
  if (scheduling != null) 'scheduling': scheduling!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (sourceInstance != null) 'sourceInstance': sourceInstance!,
  if (tags != null) 'tags': tags!,
};