toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allPorts': ?allPorts,
    'allowGlobalAccess': ?allowGlobalAccess,
    'allowPscGlobalAccess': ?allowPscGlobalAccess,
    'backendService': ?backendService,
    'baseForwardingRule': ?baseForwardingRule,
    'creationTimestamp': ?creationTimestamp,
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'effectiveLabels': ?effectiveLabels,
    'forwardingRuleId': ?forwardingRuleId,
    'id': ?id,
    'ipAddress': ?ipAddress,
    'ipCollection': ?ipCollection,
    'ipProtocol': ?ipProtocol,
    'ipVersion': ?ipVersion,
    'isMirroringCollector': ?isMirroringCollector,
    'labelFingerprint': ?labelFingerprint,
    'labels': ?labels,
    'loadBalancingScheme': ?loadBalancingScheme,
    'name': ?name,
    'network': ?network,
    'networkTier': ?networkTier,
    'noAutomateDnsZone': ?noAutomateDnsZone,
    'portRange': ?portRange,
    'ports': ?ports,
    'project': ?project,
    'pscConnectionId': ?pscConnectionId,
    'pscConnectionStatus': ?pscConnectionStatus,
    'pulumiLabels': ?pulumiLabels,
    'recreateClosedPsc': ?recreateClosedPsc,
    'region': ?region,
    'selfLink': ?selfLink,
    'serviceDirectoryRegistrations': ?(() { final guardedValue = serviceDirectoryRegistrations; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetForwardingRuleServiceDirectoryRegistration, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'serviceLabel': ?serviceLabel,
    'serviceName': ?serviceName,
    'sourceIpRanges': ?sourceIpRanges,
    'subnetwork': ?subnetwork,
    'target': ?target,
  };
}