toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'asPaths': pulumi.Input.encodeList<RouteAsPathResponseComputeV1, Map<String, dynamic>>(asPaths, (value) => value.toMap()),
    'creationTimestamp': creationTimestamp,
    'description': description,
    'destRange': destRange,
    'kind': kind,
    'name': name,
    'network': network,
    'nextHopGateway': nextHopGateway,
    'nextHopHub': nextHopHub,
    'nextHopIlb': nextHopIlb,
    'nextHopInstance': nextHopInstance,
    'nextHopIp': nextHopIp,
    'nextHopNetwork': nextHopNetwork,
    'nextHopPeering': nextHopPeering,
    'nextHopVpnTunnel': nextHopVpnTunnel,
    'priority': priority,
    'routeStatus': routeStatus,
    'routeType': routeType,
    'selfLink': selfLink,
    'tags': tags,
    'warnings': pulumi.Input.encodeList<RouteWarningsItemResponseComputeV1, Map<String, dynamic>>(warnings, (value) => value.toMap()),
  };
}