toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (canIpForward != null) 'canIpForward': canIpForward!,
      if (deletionProtection != null)
        'deletionProtection': deletionProtection!,
      if (description != null) 'description': description!,
      if (disks != null) 'disks': disks!,
      if (guestAccelerators != null) 'guestAccelerators': guestAccelerators!,
      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 (networkInterfaces != null) 'networkInterfaces': networkInterfaces!,
      if (scheduling != null) 'scheduling': scheduling!,
      if (serviceAccounts != null) 'serviceAccounts': serviceAccounts!,
      if (tags != null) 'tags': tags!,
    };